|
@@ -346,7 +346,11 @@
|
|
|
|
|
|
<sw-view-pdf ref="importRef1" @guanbi="handleQuery"> </sw-view-pdf>
|
|
<sw-view-pdf ref="importRef1" @guanbi="handleQuery"> </sw-view-pdf>
|
|
<qtsw-view-pdf ref="importRef" @guanbi="handleQuery" />
|
|
<qtsw-view-pdf ref="importRef" @guanbi="handleQuery" />
|
|
- <Supervise ref="superRef" @guanbi="handleQuery"></Supervise>
|
|
|
|
|
|
+ <Supervise
|
|
|
|
+ :showSub="showSub"
|
|
|
|
+ ref="superRef"
|
|
|
|
+ @guanbi="handleQuery"
|
|
|
|
+ ></Supervise>
|
|
<sealApplicational
|
|
<sealApplicational
|
|
ref="sealRef"
|
|
ref="sealRef"
|
|
@guanbi="handleQuery"
|
|
@guanbi="handleQuery"
|
|
@@ -377,7 +381,7 @@ import { getHandleList, currGenerWorkFlowInfo } from "@/api/liucheng/index";
|
|
import { getReceiveByWorkId } from "@/api/office/received";
|
|
import { getReceiveByWorkId } from "@/api/office/received";
|
|
import { getToken, getJToken } from "@/utils/auth";
|
|
import { getToken, getJToken } from "@/utils/auth";
|
|
import Cookies from "js-cookie";
|
|
import Cookies from "js-cookie";
|
|
-import Supervise from "@/views/liucheng/todowork/formView/Supervise.vue";
|
|
|
|
|
|
+import Supervise from "@/views/liucheng/todowork/formView/newSupervise.vue";
|
|
import sealApplicational from "@/views/liucheng/todowork/formView/sealApplicational.vue";
|
|
import sealApplicational from "@/views/liucheng/todowork/formView/sealApplicational.vue";
|
|
import contSeal from "@/views/liucheng/todowork/formView/contSeal.vue";
|
|
import contSeal from "@/views/liucheng/todowork/formView/contSeal.vue";
|
|
import carApproval from "@/views/liucheng/todowork/formView/carApproval.vue";
|
|
import carApproval from "@/views/liucheng/todowork/formView/carApproval.vue";
|
|
@@ -444,6 +448,7 @@ const data = reactive({
|
|
sortNum: null,
|
|
sortNum: null,
|
|
},
|
|
},
|
|
rules: {},
|
|
rules: {},
|
|
|
|
+ showSub: false,
|
|
});
|
|
});
|
|
|
|
|
|
const { queryParams, typeQueryParams, form, rules } = toRefs(data);
|
|
const { queryParams, typeQueryParams, form, rules } = toRefs(data);
|
|
@@ -469,97 +474,104 @@ function closeViewLeave() {
|
|
paperQiLinData.value = null;
|
|
paperQiLinData.value = null;
|
|
}
|
|
}
|
|
function openPdfViewer(rowData) {
|
|
function openPdfViewer(rowData) {
|
|
- currGenerWorkFlowInfo({ workID: rowData.workId, token: getJToken() }).then(
|
|
|
|
- (resdata) => {
|
|
|
|
- if (resdata.FK_Flow == "012") {
|
|
|
|
- getReceiveByWorkId(resdata.WorkID).then((response) => {
|
|
|
|
- nextTick(() => {
|
|
|
|
- proxy.$refs["importRef"].show(response.data, resdata, false);
|
|
|
|
|
|
+ console.log("rowData", rowData);
|
|
|
|
+ if (rowData.archiveFormNo == "016") {
|
|
|
|
+ proxy.$refs.superRef.showDetail1(rowData);
|
|
|
|
+ showSub.value = true;
|
|
|
|
+ } else {
|
|
|
|
+ currGenerWorkFlowInfo({ workID: rowData.workId, token: getJToken() }).then(
|
|
|
|
+ (resdata) => {
|
|
|
|
+ console.log("resdata", resdata);
|
|
|
|
+ if (resdata.FK_Flow == "012") {
|
|
|
|
+ getReceiveByWorkId(resdata.WorkID).then((response) => {
|
|
|
|
+ nextTick(() => {
|
|
|
|
+ proxy.$refs["importRef"].show(response.data, resdata, false);
|
|
|
|
+ });
|
|
});
|
|
});
|
|
- });
|
|
|
|
- } else if (resdata.FK_Flow == "003") {
|
|
|
|
- getReceiveByWorkId(resdata.WorkID).then((response) => {
|
|
|
|
- nextTick(() => {
|
|
|
|
- proxy.$refs["importRef1"].showdetal2(
|
|
|
|
- response.data,
|
|
|
|
- resdata,
|
|
|
|
- false,
|
|
|
|
|
|
+ } else if (resdata.FK_Flow == "003") {
|
|
|
|
+ getReceiveByWorkId(resdata.WorkID).then((response) => {
|
|
|
|
+ nextTick(() => {
|
|
|
|
+ proxy.$refs["importRef1"].showdetal2(
|
|
|
|
+ response.data,
|
|
|
|
+ resdata,
|
|
|
|
+ false,
|
|
|
|
+ "no"
|
|
|
|
+ );
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+ } else if (resdata.FK_Flow == "002") {
|
|
|
|
+ var agent = navigator.userAgent.toLowerCase();
|
|
|
|
+ if (agent.indexOf("windows") > -1) {
|
|
|
|
+ handleOpenAppReceived(
|
|
|
|
+ resdata.WorkID,
|
|
|
|
+ resdata.NodeName,
|
|
|
|
+ resdata.FK_Flow,
|
|
"no"
|
|
"no"
|
|
);
|
|
);
|
|
- });
|
|
|
|
- });
|
|
|
|
- } else if (resdata.FK_Flow == "002") {
|
|
|
|
- var agent = navigator.userAgent.toLowerCase();
|
|
|
|
- if (agent.indexOf("windows") > -1) {
|
|
|
|
- handleOpenAppReceived(
|
|
|
|
- resdata.WorkID,
|
|
|
|
- resdata.NodeName,
|
|
|
|
- resdata.FK_Flow,
|
|
|
|
- "no"
|
|
|
|
- );
|
|
|
|
- } else {
|
|
|
|
- handleOpenAppReceivedQiLin(resdata, "no");
|
|
|
|
- }
|
|
|
|
- } else if (resdata.FK_Flow == "005") {
|
|
|
|
- var agent = navigator.userAgent.toLowerCase();
|
|
|
|
- if (agent.indexOf("windows") > -1) {
|
|
|
|
- handleOpenAppReceived(
|
|
|
|
- resdata.WorkID,
|
|
|
|
- resdata.NodeName,
|
|
|
|
- resdata.FK_Flow
|
|
|
|
- );
|
|
|
|
- } else {
|
|
|
|
- handleOpenAppReceivedQiLin(resdata);
|
|
|
|
- }
|
|
|
|
- } else if (resdata.FK_Flow == "008") {
|
|
|
|
- var agent = navigator.userAgent.toLowerCase();
|
|
|
|
- if (agent.indexOf("windows") > -1) {
|
|
|
|
- this.handleOpenAppReceived1(
|
|
|
|
- resdata.WorkID,
|
|
|
|
- resdata.NodeName,
|
|
|
|
- resdata.FK_Flow
|
|
|
|
- );
|
|
|
|
- } else {
|
|
|
|
- handleOpenAppPaperQiLin1(resdata);
|
|
|
|
|
|
+ } else {
|
|
|
|
+ handleOpenAppReceivedQiLin(resdata, "no");
|
|
|
|
+ }
|
|
|
|
+ } else if (resdata.FK_Flow == "005") {
|
|
|
|
+ var agent = navigator.userAgent.toLowerCase();
|
|
|
|
+ if (agent.indexOf("windows") > -1) {
|
|
|
|
+ handleOpenAppReceived(
|
|
|
|
+ resdata.WorkID,
|
|
|
|
+ resdata.NodeName,
|
|
|
|
+ resdata.FK_Flow
|
|
|
|
+ );
|
|
|
|
+ } else {
|
|
|
|
+ handleOpenAppReceivedQiLin(resdata);
|
|
|
|
+ }
|
|
|
|
+ } else if (resdata.FK_Flow == "008") {
|
|
|
|
+ var agent = navigator.userAgent.toLowerCase();
|
|
|
|
+ if (agent.indexOf("windows") > -1) {
|
|
|
|
+ this.handleOpenAppReceived1(
|
|
|
|
+ resdata.WorkID,
|
|
|
|
+ resdata.NodeName,
|
|
|
|
+ resdata.FK_Flow
|
|
|
|
+ );
|
|
|
|
+ } else {
|
|
|
|
+ handleOpenAppPaperQiLin1(resdata);
|
|
|
|
+ }
|
|
|
|
+ } else if (resdata.FK_Flow == "006") {
|
|
|
|
+ proxy.$refs.tripRef.showDetail1(resdata);
|
|
|
|
+ proxy.$refs.tripRef.closeSendNext();
|
|
|
|
+ } else if (resdata.FK_Flow == "007") {
|
|
|
|
+ proxy.$refs.teacherRef.showDetail1(resdata);
|
|
|
|
+ proxy.$refs.teacherRef.closeSendNext();
|
|
|
|
+ } else if (data.FK_Flow == "009") {
|
|
|
|
+ leaveDialog.value = true;
|
|
|
|
+ showTable.value = true;
|
|
|
|
+ WorkId.value = data.WorkID;
|
|
|
|
+ trueLeave.value = true;
|
|
|
|
+ FKNode1.value = data.FK_Node;
|
|
|
|
+ FK_Flow.value = data.FK_Flow;
|
|
|
|
+ nodeName.value = data.NodeName;
|
|
|
|
+ } else if (data.FK_Flow == "010") {
|
|
|
|
+ InfoDialog.value = true;
|
|
|
|
+ WorkId1.value = data.WorkID;
|
|
|
|
+ showcolumn.value = true;
|
|
|
|
+ FK_Flow.value = data.FK_Flow;
|
|
|
|
+ nodeName.value = data.NodeName;
|
|
|
|
+ } else if (data.FK_Flow == "015") {
|
|
|
|
+ proxy.$refs.carRef.showDetail1(data);
|
|
|
|
+ proxy.$refs.carRef.closeSendNext();
|
|
|
|
+ } else if (data.FK_Flow == "020") {
|
|
|
|
+ proxy.$refs.workRef.showDetail1(data);
|
|
|
|
+ proxy.$refs.workRef.closeSendNext();
|
|
|
|
+ } else if (data.FK_Flow == "016") {
|
|
|
|
+ // proxy.$refs.superRef.showDetail1(data);
|
|
|
|
+ // proxy.$refs.superRef.closeSendNext();
|
|
|
|
+ } else if (data.FK_Flow == "017") {
|
|
|
|
+ proxy.$refs.sealRef.showDetail1(data);
|
|
|
|
+ proxy.$refs.sealRef.closeSendNext();
|
|
|
|
+ } else if (data.FK_Flow == "018") {
|
|
|
|
+ proxy.$refs.contSealRef.showDetail1(data);
|
|
|
|
+ proxy.$refs.contSealRef.closeSendNext();
|
|
}
|
|
}
|
|
- } else if (resdata.FK_Flow == "006") {
|
|
|
|
- proxy.$refs.tripRef.showDetail1(resdata);
|
|
|
|
- proxy.$refs.tripRef.closeSendNext();
|
|
|
|
- } else if (resdata.FK_Flow == "007") {
|
|
|
|
- proxy.$refs.teacherRef.showDetail1(resdata);
|
|
|
|
- proxy.$refs.teacherRef.closeSendNext();
|
|
|
|
- } else if (data.FK_Flow == "009") {
|
|
|
|
- leaveDialog.value = true;
|
|
|
|
- showTable.value = true;
|
|
|
|
- WorkId.value = data.WorkID;
|
|
|
|
- trueLeave.value = true;
|
|
|
|
- FKNode1.value = data.FK_Node;
|
|
|
|
- FK_Flow.value = data.FK_Flow;
|
|
|
|
- nodeName.value = data.NodeName;
|
|
|
|
- } else if (data.FK_Flow == "010") {
|
|
|
|
- InfoDialog.value = true;
|
|
|
|
- WorkId1.value = data.WorkID;
|
|
|
|
- showcolumn.value = true;
|
|
|
|
- FK_Flow.value = data.FK_Flow;
|
|
|
|
- nodeName.value = data.NodeName;
|
|
|
|
- } else if (data.FK_Flow == "015") {
|
|
|
|
- proxy.$refs.carRef.showDetail1(data);
|
|
|
|
- proxy.$refs.carRef.closeSendNext();
|
|
|
|
- } else if (data.FK_Flow == "020") {
|
|
|
|
- proxy.$refs.workRef.showDetail1(data);
|
|
|
|
- proxy.$refs.workRef.closeSendNext();
|
|
|
|
- } else if (data.FK_Flow == "016") {
|
|
|
|
- proxy.$refs.superRef.showDetail1(data);
|
|
|
|
- proxy.$refs.superRef.closeSendNext();
|
|
|
|
- } else if (data.FK_Flow == "017") {
|
|
|
|
- proxy.$refs.sealRef.showDetail1(data);
|
|
|
|
- proxy.$refs.sealRef.closeSendNext();
|
|
|
|
- } else if (data.FK_Flow == "018") {
|
|
|
|
- proxy.$refs.contSealRef.showDetail1(data);
|
|
|
|
- proxy.$refs.contSealRef.closeSendNext();
|
|
|
|
}
|
|
}
|
|
- }
|
|
|
|
- );
|
|
|
|
|
|
+ );
|
|
|
|
+ }
|
|
}
|
|
}
|
|
//麒麟(论文)
|
|
//麒麟(论文)
|
|
function handleOpenAppPaperQiLin1(data, nowShow) {
|
|
function handleOpenAppPaperQiLin1(data, nowShow) {
|