微调
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
<template>
|
||||
<TableHeader area datePicker nextFlag theCurrentTime showTimeAll ref="TableHeaderRef" showExport>
|
||||
<template #select>
|
||||
<el-form-item label="流程状态">
|
||||
<el-select v-model="tableStore.table.params.status" clearable placeholder="请选择流程状态">
|
||||
<el-option
|
||||
v-for="item in statusSelect"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template #operation>
|
||||
<el-button icon="el-icon-Delete" type="primary" @click="deleteEven">删除</el-button>
|
||||
</template>
|
||||
@@ -27,6 +39,18 @@ const { push } = useRouter()
|
||||
const tableRef = ref()
|
||||
const TableHeaderRef = ref()
|
||||
const feedbackPopup = ref()
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
|
||||
|
||||
const statusSelect = [
|
||||
{ name: '待提交审批', id: 0 },
|
||||
{ name: '审批中', id: 1 },
|
||||
{ name: '审批通过', id: 2 },
|
||||
{ name: '审批不通过', id: 3 },
|
||||
{ name: '已取消', id: 4 },
|
||||
{ name: '新增', id: 5 }
|
||||
]
|
||||
|
||||
const tableStore = new TableStore({
|
||||
url: '/supervision-boot/warningLeaflet/warningPageData',
|
||||
publicHeight: 65,
|
||||
@@ -123,8 +147,12 @@ const tableStore = new TableStore({
|
||||
icon: 'el-icon-EditPen',
|
||||
render: 'basicButton',
|
||||
disabled: row => {
|
||||
return row.problemType != 2
|
||||
if (VITE_FLAG) {
|
||||
return row.problemType != 2;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
||||
click: row => {
|
||||
const match = row.filePath.match(/excelreport(\/[^?#]*)/)
|
||||
|
||||
@@ -287,7 +315,7 @@ const tableStore = new TableStore({
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
tableStore.table.params.status = ''
|
||||
provide('tableStore', tableStore)
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user