|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>删除</span>
|
|
|
|
|
<span>提交审核</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
|
<a-popconfirm title="确定提交审核吗?" @confirm="handleApply" ok-text="是" cancel-text="否">
|
|
|
|
@ -39,7 +39,7 @@
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>删除</span>
|
|
|
|
|
<span>撤销审核</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
|
<a-popconfirm title="确定撤销审核吗?" @confirm="handleWithdraw" ok-text="是" cancel-text="否">
|
|
|
|
@ -76,8 +76,9 @@
|
|
|
|
|
<span v-else>{{ record.currency }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.dataIndex == 'applicationNO'">
|
|
|
|
|
<span style="cursor: pointer"><span><span @click="copyNo($event, record.applicationNO)" class="iconfont icon-fuzhi11"></span>{{ record.applicationNO }}</span></span>
|
|
|
|
|
</template>
|
|
|
|
|
<span style="cursor: pointer"><span><span @click="copyNo($event, record.applicationNO)"
|
|
|
|
|
class="iconfont icon-fuzhi11"></span>{{ record.applicationNO }}</span></span>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.dataIndex == 'statusText'">
|
|
|
|
|
<span v-if="record.status == 0" class="ds-blue-tag">
|
|
|
|
|
{{ record.statusText }}</span>
|
|
|
|
@ -125,7 +126,7 @@ import { formatParams } from '/@/hooks/web/common'
|
|
|
|
|
import { useAppStore } from '/@/store/modules/app'
|
|
|
|
|
const appStore = useAppStore()
|
|
|
|
|
// 表格
|
|
|
|
|
const [registerTable, { reload, getPaginationRef, getSelectRows, getRawDataSource }] = useTable({
|
|
|
|
|
const [registerTable, { reload, getForm, getSelectRows, getRawDataSource }] = useTable({
|
|
|
|
|
title: '',
|
|
|
|
|
api: async (p) => {
|
|
|
|
|
const res: API.DataResult = await GetList(p)
|
|
|
|
@ -135,7 +136,23 @@ const [registerTable, { reload, getPaginationRef, getSelectRows, getRawDataSourc
|
|
|
|
|
},
|
|
|
|
|
// 请求前的参数格式化
|
|
|
|
|
beforeFetch: (p) => {
|
|
|
|
|
return formatParams(p)
|
|
|
|
|
const data = formatParams(p)
|
|
|
|
|
data.otherQueryCondition = {}
|
|
|
|
|
if (getForm().getFieldsValue().number) {
|
|
|
|
|
data.otherQueryCondition.number = getForm().getFieldsValue().number
|
|
|
|
|
}
|
|
|
|
|
let queryData1 = [] as any
|
|
|
|
|
if (formatParams(p).queryCondition) {
|
|
|
|
|
queryData1 = JSON.parse(formatParams(p).queryCondition)
|
|
|
|
|
}
|
|
|
|
|
let i = queryData1.length
|
|
|
|
|
while (i--) {
|
|
|
|
|
if (queryData1[i].FieldName === 'number') {
|
|
|
|
|
queryData1.splice(i, 1)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
data.queryCondition = JSON.stringify(queryData1)
|
|
|
|
|
return data
|
|
|
|
|
},
|
|
|
|
|
columns,
|
|
|
|
|
formConfig: {
|
|
|
|
@ -154,7 +171,7 @@ const [registerTable, { reload, getPaginationRef, getSelectRows, getRawDataSourc
|
|
|
|
|
indexColumnProps: {
|
|
|
|
|
width: 60,
|
|
|
|
|
},
|
|
|
|
|
id:'44',
|
|
|
|
|
id: '44',
|
|
|
|
|
canResize: true,
|
|
|
|
|
immediate: true,
|
|
|
|
|
actionColumn: {
|
|
|
|
@ -173,10 +190,10 @@ function GoDetailed(type, data) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const copyNo = (e, v) => {
|
|
|
|
|
e.stopPropagation()
|
|
|
|
|
navigator.clipboard.writeText(v)
|
|
|
|
|
createMessage.success("复制成功")
|
|
|
|
|
}
|
|
|
|
|
e.stopPropagation()
|
|
|
|
|
navigator.clipboard.writeText(v)
|
|
|
|
|
createMessage.success("复制成功")
|
|
|
|
|
}
|
|
|
|
|
// 删除
|
|
|
|
|
function FnDel() {
|
|
|
|
|
let ids = []
|
|
|
|
|