pull/480/head
parent
e2530a1215
commit
472aceb4a0
|
|
@ -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) // 弹窗的是否展示
|
||||
|
|
|
|||
Loading…
Reference in New Issue