|
|
|
@ -21,6 +21,7 @@ const loading = ref(false);
|
|
|
|
|
const seachForm = reactive({
|
|
|
|
|
title: "",
|
|
|
|
|
submittedDeptId: "",
|
|
|
|
|
publishDeptId: "",
|
|
|
|
|
processStatus: "1",
|
|
|
|
|
baseId: "",
|
|
|
|
|
publishDateBegin: "",
|
|
|
|
@ -120,11 +121,7 @@ const columns: TableColumnList = [
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
const router = useRouter();
|
|
|
|
|
const dataList = ref([
|
|
|
|
|
{
|
|
|
|
|
title: "企业职工退休网上办理"
|
|
|
|
|
}
|
|
|
|
|
]);
|
|
|
|
|
const dataList = ref([]);
|
|
|
|
|
const getData = async () => {
|
|
|
|
|
if (seachForm.time && seachForm.time.length > 0) {
|
|
|
|
|
seachForm.publishDateBegin = seachForm.time[0];
|
|
|
|
@ -159,23 +156,25 @@ const search = () => {
|
|
|
|
|
|
|
|
|
|
const reset = () => {
|
|
|
|
|
clearObject(seachForm);
|
|
|
|
|
seachForm.processStatus = "1";
|
|
|
|
|
search();
|
|
|
|
|
};
|
|
|
|
|
const handleCommand = command => {
|
|
|
|
|
console.log("Command", command);
|
|
|
|
|
};
|
|
|
|
|
// const handleCommand = command => {
|
|
|
|
|
// console.log("Command", command);
|
|
|
|
|
// };
|
|
|
|
|
const changeStatus = item => {
|
|
|
|
|
seachForm.processStatus = item.id;
|
|
|
|
|
search();
|
|
|
|
|
};
|
|
|
|
|
const add = () => {
|
|
|
|
|
router.push("/knowledgeCentre/addSubmission");
|
|
|
|
|
};
|
|
|
|
|
const openRecords = row => {
|
|
|
|
|
TransferRecordRef.value.open(row.id, row.title);
|
|
|
|
|
if (seachForm.processStatus === "1") {
|
|
|
|
|
TransferRecordRef.value.open(row.knowledgeId, row.title);
|
|
|
|
|
} else {
|
|
|
|
|
TransferRecordRef.value.openApproval(row);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const openDetails = row => {
|
|
|
|
|
DetailsRef.value.open(row);
|
|
|
|
|
DetailsRef.value.open(row.knowledgeId);
|
|
|
|
|
};
|
|
|
|
|
const getDepartmentList = async () => {
|
|
|
|
|
const res: any = await queryDeptManageList({
|
|
|
|
@ -247,12 +246,12 @@ onMounted(() => {
|
|
|
|
|
<el-input size="large" v-model="seachForm.title" /> </el-form-item
|
|
|
|
|
></el-col>
|
|
|
|
|
<el-col :span="8"
|
|
|
|
|
><el-form-item label="报送人部门">
|
|
|
|
|
><el-form-item label="发文部门">
|
|
|
|
|
<el-select
|
|
|
|
|
size="large"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
filterable
|
|
|
|
|
v-model="seachForm.submittedDeptId"
|
|
|
|
|
v-model="seachForm.publishDeptId"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
@ -263,6 +262,7 @@ onMounted(() => {
|
|
|
|
|
/>
|
|
|
|
|
</el-select> </el-form-item
|
|
|
|
|
></el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="8"
|
|
|
|
|
><el-form-item label="应用子库">
|
|
|
|
|
<el-select
|
|
|
|
@ -282,6 +282,23 @@ onMounted(() => {
|
|
|
|
|
></el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8"
|
|
|
|
|
><el-form-item label="报送人部门">
|
|
|
|
|
<el-select
|
|
|
|
|
size="large"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
filterable
|
|
|
|
|
v-model="seachForm.submittedDeptId"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in departmentList"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:label="item.deptName"
|
|
|
|
|
:value="item.id"
|
|
|
|
|
/>
|
|
|
|
|
</el-select> </el-form-item
|
|
|
|
|
></el-col>
|
|
|
|
|
<el-col :span="8"
|
|
|
|
|
><el-form-item label="审核类型">
|
|
|
|
|
<el-select
|
|
|
|
@ -351,10 +368,20 @@ onMounted(() => {
|
|
|
|
|
@page-current-change="handleCurrentChange"
|
|
|
|
|
>
|
|
|
|
|
<template #operation="{ row }">
|
|
|
|
|
<el-button link type="primary" @click="openApproval(row)">
|
|
|
|
|
<el-button
|
|
|
|
|
v-if="seachForm.processStatus === '1'"
|
|
|
|
|
link
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="openApproval(row)"
|
|
|
|
|
>
|
|
|
|
|
审批
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button link type="primary" @click="openRejectApproval(row)">
|
|
|
|
|
<el-button
|
|
|
|
|
v-if="seachForm.processStatus === '1'"
|
|
|
|
|
link
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="openRejectApproval(row)"
|
|
|
|
|
>
|
|
|
|
|
驳回
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button link type="primary" @click="openRecords(row)">
|
|
|
|
|