pull/480/head
Zeyi Liu 2024-07-02 23:25:49 +08:00
parent e2530a1215
commit 472aceb4a0
1 changed files with 26 additions and 3 deletions

View File

@ -122,7 +122,11 @@
:formatter="dateFormatter"
width="180px"
/>
<el-table-column label="状态" align="center" prop="state" width="150" />
<el-table-column label="状态" align="center" prop="state" width="150">
<template #default="scope">
{{ stateMap[scope.row.state] }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="280">
<template #default="scope">
<el-button
@ -145,13 +149,26 @@
link
type="primary"
@click="generateDoc(scope.row.id,scope.row.name)"
v-hasPermi="['patents:main:generateDoc']"
>
成文
</el-button>
<el-button link type="primary" @click="handlePresenting(scope.row.id)" v-if="scope.row.state == '1' || scope.row.state == '3'">
<el-button
link
type="primary"
@click="handlePresenting(scope.row.id)"
v-if="scope.row.state == '1' || scope.row.state == '3'"
v-hasPermi="['patents:main:present']"
>
提报
</el-button>
<el-button link type="primary" @click="handleauditPatent(scope.row.id)" v-if="scope.row.state == '2'">
<el-button
link
type="primary"
@click="handleauditPatent(scope.row.id)"
v-if="scope.row.state == '2'"
v-hasPermi="['patents:main:audit']"
>
审核
</el-button>
<el-button link type="primary" @click="handleRecord(scope.row.id)"
@ -245,6 +262,12 @@ const queryParams = reactive({
legalStatus: undefined,
createTime: [],
})
const stateMap = {
"1": "新建",
"2": "审核中",
"3": "审核驳回",
"4": "审核完成"
};
const queryFormRef = ref() //
const exportLoading = ref(false) //
const dialogVisible1 = ref(false) //