diff --git a/package-lock.json b/package-lock.json index d3ff2e343..f17909ff8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2665,7 +2665,7 @@ }, "@popperjs/core": { "version": "2.11.0", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.0.tgz", + "resolved": "https://registry.npmmirror.com/@popperjs/core/download/@popperjs/core-2.11.0.tgz", "integrity": "sha512-zrsUxjLOKAzdewIDRWy9nsV1GQsKBCWaGwsZQlCgr6/q+vjyZhFgqedLfFBuI9anTPEUT4APq9Mu0SZBTzIcGQ==" }, "@probe.gl/stats": { @@ -6563,6 +6563,11 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, + "copy-text-to-clipboard": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/copy-text-to-clipboard/-/copy-text-to-clipboard-3.0.1.tgz", + "integrity": "sha512-rvVsHrpFcL4F2P8ihsoLdFHmd404+CMg71S756oRSeQgqk51U3kicGdnvfkrxva0xXH92SjGS62B0XIJsbh+9Q==" + }, "core-js": { "version": "3.8.3", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.8.3.tgz", @@ -10385,6 +10390,11 @@ "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", "dev": true }, + "mutation-observer": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/mutation-observer/-/mutation-observer-1.0.3.tgz", + "integrity": "sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA==" + }, "mz": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", @@ -13490,6 +13500,37 @@ "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", "dev": true }, + "vconsole": { + "version": "3.14.5", + "resolved": "https://registry.npmmirror.com/vconsole/-/vconsole-3.14.5.tgz", + "integrity": "sha512-ZfBsaRloRU7eJXH2z2YiNSF5Yb7AblwdPx0c8YcT/RO0ShqfUGrDqRuAmysfLUO+oJ8fC+ZPTgB4r5+rr6msQw==", + "requires": { + "@babel/runtime": "^7.17.2", + "copy-text-to-clipboard": "^3.0.1", + "core-js": "^3.11.0", + "mutation-observer": "^1.0.3" + }, + "dependencies": { + "@babel/runtime": { + "version": "7.17.9", + "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.17.9.tgz", + "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==", + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "core-js": { + "version": "3.21.1", + "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.21.1.tgz", + "integrity": "sha512-FRq5b/VMrWlrmCzwRrpDYNxyHP9BcAZC+xHJaqTgIE5091ZV1NTmyh0sGOg5XqpnHvR0svdy0sv1gWA1zmhxig==" + }, + "regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" + } + } + }, "vendors": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz", @@ -13549,8 +13590,8 @@ }, "vue-loader-v16": { "version": "npm:vue-loader@16.8.3", - "resolved": "https://registry.npmmirror.com/vue-loader/download/vue-loader-16.8.3.tgz?cache=0&sync_timestamp=1636034706501&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fvue-loader%2Fdownload%2Fvue-loader-16.8.3.tgz", - "integrity": "sha1-1D5nXe9bqTRdbH8FkUwT2GGZcIc=", + "resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz", + "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", "dev": true, "optional": true, "requires": { @@ -13561,8 +13602,8 @@ "dependencies": { "ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz", - "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "optional": true, "requires": { @@ -13571,8 +13612,8 @@ }, "chalk": { "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", - "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "optional": true, "requires": { @@ -13582,8 +13623,8 @@ }, "color-convert": { "version": "2.0.1", - "resolved": "https://registry.nlark.com/color-convert/download/color-convert-2.0.1.tgz", - "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "optional": true, "requires": { @@ -13592,29 +13633,29 @@ }, "color-name": { "version": "1.1.4", - "resolved": "https://registry.nlark.com/color-name/download/color-name-1.1.4.tgz", - "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true, "optional": true }, "has-flag": { "version": "4.0.0", - "resolved": "https://registry.nlark.com/has-flag/download/has-flag-4.0.0.tgz", - "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "optional": true }, "hash-sum": { "version": "2.0.0", - "resolved": "https://registry.nlark.com/hash-sum/download/hash-sum-2.0.0.tgz", - "integrity": "sha1-gdAbtd6OpKIUrV1urRtSNGCwtFo=", + "resolved": "https://registry.npmmirror.com/hash-sum/-/hash-sum-2.0.0.tgz", + "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==", "dev": true, "optional": true }, "loader-utils": { "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/loader-utils/download/loader-utils-2.0.2.tgz?cache=0&sync_timestamp=1636687947060&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Floader-utils%2Fdownload%2Floader-utils-2.0.2.tgz", - "integrity": "sha1-1uO0+4GHByGuTghoqxHdY4NowSk=", + "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", "dev": true, "optional": true, "requires": { @@ -13625,8 +13666,8 @@ }, "supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/download/supports-color-7.2.0.tgz", - "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "optional": true, "requires": { diff --git a/package.json b/package.json index fd13ad923..6ba1f959d 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "sortablejs": "^1.14.0", "v-charts": "^1.19.0", "vant": "^2.12.36", + "vconsole": "^3.14.5", "vue": "^2.6.11", "vue-clipboard2": "^0.3.1", "vue-contextmenujs": "^1.3.13", diff --git a/public/index.html b/public/index.html index 35dccc655..ab42df17f 100644 --- a/public/index.html +++ b/public/index.html @@ -10,6 +10,11 @@ 标准法规管理系统 + + +
diff --git a/src/api/login/index.js b/src/api/login/index.js new file mode 100644 index 000000000..3e37d9721 --- /dev/null +++ b/src/api/login/index.js @@ -0,0 +1,11 @@ +import axios from '@/common/axiosV2' + +// 流程发起 +export function checkPage(params) { + return axios({ + url: '/api/checkPage', + method: 'get', + params + }) +} + diff --git a/src/api/process.js b/src/api/process.js index 69c92786c..3f8b1187b 100644 --- a/src/api/process.js +++ b/src/api/process.js @@ -1024,3 +1024,12 @@ export function importAllZcbs(data) { data }) } + +// 未符合项重点问题项管控产品规划部查询列表 +export function productDeptIssue(params) { + return axios({ + url: '/api/sarStandUnqualified/productDeptIssue', + method: 'get', + params + }) +} diff --git a/src/api/unqualProcess.js b/src/api/unqualProcess.js index fd83b43bf..4cdab4b68 100644 --- a/src/api/unqualProcess.js +++ b/src/api/unqualProcess.js @@ -43,6 +43,14 @@ export function StandardsInfoPage(data) { }); } +export function selectHighLawsById(data) { + return axios({ + url: "api/sarStandardsInfo/sar-standards-info/selectHighLawsById", + method: "get", + params: data + }); +} + // 车型库清单的下拉列表 export function solostarData(data) { return axios({ diff --git a/src/assets/languages/cn.js b/src/assets/languages/cn.js index ee1dbbd3d..648cb25fc 100644 --- a/src/assets/languages/cn.js +++ b/src/assets/languages/cn.js @@ -260,6 +260,7 @@ export const m = { findByTheResponsibilityDepartment: '根据责任部门查找', findByNormativeReferenceStandard: '根据规范性引用标准查找', lookupByStandardStatus: '根据标准状态查找', + lookupByStandardStatusText: '根据文本状态查找', findByPrincipalCompiler: '根据主要编制者查找', contentInThisPaper: '内容摘要', substituteForStandNumber: '代替标准号', diff --git a/src/components/CustomFormComponents/File.vue b/src/components/CustomFormComponents/File.vue index bc82bcfbe..ff8417f28 100644 --- a/src/components/CustomFormComponents/File.vue +++ b/src/components/CustomFormComponents/File.vue @@ -245,7 +245,7 @@ export default { if (this.value != null && this.value !== '') { let paramefile = this.value if (paramefile.charAt(paramefile.length - 1) === ',') { - paramefile = paramefile.substring(0, paramefile.length - 1) + paramefile = paramefile.substring(0, paramefile.length - 1).replaceAll(",,",",") } this.$http.get('att/attFile/getMultiFileInfos', { fileIds: paramefile @@ -272,7 +272,7 @@ export default { obj.response.data = file.response.data this.showFileList.push(obj) // this.value += res.data.id + ',' - this.$emit('input', this.value ? this.value + ','+ res.data.id + ',' : this.value+ res.data.id + ',') + this.$emit('input', this.value ? (this.value + ','+ res.data.id + ',').replaceAll(",,",',') : (this.value+ res.data.id + ',').replaceAll(',,',',')) this.$emit('success') this.$message({ message: '文件上传成功', diff --git a/src/components/CustomFormComponents/InputForStandardsForLaws.vue b/src/components/CustomFormComponents/InputForStandardsForLaws.vue index 312eb75b1..e29b58902 100644 --- a/src/components/CustomFormComponents/InputForStandardsForLaws.vue +++ b/src/components/CustomFormComponents/InputForStandardsForLaws.vue @@ -61,21 +61,20 @@ :maxlength="100"> - - - - - + + 查询 + + + + 清空 + diff --git a/src/components/navMenu/index.vue b/src/components/navMenu/index.vue index 7be6eb11c..b6579017b 100644 --- a/src/components/navMenu/index.vue +++ b/src/components/navMenu/index.vue @@ -161,11 +161,11 @@ // path: '/dataStatisComments', // menuId: '' // }, - { - title: '国内外政策', - path: '/foreignRegulationsDatabase', - menuId: 'ef02a3b0af9a4b3ede460456a9591ebc' - }, + // { + // title: '国内外政策', + // path: '/foreignRegulationsDatabase', + // menuId: 'ef02a3b0af9a4b3ede460456a9591ebc' + // }, // // // { // // // title: '标准制修订管理', // // // path: '/demo2One' @@ -208,6 +208,34 @@ // } ] }, + { + title: '政策法规库', + path: '/policyRegulation', + 'icon-class': 'el-icon-s-management', + menuId: 'asdzcfgk', + children: [ + { + title: '问题项管控', + path: '/problemControl', + menuId: '50d7a0c0af4740c486100c257ae6068e' + }, + { + title: '国内外政策', + path: '/nationalPolicy', + menuId: '6557e9c4ce672af71be5807052da126b' + }, + { + title: '标准跟踪清单', + path: '/standardTrackingList', + menuId: 'a26b92e156f68dbfe0d73b0dc068ebe4' + }, + { + title: '政策工作组', + path: '/policyWorkGroup', + menuId: 'f1a4b33a498e58a8a87c954ce5ce6ad6' + } + ] + }, { title: '工作中心', path: '/processCenter', diff --git a/src/components/phoneHistortTable/index.vue b/src/components/phoneHistortTable/index.vue index 798ac4b3a..cbbf258a9 100644 --- a/src/components/phoneHistortTable/index.vue +++ b/src/components/phoneHistortTable/index.vue @@ -11,38 +11,40 @@ :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
- - - + @@ -412,34 +323,13 @@
{{ value.name }}
-
+
- -
- - - - - - - - - + + +
@@ -516,6 +406,7 @@ export default { name: "phoneBzrkStep2", data() { return { + textStatusMap: {}, // 文本状态id与name对应 xgdFileMap: [], fbgbjbdFileMap: [], bpgFileMap: [], @@ -550,7 +441,7 @@ export default { // 当前流程类型(1待办/2已办) processType: 1, detailData: [], - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, formTongGuo: { @@ -701,11 +592,18 @@ export default { TreeSelect }, methods: { + // 将文本状态的id与name对应 + setMap(data){ + data.forEach(item => { + this.$set(this.textStatusMap, item.value, item.label) + }) + + }, checkedRole(data) { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -966,7 +864,7 @@ export default { this.$message.warning("驳回成功") this.isSubmit = false // 流程提交之后,应该流转至待办任务页面 - this.$router.push({path: '/processCenter?tabsName=ProcessCenter'}) + this.$router.push("/processCenter"); } else { console.log("hello"); this.processCreateStand(json) @@ -1013,6 +911,7 @@ export default { this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 this.standNatureOptions = res.data.SARPROPERTY // 标准性质 this.standStateOptions = res.data.WBZTCLASS // 文本状态 + this.setMap(this.standStateOptions) this.standSystemOptions = res.data.BZTXCLASS // 标准体系 this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 this.categoryOptions = res.data.NYLXCLASS // 能源类型 @@ -1041,11 +940,9 @@ export default { /deep/.el-select .el-input .el-select__caret { font-size: 0; } - /deep/.prc-content-border { - width: 600px; - } /deep/ .el-drawer__container { .prc-content-border { + overflow: auto; border: none; padding: 0 20px 0; } diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step2.vue b/src/pages/processCenter/pages/phone/bzzqyj/step2.vue index 6225edc9c..e4837618b 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step2.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step2.vue @@ -3,7 +3,7 @@ - +
基础信息
@@ -74,63 +74,7 @@
- - - - - - - - - - - - - - - - - - +
{ @@ -309,51 +253,59 @@ this.saveLoading = false; }); }, - handleSubmit() { - this.$refs["bzzqyjForm"].validate((valid) => { - if (valid) { - this.isSubmit = true; - var json = this.json; - json.commentText = this.commentText2; - json.responUserList = this.form.responUserList; - json.responUserListName = this.form.responUserListName; - json.introduce = false; - this.$http.post("lawss/activiti/completeTask", { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success("提交成功"); - this.$router.push("/processCenter"); - } - this.isSubmit = false; - }); - } else { - return this.$message.warning("请完善基础信息"); - } + handleSubmit() { + this.$refs["bzzqyjForm"].validate((valid) => { + if (valid) { + this.isSubmit = true; + var json = this.json; + json.onlyKey = this.onlyKey + json.commentText = this.commentText2; + json.responUserList = this.form.responUserList; + json.responUserListName = this.form.responUserListName; + json.presidentUser = this.form.presidentUser + json.presidentUserName = this.form.presidentUserName + json.introduce = false; + this.$http.post("lawss/activiti/completeTask", { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success("提交成功"); + this.$router.push("/processCenter"); + } + this.isSubmit = false; }); - }, - getData() { - return new Promise((resolve, reject) => { - inboundLiaisonDetail({ - taskIds: this.taskIds, - pId: this.pId - }).then(res => { - let data = JSON.parse(res.mesg) - this.commentText2 = data.commentText2 || '' - this.form.cid = data.form ? data.form.cid : data.cid - this.form.endTime = data.form ? data.form.endTime : data.endTime - this.form.fjList = data.form ? data.form.fjList : data.fjList - this.form.textType = data.form ? data.form.textType : data.textType - this.form.modelList = data.form ? data.form.modelList : data.modelList - this.form.responUserListName = data.form ? data.form.responUserListName : (data.responUserListName ? data.responUserListName : '') - this.form.responUserList = data.form ? data.form.responUserList : (data.responUserList ? data.responUserList : '') - this.json = data - }).catch(e => { - }); - }); - } + } else { + return this.$message.warning("请完善基础信息"); + } + }); + }, + getData() { + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.taskIds, + pId: this.pId + }).then(res => { + let data = JSON.parse(res.mesg) + this.onlyKey = data.form ? data.form.onlyKey : data.onlyKey + this.commentText2 = data.commentText2 || '' + this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser + this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName + this.form.startUserName = data.form ? data.form.startUserName : data.startUserName + this.form.startUser = data.form ? data.form.startUser : data.startUser + this.form.cid = data.form ? data.form.cid : data.cid + this.form.endTime = data.form ? data.form.endTime : data.endTime + this.form.fjList = data.form ? data.form.fjList : data.fjList + this.form.textType = data.form ? data.form.textType : data.textType + this.form.modelList = data.form ? data.form.modelList : data.modelList + this.form.responUserListName = data.form ? data.form.responUserListName : (data.responUserListName ? data.responUserListName : '') + this.form.responUserList = data.form ? data.form.responUserList : (data.responUserList ? data.responUserList : '') + this.json = data + }).catch(e => { + }); + }); + } }, mounted() { this.getHistoryData(); diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue b/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue index 2fbd9eba5..c749d3a70 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue @@ -3,14 +3,14 @@ - +
基础信息
审批历史
-
+
+ width="70px"> + width="180px">
- - - - - - - - - - - - - - - - - - +
{ @@ -371,79 +314,75 @@ handleTabs(name) { this.active = name }, - handleSubmit() { - this.$refs['bzzqyjForm'].validate((valid) => { - if (valid) { - this.isSubmit = true - var json = this.json - json.commentText = this.commentText41 - json.bzfgId = this.form.bzfgId - json.bzfgName = this.form.bzfgName - json.spFlag = '0' - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success('提交成功') - this.$router.push('/processCenter') - } - this.isSubmit = false - }) - } else { - this.$message.warning('请选择标准法规工程师分线管理员') - } + handleSubmit() { + this.$refs['bzzqyjForm'].validate((valid) => { + if (valid) { + this.isSubmit = true + let json = this.json + json.info = this.data + json.commentText = this.commentText41 + json.bzfgId = this.form.bzfgId + json.bzfgName = this.form.bzfgName + json.spFlag = '0' + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('提交成功') + this.$router.push('/processCenter') + } + this.isSubmit = false }) - }, - handleSubmitNo() { - if (this.commentText41) { - var json = this.json - json.spFlag = '1' - json.commentText = this.commentText41 - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success('提交成功') - this.$router.push('/processCenter') - } - }) - } else { - this.$message.warning('请输入反馈意见') + } else { + this.$message.warning('请选择标准法规工程师分线管理员') + } + }) + }, + handleSubmitNo() { + if (this.commentText41) { + var json = this.json + json.spFlag = '1' + json.commentText = this.commentText41 + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('提交成功') + this.$router.push('/processCenter') } + }) + } else { + this.$message.warning('请输入反馈意见') + } - }, - getData() { - return new Promise((resolve, reject) => { - inboundLiaisonDetail({ - taskIds: this.taskIds, - pId: this.pId - }).then(res => { - let data = JSON.parse(res.mesg) - this.form.fjList = data.fjList || data.form.fjList - if (data.fjListId === '') { - this.form.fjListId = '' - } else { - this.form.fjListId = data.form.fjListId || data.fjListId - } - this.commentText41 = data.commentText41 || '' - this.form.bzfgId = data.startUser - this.form.bzfgName = data.startUserName - this.form.cid = data.cid || data.form.cid - this.form.endTime = data.endTime || data.form.endTime - this.form.cname = data.cname || data.form.cname - this.form.textType = data.textType || data.form.textType - this.form.modelList = data.modelList || data.form.modelList - this.form.modelNameList = data.modelNameList || data.form.modelNameList - this.json = data - this.data = data.info || data.data - }).catch(e => { - }) - }) - }, + }, + getData() { + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.taskIds, + pId: this.pId + }).then(res => { + let data = JSON.parse(res.mesg) + this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser + this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName + this.form.fjList = data.fjList || data.form.fjList + this.form.cid = data.cid || data.form.cid + this.form.endTime = data.endTime || data.form.endTime + this.form.textType = data.textType || data.form.textType + this.form.modelList = data.modelList || data.form.modelList + this.commentText41 = data.commentText41 || '' + this.form.bzfgId = data.startUser || data.form.startUser + this.form.bzfgName = data.startUserName || data.form.startUserName + this.json = data + this.data = data.info || data.data + }).catch(e => { + }) + }) + }, }, mounted() { this.getHistoryData() diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue b/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue index d571d1a9e..c4712d9a8 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue @@ -3,14 +3,14 @@ - +
基础信息
审批历史
-
+
+ width="70px"> + width="180px">
- - - - - - - - - - - - - - - - - - +
{ @@ -362,70 +305,66 @@ handleTabs(name) { this.active = name }, - handleSubmit() { - this.isSubmit = true - var json = this.json - json.commentText = this.commentText42 - json.bzFlag = '0' - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success('提交成功') - this.$router.push('/processCenter') - } - this.isSubmit = false - }) - }, - handleSubmitNo() { - if (this.commentText42) { - var json = this.json - json.bzFlag = '1' - json.commentText = this.commentText42 - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success('提交成功') - this.$router.push('/processCenter') - } - }) - } else { - this.$message.warning('请输入反馈意见') + handleSubmit() { + this.isSubmit = true + let json = this.json + json.info = this.data + json.commentText = this.commentText42 + json.bzFlag = '0' + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('提交成功') + this.$router.push('/processCenter') + } + this.isSubmit = false + }) + }, + handleSubmitNo() { + if (this.commentText42) { + var json = this.json + json.bzFlag = '1' + json.commentText = this.commentText42 + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('提交成功') + this.$router.push('/processCenter') } + }) + } else { + this.$message.warning('请输入反馈意见') + } - }, - getData() { - return new Promise((resolve, reject) => { - inboundLiaisonDetail({ - taskIds: this.taskIds, - pId: this.pId - }).then(res => { - let data = JSON.parse(res.mesg) - this.form.fjList = data.fjList || data.form.fjList - if (data.fjListId === '') { - this.form.fjListId = '' - } else { - this.form.fjListId = data.form.fjListId || data.fjListId - } - this.commentText42 = data.commentText42 || '' - this.form.cid = data.cid || data.form.cid - this.form.endTime = data.endTime || data.form.endTime - this.form.cname = data.cname || data.form.cname - this.form.textType = data.textType || data.form.textType - this.form.modelList = data.modelList || data.form.modelList - this.form.modelNameList = data.modelNameList || data.form.modelNameList - this.form.bzfgId = data.bzfgId || '' - this.json = data - this.data = data.info || data.data - }).catch(e => { - }) - }) - }, + }, + getData() { + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.taskIds, + pId: this.pId + }).then(res => { + let data = JSON.parse(res.mesg) + this.form.fjList = data.fjList || data.form.fjList + this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser + this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName + this.commentText42 = data.commentText42 || '' + this.form.cid = data.cid || data.form.cid + this.form.endTime = data.endTime || data.form.endTime + this.form.textType = data.textType || data.form.textType + this.form.modelList = data.modelList || data.form.modelList + this.form.bzfgId = data.bzfgId || '' + this.json = data + this.data = data.info || data.data + }).catch(e => { + }) + }) + }, }, mounted() { this.getHistoryData() diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step6.vue b/src/pages/processCenter/pages/phone/bzzqyj/step6.vue index 46f86870f..7e169b48c 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step6.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step6.vue @@ -3,14 +3,14 @@ - +
基础信息
审批历史
-
+
+ width="70px"> import { Dialog } from 'vant'; + import isMobile from "@/store/isMobile"; import ProcessHeaderPhone from '../../components/ProcessHeaderPhone' import ProcessFooter from "../../components/ProcessFooter"; import ProcessTitle from "../../components/ProcessTitle"; @@ -209,56 +208,57 @@ export default { name: "phoneBzdyStep6", - data() { - return { - data2: [], - itermsConditionsFlag: false, - itermsConditionsTitle: '', - drawerModal: false, - histortData: [], - oldData: [], - data: [], - commentText6: "", - oldText: "", - newText: "", - reason: "", - taskIds: this.$route.query.taskIds, - pId: this.$route.query.prcId, - roleRow: {}, - nodeList: [], - type: "", - defaultProps: { - children: "children", - label: "name" - }, - treeData: [], // 人员数据 - modalshowflag: false, // drawer开关 - drawerTitle: "", //drawer标题 - textarea: "", // 意见 - ListModel: false, // 新增编辑抽屉开关 - active: "1", // 默认显示 - isSubmit: false, - saveLoading: false, - form: { - cid: "", // 编号 - endTime: "", // 结束日期 - cname: "", // 名称 - fjList: [], - fjListId: '', - textType: '', - modelList: [], - modelNameList: '', - user7: '', - user7Name: '', - }, - formRules: { - responUserList: [ - {required: true, message: "请选择责任人", trigger: "change"} - ] - }, - json: {} - }; - }, + data() { + return { + data2: [], + commentText6: '', + itermsConditionsFlag: false, + itermsConditionsTitle: '', + drawerModal: false, + histortData: [], + oldData: [], + data: [], + commentText: "", + oldText: "", + newText: "", + reason: "", + taskIds: this.$route.query.taskIds, + pId: this.$route.query.prcId, + roleRow: {}, + nodeList: [], + type: "", + defaultProps: { + children: "children", + label: "name" + }, + treeData: [], // 人员数据 + modalshowflag: false, // drawer开关 + drawerTitle: "", //drawer标题 + textarea: "", // 意见 + ListModel: false, // 新增编辑抽屉开关 + active: "1", // 默认显示 + isSubmit: false, + saveLoading: false, + form: { + cid: "", // 编号 + endTime: "", // 结束日期 + cname: "", // 名称 + fjList: [], + fjListId: '', + textType: '', + modelList: [], + modelNameList: '', + user7: '', + user7Name: '' + }, + formRules: { + user7: [ + {required: true, message: "请选择审批领导", trigger: "change"} + ] + }, + json: {} + }; + }, components: { [Dialog.Component.name]: Dialog.Component, ProcessHeaderPhone, @@ -320,7 +320,7 @@ checkedRole (data) { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -368,122 +368,89 @@ } }, upload(row, title) { - if (row.length > 0) { - var params = { - columnName: { - chapterNumber: "章条编号", - chapterName: "章节名称", - commentText: "修改意见内容(包括理由或依据)", - oldText: "修改前", - newText: "修改后", - reason: "修改理由", - department: "提出部门", - responUserName: "提出人", - stateText: "处理意见", - cause: "原因", - }, - dataList: [] - }; - params.dataList = JSON.parse(JSON.stringify(row)); - params.dataList.forEach(item => { - if (item.state === "1") { - item.stateText = "上报"; - } else if (item.state === "2") { - item.stateText = "处理后上报"; - } else { - item.stateText = "不上报"; - } - }); - this.$http.downloadFile("/api/lawss/activiti/export_excel", params, title, res => { - }); - } else { - this.$message.warning('无上报数据') - } + this.$message.warning('手机端不支持该操作') }, handleTabs(name) { this.active = name; }, - handleSubmit() { - this.$refs['bzzqyjForm'].validate((valid) => { - if (valid) { - this.isSubmit = true; - var json = this.json; - json.hqFlag = '0'; - json.commentText = this.commentText6; - json.user7 = this.form.user7; - json.user7Name = this.form.user7Name; - this.$http.post("lawss/activiti/completeTask", { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success("提交成功"); - this.$router.push("/processCenter"); - } - this.isSubmit = false; - }); - } else { - this.$message.warning('请选择审批领导') - } - }) - }, - handleSubmitNo() { - if (this.commentText6) { - this.isSubmit = true; - var json = this.json; - json.hqFlag = '1'; - json.commentText = this.commentText6; - this.$http.post("lawss/activiti/completeTask", { - json: JSON.stringify(json), - taskIds: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success("驳回成功"); - this.$router.push("/processCenter"); - } - this.isSubmit = false; - }); - } else { - this.$message.warning("请输入反馈意见"); - } - }, - getData() { - return new Promise((resolve, reject) => { - inboundLiaisonDetail({ - taskIds: this.taskIds, - pId: this.pId - }).then(res => { - let data = JSON.parse(res.mesg); - this.form.fjList = data.fjList || data.form.fjList - if (data.fjListId === '') { - this.form.fjListId = '' - } else { - this.form.fjListId = data.form.fjListId || data.fjListId - } - this.commentText6 = data.commentText6 || '' - this.form.cid = data.cid || data.form.cid; - this.form.endTime = data.endTime || data.form.endTime; - this.form.cname = data.cname || data.form.cname; - let newArr = data.info ? data.info : data.form.data - this.oldData = JSON.parse(JSON.stringify(newArr)) - let arr = [] - newArr.forEach(item => { - if (item.state != '3') { - arr.push(item) - } - }) - this.json = data - this.data2 = newArr - this.data = arr - this.form.textType = data.textType || data.form.textType - this.form.modelList = data.modelList || data.form.modelList - this.form.modelNameList = data.modelNameList || data.form.modelNameList - }).catch(e => { - }); + handleSubmit() { + this.$refs['bzzqyjForm'].validate((valid) => { + if (valid) { + this.isSubmit = true; + var json = this.json; + json.hqFlag = '0'; + json.commentText = this.commentText6; + json.user7 = this.form.user7; + json.user7Name = this.form.user7Name; + this.$http.post("lawss/activiti/completeTask", { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success("提交成功"); + this.$router.push("/processCenter"); + } + this.isSubmit = false; }); + } else { + this.$message.warning('请选择审批领导') + } + }) + }, + handleSubmitNo() { + if (this.commentText6) { + this.isSubmit = true; + var json = this.json; + json.hqFlag = '1'; + json.commentText = this.commentText6; + this.$http.post("lawss/activiti/completeTask", { + json: JSON.stringify(json), + taskIds: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success("驳回成功"); + this.$router.push("/processCenter"); + } + this.isSubmit = false; + }); + } else { + this.$message.warning("请输入反馈意见"); } + }, + getData() { + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.taskIds, + pId: this.pId + }).then(res => { + let data = JSON.parse(res.mesg); + this.commentText6 = data.commentText6 || '' + this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser + this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName + this.form.fjList = data.fjList || data.form.fjList + this.form.cid = data.cid || data.form.cid; + this.form.endTime = data.endTime || data.form.endTime; + this.form.textType = data.textType || data.form.textType + this.form.modelList = data.modelList || data.form.modelList + this.form.user7 = data.form ? data.form.user7 : (data.user7 ? data.user7 : '') + this.form.user7Name = data.form ? data.form.user7Name : (data.user7Name ? data.user7Name : '') + let newArr = data.info ? data.info : data.form.data + this.oldData = JSON.parse(JSON.stringify(newArr)) + let arr = [] + newArr.forEach(item => { + if (item.state !== '3') { + arr.push(item) + } + }) + this.json = data + this.data2 = newArr + this.data = arr + }).catch(e => { + }); + }); + } }, mounted() { this.getHistoryData(); diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step7.vue b/src/pages/processCenter/pages/phone/bzzqyj/step7.vue index f8884928b..1a7d886de 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step7.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step7.vue @@ -3,14 +3,14 @@ - +
基础信息
审批历史
-
+
+ width="70px"> { @@ -322,113 +320,80 @@ return "处理后上报"; } }, - upload(row, title) { - if (row.length > 0) { - var params = { - columnName: { - chapterNumber: "章条编号", - chapterName: "章节名称", - commentText: "修改意见内容(包括理由或依据)", - oldText: "修改前", - newText: "修改后", - reason: "修改理由", - department: "提出部门", - responUserName: "提出人", - stateText: "处理意见", - cause: "原因", - }, - dataList: [] - }; - params.dataList = JSON.parse(JSON.stringify(row)); - params.dataList.forEach(item => { - if (item.state === "1") { - item.stateText = "上报"; - } else if (item.state === "2") { - item.stateText = "处理后上报"; - } else { - item.stateText = "不上报"; - } - }); - this.$http.downloadFile("/api/lawss/activiti/export_excel", params, title, res => { - }); - } else { - this.$message.warning('无上报数据') - } - }, + upload(row, title) { + this.$message.warning('手机端不支持该操作') + }, handleTabs(name) { this.active = name; }, - handleSubmit() { - this.isSubmit = true - var json = this.json - json.bdFlag = '0' - json.commentText = this.commentText7 - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success('提交成功') - this.$router.push('/processCenter') - } - this.isSubmit = false - }) - }, - handleSubmitNo() { - if (this.commentText7) { - this.isSubmit = true - var json = this.json - json.bdFlag = '1' - json.commentText = this.commentText7 - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskIds: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success('驳回成功') - this.$router.push('/processCenter') - } - this.isSubmit = false - }) - } else { - this.$message.warning('请输入反馈意见') + handleSubmit() { + this.isSubmit = true + var json = this.json + json.bdFlag = '0' + json.commentText = this.commentText7 + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('提交成功') + this.$router.push('/processCenter') + } + this.isSubmit = false + }) + }, + handleSubmitNo() { + if (this.commentText7) { + this.isSubmit = true + var json = this.json + json.bdFlag = '1' + json.commentText = this.commentText7 + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskIds: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('驳回成功') + this.$router.push('/processCenter') } - }, - getData() { - return new Promise((resolve, reject) => { - inboundLiaisonDetail({ - taskIds: this.taskIds, - pId: this.pId - }).then(res => { - let data = JSON.parse(res.mesg); - this.form.fjList = data.fjList || data.form.fjList - if (data.fjListId === '') { - this.form.fjListId = '' - } else { - this.form.fjListId = data.form.fjListId || data.fjListId - } - this.commentText7 = data.commentText7 || '' - this.form.cid = data.cid || data.form.cid; - this.form.endTime = data.endTime || data.form.endTime; - this.form.cname = data.cname || data.form.cname; - this.oldData = JSON.parse(JSON.stringify(data.info)) - var arr = [] - data.info.forEach(item => { - if (item.state != '3') { - arr.push(item) - } - }) - this.json = data - this.form.textType = data.textType || data.form.textType - this.form.modelList = data.modelList || data.form.modelList - this.form.modelNameList = data.modelNameList || data.form.modelNameList - this.data = arr - }).catch(e => { - }); - }); + this.isSubmit = false + }) + } else { + this.$message.warning('请输入反馈意见') } + }, + getData() { + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.taskIds, + pId: this.pId + }).then(res => { + let data = JSON.parse(res.mesg) + this.commentText7 = data.commentText7 || '' + this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser + this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName + this.form.fjList = data.fjList || data.form.fjList + this.form.cid = data.cid || data.form.cid; + this.form.endTime = data.endTime || data.form.endTime; + this.form.textType = data.textType || data.form.textType + this.form.modelList = data.modelList || data.form.modelList + let newArr = data.info ? data.info : data.form.data + this.oldData = JSON.parse(JSON.stringify(newArr)) + let arr = [] + newArr.forEach(item => { + if (item.state !== '3') { + arr.push(item) + } + }) + this.json = data + this.data2 = newArr + this.data = arr + }).catch(e => { + }) + }) + }, }, mounted() { this.getHistoryData(); diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step8.vue b/src/pages/processCenter/pages/phone/bzzqyj/step8.vue index adfbfff54..df5c8653b 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step8.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step8.vue @@ -3,14 +3,14 @@ - +
基础信息
审批历史
-
+
+ width="70px"> { @@ -323,114 +322,81 @@ } }, upload(row, title) { - if (row.length > 0) { - var params = { - columnName: { - chapterNumber: "章条编号", - chapterName: "章节名称", - commentText: "修改意见内容(包括理由或依据)", - oldText: "修改前", - newText: "修改后", - reason: "修改理由", - department: "提出部门", - responUserName: "提出人", - stateText: "处理意见", - cause: "原因", - }, - dataList: [] - }; - params.dataList = JSON.parse(JSON.stringify(row)); - params.dataList.forEach(item => { - if (item.state === "1") { - item.stateText = "上报"; - } else if (item.state === "2") { - item.stateText = "处理后上报"; - } else { - item.stateText = "不上报"; - } - }); - this.$http.downloadFile("/api/lawss/activiti/export_excel", params, title, res => { - }); - } else { - this.$message.warning('无上报数据') - } + this.$message.warning('手机端不支持该操作') }, handleTabs(name) { this.active = name; }, handleSave() { }, - handleSubmit() { - this.isSubmit = true - var json = this.json - json.directorFlag = '0' - json.commentText = this.commentText8 - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success('提交成功') - this.$router.push('/processCenter') - } - this.isSubmit = false - }) - }, - handleSubmitNo() { - if (this.commentText8) { - this.isSubmit = true - var json = this.json - json.directorFlag = '1' - json.commentText = this.commentText8 - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskIds: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success('驳回成功') - this.$router.push('/processCenter') - } - this.isSubmit = false - }) - } else { - this.$message.warning('请输入反馈意见') + handleSubmit() { + this.isSubmit = true + var json = this.json + json.directorFlag = '0' + json.commentText = this.commentText8 + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('提交成功') + this.$router.push('/processCenter') + } + this.isSubmit = false + }) + }, + handleSubmitNo() { + if (this.commentText8) { + this.isSubmit = true + var json = this.json + json.directorFlag = '1' + json.commentText = this.commentText8 + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskIds: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('驳回成功') + this.$router.push('/processCenter') } - }, - getData() { - return new Promise((resolve, reject) => { - inboundLiaisonDetail({ - taskIds: this.taskIds, - pId: this.pId - }).then(res => { - let data = JSON.parse(res.mesg); - this.form.fjList = data.fjList || data.form.fjList - if (data.fjListId === '') { - this.form.fjListId = '' - } else { - this.form.fjListId = data.form.fjListId || data.fjListId - } - this.form.cid = data.cid || data.form.cid; - this.form.endTime = data.endTime || data.form.endTime; - this.form.cname = data.cname || data.form.cname; - this.oldData = JSON.parse(JSON.stringify(data.info)) - var arr = [] - this.commentText8 = data.commentText8 || '' - data.info.forEach(item => { - if (item.state != '3') { - arr.push(item) - } - }) - this.json = data - this.form.textType = data.textType || data.form.textType - this.form.modelList = data.modelList || data.form.modelList - this.form.modelNameList = data.modelNameList || data.form.modelNameList - this.data = arr - }).catch(e => { - }); - }); + this.isSubmit = false + }) + } else { + this.$message.warning('请输入反馈意见') } + }, + getData() { + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.taskIds, + pId: this.pId + }).then(res => { + let data = JSON.parse(res.mesg) + this.commentText8 = data.commentText8 || '' + this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser + this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName + this.form.fjList = data.fjList || data.form.fjList + this.form.cid = data.cid || data.form.cid; + this.form.endTime = data.endTime || data.form.endTime; + this.form.textType = data.textType || data.form.textType + this.form.modelList = data.modelList || data.form.modelList + let newArr = data.info ? data.info : data.form.data + this.oldData = JSON.parse(JSON.stringify(newArr)) + let arr = [] + newArr.forEach(item => { + if (item.state !== '3') { + arr.push(item) + } + }) + this.json = data + this.data2 = newArr + this.data = arr + }).catch(e => { + }) + }) + }, }, mounted() { this.getHistoryData(); diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step9.vue b/src/pages/processCenter/pages/phone/bzzqyj/step9.vue index ce22c9357..07f7421fa 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step9.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step9.vue @@ -10,7 +10,7 @@
审批历史
-
+
+ width="70px"> { @@ -337,39 +336,9 @@ return "处理后上报"; } }, - upload(row, title) { - if (row.length > 0) { - var params = { - columnName: { - chapterNumber: "章条编号", - chapterName: "章节名称", - commentText: "修改意见内容(包括理由或依据)", - oldText: "修改前", - newText: "修改后", - reason: "修改理由", - department: "提出部门", - responUserName: "提出人", - stateText: "处理意见", - cause: "原因", - }, - dataList: [] - }; - params.dataList = JSON.parse(JSON.stringify(row)); - params.dataList.forEach(item => { - if (item.state === "1") { - item.stateText = "上报"; - } else if (item.state === "2") { - item.stateText = "处理后上报"; - } else { - item.stateText = "不上报"; - } - }); - this.$http.downloadFile("/api/lawss/activiti/export_excel", params, title, res => { - }); - } else { - this.$message.warning('无上报数据') - } - }, + upload(row, title) { + this.$message.warning('手机端不支持该操作') + }, handleTabs(name) { this.active = name; }, @@ -381,7 +350,7 @@ this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("提交成功"); @@ -399,7 +368,7 @@ this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskIds: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("驳回成功"); diff --git a/src/pages/processCenter/pages/phone/cywbbzzxd/step2.vue b/src/pages/processCenter/pages/phone/cywbbzzxd/step2.vue index 4083435c3..f2ad72c29 100644 --- a/src/pages/processCenter/pages/phone/cywbbzzxd/step2.vue +++ b/src/pages/processCenter/pages/phone/cywbbzzxd/step2.vue @@ -133,7 +133,7 @@ export default { nodeList: [], roleForm: { prcCreateUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, dockUser: "", directorUser: "", workPeople: "", @@ -230,7 +230,7 @@ export default { this.isSubmit = true this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: JSON.stringify(json) }, { _this: this diff --git a/src/pages/processCenter/pages/phone/cywbbzzxd/step4.vue b/src/pages/processCenter/pages/phone/cywbbzzxd/step4.vue index 8347666a7..8b0503c80 100644 --- a/src/pages/processCenter/pages/phone/cywbbzzxd/step4.vue +++ b/src/pages/processCenter/pages/phone/cywbbzzxd/step4.vue @@ -325,7 +325,7 @@ export default { if (valid) { this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: JSON.stringify(json) }, { _this: this @@ -362,7 +362,7 @@ export default { if (valid) { this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: JSON.stringify(json) }, { _this: this @@ -393,7 +393,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/cywbbzzxd/step5.vue b/src/pages/processCenter/pages/phone/cywbbzzxd/step5.vue index 3fea10ac6..229cd6344 100644 --- a/src/pages/processCenter/pages/phone/cywbbzzxd/step5.vue +++ b/src/pages/processCenter/pages/phone/cywbbzzxd/step5.vue @@ -325,7 +325,7 @@ export default { if (valid) { this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: JSON.stringify(json) }, { _this: this @@ -362,7 +362,7 @@ export default { if (valid) { this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: JSON.stringify(json) }, { _this: this @@ -393,7 +393,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/cywbbzzxd/step6.vue b/src/pages/processCenter/pages/phone/cywbbzzxd/step6.vue index 14a53617d..ce3db5f14 100644 --- a/src/pages/processCenter/pages/phone/cywbbzzxd/step6.vue +++ b/src/pages/processCenter/pages/phone/cywbbzzxd/step6.vue @@ -325,7 +325,7 @@ export default { if (valid) { this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: JSON.stringify(json) }, { _this: this @@ -362,7 +362,7 @@ export default { if (valid) { this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: JSON.stringify(json) }, { _this: this @@ -393,7 +393,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue b/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue index 6390f756a..cdb87fe7f 100644 --- a/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue +++ b/src/pages/processCenter/pages/phone/jrbzhxh/step3.vue @@ -286,7 +286,7 @@ export default { commentText: '', uploadFileListPath: "api/att/attFile/upload", // 上传的地址 fileInfoList: [], // 上传的附件 - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, signFlag:'', wbbzform: { @@ -296,7 +296,7 @@ export default { workingGroup:'', personnelRole:'', membershipTime:'', - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, participantsData: [{ @@ -340,7 +340,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { this.isTransfer = false @@ -496,7 +496,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { if (res.success) { @@ -512,8 +512,8 @@ export default { //流程提交 handleSubmit() { this.isSubmit = true; - this.wbbzform.signFlag = "1", - this.wbbzform.passUser = this.$store.getters.userInfo.userId, + this.wbbzform.signFlag = "1" + this.wbbzform.passUser = this.$store.getters.userInfo.account this.wbbzform.commentText = this.commentText; this.wbbzform.participantsData = this.participantsData; this.wbbzform.associationData = this.associationData; @@ -540,8 +540,8 @@ export default { this.$message.warning("请填写审批意见"); } else { this.isSubmit = true; - this.wbbzform.signFlag = "0", - this.wbbzform.passUser = this.$store.getters.userInfo.userId, + this.wbbzform.signFlag = "0" + this.wbbzform.passUser = this.$store.getters.userInfo.account this.wbbzform.commentText = this.commentText; this.wbbzform.participantsData = this.participantsData; this.wbbzform.associationData = this.associationData; diff --git a/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue b/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue index 6b937aa7c..6aaf40753 100644 --- a/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue +++ b/src/pages/processCenter/pages/phone/jrbzhxh/step4.vue @@ -287,7 +287,7 @@ export default { commentText: '', uploadFileListPath: "api/att/attFile/upload", // 上传的地址 fileInfoList: [], // 上传的附件 - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, signFlag:'', wbbzform: { @@ -297,7 +297,7 @@ export default { workingGroup:'', personnelRole:'', membershipTime:'', - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, participantsData: [{ @@ -341,7 +341,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { this.isTransfer = false @@ -482,7 +482,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { @@ -499,7 +499,7 @@ export default { handleSubmit() { this.isSubmit = true this.wbbzform.bzFlag = '1', - this.wbbzform.passUser = this.$store.getters.userInfo.userId, + this.wbbzform.passUser = this.$store.getters.userInfo.account this.wbbzform.commentText = this.commentText; this.wbbzform.participantsData = this.participantsData this.wbbzform.associationData = this.associationData @@ -523,8 +523,8 @@ export default { //流程驳回 beforeBack(){ this.isSubmit = true - this.wbbzform.bzFlag = '2', - this.wbbzform.passUser = this.$store.getters.userInfo.userId, + this.wbbzform.bzFlag = '2' + this.wbbzform.passUser = this.$store.getters.userInfo.account this.wbbzform.commentText = this.commentText; this.wbbzform.participantsData = this.participantsData this.wbbzform.associationData = this.associationData diff --git a/src/pages/processCenter/pages/phone/qbfs/step5.vue b/src/pages/processCenter/pages/phone/qbfs/step5.vue index 592b12ef1..b6208581a 100644 --- a/src/pages/processCenter/pages/phone/qbfs/step5.vue +++ b/src/pages/processCenter/pages/phone/qbfs/step5.vue @@ -299,7 +299,7 @@ export default { QCDWID: '', QCRBUSS: '', QCRBUSSID: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -491,7 +491,7 @@ export default { }).then(res => { let mes = JSON.parse(res.mes) this.qbfsForm = mes.qbfsForm - this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId + this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.account this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName this.qbfsForm['id'] = bringData.id this.FBGBUSSFileList=this.assemble(this.qbfsForm.FBGBUSS,this.qbfsForm.FBGBUSSName); @@ -532,7 +532,7 @@ export default { const bringData = standObj.data const json = Object.assign(bringData, bringData.attrInfoMap,item); this.qbfsForm = JSON.parse(JSON.stringify(json)) - this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.userId + this.qbfsForm.WJSCRYBUSS= this.$store.getters.userInfo.account this.qbfsForm.WJSCRYBUSSName= this.$store.getters.userInfo.userName this.qbfsForm['id'] = bringData.id this.FBGBUSSFileList=this.assemble(this.qbfsForm.FBGBUSS,this.qbfsForm.FBGBUSSName); @@ -557,7 +557,7 @@ export default { this.saveLoading = true let _formData = new FormData() _formData.append('id', this.bpnId || '') - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.userName) _formData.append('prcType', 'buss3') _formData.append('json', JSON.stringify({ @@ -659,7 +659,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this @@ -701,7 +701,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { this.isTransfer = false diff --git a/src/pages/processCenter/pages/phone/qbfz/step2.vue b/src/pages/processCenter/pages/phone/qbfz/step2.vue index 961cfab6a..818fbb7fb 100644 --- a/src/pages/processCenter/pages/phone/qbfz/step2.vue +++ b/src/pages/processCenter/pages/phone/qbfz/step2.vue @@ -253,7 +253,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this @@ -275,7 +275,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this @@ -302,7 +302,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/qbfz/step5.vue b/src/pages/processCenter/pages/phone/qbfz/step5.vue index 0ce72ab4a..20b9b9062 100644 --- a/src/pages/processCenter/pages/phone/qbfz/step5.vue +++ b/src/pages/processCenter/pages/phone/qbfz/step5.vue @@ -397,7 +397,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json }, { _this: this @@ -422,7 +422,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json }, { _this: this @@ -460,7 +460,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/qbfz/step6.vue b/src/pages/processCenter/pages/phone/qbfz/step6.vue index 10961048e..1ed09ed7b 100644 --- a/src/pages/processCenter/pages/phone/qbfz/step6.vue +++ b/src/pages/processCenter/pages/phone/qbfz/step6.vue @@ -397,7 +397,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json }, { _this: this @@ -422,7 +422,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json }, { _this: this @@ -460,7 +460,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/qbfz/step7.vue b/src/pages/processCenter/pages/phone/qbfz/step7.vue index 4f5f1ea2c..8735e1b85 100644 --- a/src/pages/processCenter/pages/phone/qbfz/step7.vue +++ b/src/pages/processCenter/pages/phone/qbfz/step7.vue @@ -397,7 +397,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json }, { _this: this @@ -422,7 +422,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post("lawss/activiti/completeTask", { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json }, { _this: this @@ -460,7 +460,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step10.vue b/src/pages/processCenter/pages/phone/qbrk-product/step10.vue index f2d37a7cd..b2261be22 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step10.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step10.vue @@ -334,7 +334,7 @@ export default { assigneeNewLoading: false, dataLoading: true, disabledState: true, - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -519,7 +519,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -537,11 +537,11 @@ export default { XCSJBUSS: '', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, qcUserId: '', // 多实例 qcUserName:'', // 多实例 @@ -563,9 +563,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -904,7 +904,7 @@ export default { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -1761,7 +1761,7 @@ export default { this.saveLoading = true let _formData = new FormData() // _formData.append('id', this.bpnId) - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'laws1') _formData.append('prcName', '政策入库流程') diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step12.vue b/src/pages/processCenter/pages/phone/qbrk-product/step12.vue index a7a026ec0..897fd0564 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step12.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step12.vue @@ -334,7 +334,7 @@ export default { assigneeNewLoading: false, dataLoading: true, disabledState: true, - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -519,7 +519,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -537,11 +537,11 @@ export default { XCSJBUSS: '', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, qcUserId: '', // 多实例 qcUserName:'', // 多实例 @@ -563,9 +563,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -904,7 +904,7 @@ export default { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -1761,7 +1761,7 @@ export default { this.saveLoading = true let _formData = new FormData() // _formData.append('id', this.bpnId) - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'laws1') _formData.append('prcName', '政策入库流程') diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step13.vue b/src/pages/processCenter/pages/phone/qbrk-product/step13.vue index 3e836628d..7bc70456f 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step13.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step13.vue @@ -334,7 +334,7 @@ export default { assigneeNewLoading: false, dataLoading: true, disabledState: true, - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -519,7 +519,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -537,11 +537,11 @@ export default { XCSJBUSS: '', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, qcUserId: '', // 多实例 qcUserName:'', // 多实例 @@ -563,9 +563,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -1872,7 +1872,7 @@ export default { this.saveLoading = true let _formData = new FormData() _formData.append('id', this.bpnId || '') - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'buss2') _formData.append('prcName', '企标制修订-产品标准') diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step4.vue b/src/pages/processCenter/pages/phone/qbrk-product/step4.vue index dcf5437b7..afd1bd61f 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step4.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step4.vue @@ -252,7 +252,7 @@ export default { assigneeNewLoading: false, dataLoading: true, disabledState: true, - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -438,7 +438,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -456,11 +456,11 @@ export default { XCSJBUSS: '', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, qcUserId: '', // 多实例 qcUserName:'', // 多实例 @@ -482,9 +482,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -823,7 +823,7 @@ export default { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -1693,7 +1693,7 @@ export default { this.saveLoading = true let _formData = new FormData() // _formData.append('id', this.bpnId) - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'laws1') _formData.append('prcName', '政策入库流程') diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step7.vue b/src/pages/processCenter/pages/phone/qbrk-product/step7.vue index 111679ec7..c862ee000 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step7.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step7.vue @@ -353,7 +353,7 @@ export default { dataLoading: true, disabledState: true, taskInfo:'标准化复审', - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -539,7 +539,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -557,11 +557,11 @@ export default { XCSJBUSS: '', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, qcUserId: '', // 多实例 qcUserName:'', // 多实例 @@ -583,9 +583,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -1853,7 +1853,7 @@ export default { this.saveLoading = true let _formData = new FormData() // _formData.append('id', this.bpnId) - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'buss2') _formData.append('prcName', '企标制修订-产品标准') @@ -1967,7 +1967,7 @@ export default { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { diff --git a/src/pages/processCenter/pages/phone/qbrk-product/step8.vue b/src/pages/processCenter/pages/phone/qbrk-product/step8.vue index 76ade10a3..14202ee87 100644 --- a/src/pages/processCenter/pages/phone/qbrk-product/step8.vue +++ b/src/pages/processCenter/pages/phone/qbrk-product/step8.vue @@ -334,7 +334,7 @@ export default { assigneeNewLoading: false, dataLoading: true, disabledState: true, - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -519,7 +519,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -537,11 +537,11 @@ export default { XCSJBUSS: '', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, qcUserId: '', // 多实例 qcUserName:'', // 多实例 @@ -563,9 +563,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -904,7 +904,7 @@ export default { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -1761,7 +1761,7 @@ export default { this.saveLoading = true let _formData = new FormData() // _formData.append('id', this.bpnId) - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'laws1') _formData.append('prcName', '政策入库流程') diff --git a/src/pages/processCenter/pages/phone/qbrk/step10.vue b/src/pages/processCenter/pages/phone/qbrk/step10.vue index 9b0c1c800..fa43e370c 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step10.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step10.vue @@ -258,7 +258,7 @@ export default { drawerModal: false, assigneeNewLoading: false, disabledState: true, - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -438,7 +438,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -466,11 +466,11 @@ export default { standNum:'', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, fbUserId: '', fbUserName: '', @@ -494,9 +494,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -824,7 +824,7 @@ export default { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -1681,7 +1681,7 @@ export default { this.saveLoading = true let _formData = new FormData() _formData.append('id', this.bpnId || '') - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'laws1') _formData.append('prcName', '政策入库流程') diff --git a/src/pages/processCenter/pages/phone/qbrk/step11.vue b/src/pages/processCenter/pages/phone/qbrk/step11.vue index 21ea9c1cf..9153c4683 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step11.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step11.vue @@ -258,7 +258,7 @@ export default { drawerModal: false, assigneeNewLoading: false, disabledState: true, - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -438,7 +438,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -466,11 +466,11 @@ export default { standNum:'', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, fbUserId: '', fbUserName: '', @@ -494,9 +494,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -824,7 +824,7 @@ export default { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -1681,7 +1681,7 @@ export default { this.saveLoading = true let _formData = new FormData() _formData.append('id', this.bpnId || '') - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'laws1') _formData.append('prcName', '政策入库流程') diff --git a/src/pages/processCenter/pages/phone/qbrk/step13.vue b/src/pages/processCenter/pages/phone/qbrk/step13.vue deleted file mode 100644 index 1920eee79..000000000 --- a/src/pages/processCenter/pages/phone/qbrk/step13.vue +++ /dev/null @@ -1,2047 +0,0 @@ - - - - - diff --git a/src/pages/processCenter/pages/phone/qbrk/step4.vue b/src/pages/processCenter/pages/phone/qbrk/step4.vue index 413579f8c..f9b4a38db 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step4.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step4.vue @@ -182,7 +182,7 @@ export default { drawerModal: false, assigneeNewLoading: false, disabledState: true, - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -359,7 +359,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -387,11 +387,11 @@ export default { standNum:'', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, fbUserId: '', fbUserName: '', @@ -415,9 +415,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -760,7 +760,7 @@ export default { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -1630,7 +1630,7 @@ export default { this.saveLoading = true let _formData = new FormData() // _formData.append('id', this.bpnId) - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'laws1') _formData.append('prcName', '政策入库流程') diff --git a/src/pages/processCenter/pages/phone/qbrk/step8.vue b/src/pages/processCenter/pages/phone/qbrk/step8.vue index 7cc7176f7..7a9dc4869 100644 --- a/src/pages/processCenter/pages/phone/qbrk/step8.vue +++ b/src/pages/processCenter/pages/phone/qbrk/step8.vue @@ -278,7 +278,7 @@ export default { taskInfo:'批准', assigneeNewLoading: false, disabledState: true, - userId:this.$store.getters.userInfo.userId, + userId:this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, bpnId: this.$route.query.bpnId, @@ -459,7 +459,7 @@ export default { // 适用范围 QCDW: '', QCRBUSS: '', - WJSCRYBUSS: this.$store.getters.userInfo.userId, + WJSCRYBUSS: this.$store.getters.userInfo.account, WJSCRYBUSSName: this.$store.getters.userInfo.userName, SYCXCLASS: '', NYLXCLASS: '', @@ -487,11 +487,11 @@ export default { standNum:'', }, // 标准信息 roleForm:{ - hzUserId: this.$store.getters.userInfo.userId, + hzUserId: this.$store.getters.userInfo.account, hzUserName: this.$store.getters.userInfo.userName, - xdUserId: this.$store.getters.userInfo.userId, + xdUserId: this.$store.getters.userInfo.account, xdUserName: this.$store.getters.userInfo.userName, - pxUserId: this.$store.getters.userInfo.userId, + pxUserId: this.$store.getters.userInfo.account, pxUserName: this.$store.getters.userInfo.userName, fbUserId: '', fbUserName: '', @@ -515,9 +515,9 @@ export default { zrUserName: '', jlUserId: '', jlUserName: '', - applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserId: this.$store.getters.userInfo.account, applyUpdUserName: this.$store.getters.userInfo.userName, - prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUser: this.$store.getters.userInfo.account, prcCreateUserName: this.$store.getters.userInfo.userName, }, modelRules:{ @@ -932,7 +932,7 @@ export default { this.assigneeNewLoading = true changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -1808,7 +1808,7 @@ export default { this.saveLoading = true let _formData = new FormData() // _formData.append('id', this.bpnId) - _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUser', this.$store.getters.userInfo.account) _formData.append('createUserName', this.$store.getters.userInfo.uName) _formData.append('prcType', 'buss1') _formData.append('prcName', '企标制修订-技术标准') diff --git a/src/pages/processCenter/pages/phone/qbzxdjhgk/step2.vue b/src/pages/processCenter/pages/phone/qbzxdjhgk/step2.vue index 207ebc5fd..f1d0a3166 100644 --- a/src/pages/processCenter/pages/phone/qbzxdjhgk/step2.vue +++ b/src/pages/processCenter/pages/phone/qbzxdjhgk/step2.vue @@ -364,7 +364,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { @@ -399,7 +399,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this @@ -422,7 +422,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this diff --git a/src/pages/processCenter/pages/phone/qbzxdjhgk/step3.vue b/src/pages/processCenter/pages/phone/qbzxdjhgk/step3.vue index 250b8a677..c03cd765e 100644 --- a/src/pages/processCenter/pages/phone/qbzxdjhgk/step3.vue +++ b/src/pages/processCenter/pages/phone/qbzxdjhgk/step3.vue @@ -356,7 +356,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { @@ -391,7 +391,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this @@ -414,7 +414,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this diff --git a/src/pages/processCenter/pages/phone/qbzxdjhgk/step4.vue b/src/pages/processCenter/pages/phone/qbzxdjhgk/step4.vue index 87c4ed9cd..4c18301c9 100644 --- a/src/pages/processCenter/pages/phone/qbzxdjhgk/step4.vue +++ b/src/pages/processCenter/pages/phone/qbzxdjhgk/step4.vue @@ -356,7 +356,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { @@ -391,7 +391,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this @@ -414,7 +414,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this diff --git a/src/pages/processCenter/pages/phone/qbzxdjhgk/step5.vue b/src/pages/processCenter/pages/phone/qbzxdjhgk/step5.vue index d3de1e41b..e0180a976 100644 --- a/src/pages/processCenter/pages/phone/qbzxdjhgk/step5.vue +++ b/src/pages/processCenter/pages/phone/qbzxdjhgk/step5.vue @@ -356,7 +356,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { @@ -391,7 +391,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this @@ -414,7 +414,7 @@ export default { let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, json: json, }, { _this: this diff --git a/src/pages/processCenter/pages/phone/wbsm/step3.vue b/src/pages/processCenter/pages/phone/wbsm/step3.vue index e5e18fcdc..899f06c3d 100644 --- a/src/pages/processCenter/pages/phone/wbsm/step3.vue +++ b/src/pages/processCenter/pages/phone/wbsm/step3.vue @@ -194,7 +194,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { this.isTransfer = false @@ -360,7 +360,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/wbsm/step4.vue b/src/pages/processCenter/pages/phone/wbsm/step4.vue index 9af5831a7..0ad1f76db 100644 --- a/src/pages/processCenter/pages/phone/wbsm/step4.vue +++ b/src/pages/processCenter/pages/phone/wbsm/step4.vue @@ -194,7 +194,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { this.isTransfer = false @@ -360,7 +360,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/wbsm/step5.vue b/src/pages/processCenter/pages/phone/wbsm/step5.vue index d2f4024b2..c548fe7b9 100644 --- a/src/pages/processCenter/pages/phone/wbsm/step5.vue +++ b/src/pages/processCenter/pages/phone/wbsm/step5.vue @@ -194,7 +194,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { this.isTransfer = false @@ -360,7 +360,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/wfhxzg/step2.vue b/src/pages/processCenter/pages/phone/wfhxzg/step2.vue index 46d702c3b..63d7f3513 100644 --- a/src/pages/processCenter/pages/phone/wfhxzg/step2.vue +++ b/src/pages/processCenter/pages/phone/wfhxzg/step2.vue @@ -2,7 +2,7 @@
- +
基础信息
@@ -84,13 +84,12 @@
-
-
{ + if(res.success === true) { + this.$message.success('提交成功') + this.$router.push("/processCenter"); + } + this.isSubmit = false + }).catch(e => { + this.isSubmit = false + }) + } + + }, // 提交按钮 handleSubmit() { this.isSubmit = true @@ -301,7 +345,7 @@ export default { if(flag)return this.$message.warning('请选择分发负责人填入') const params = new FormData(); params.set('json', JSON.stringify(json)) - params.set('userId', this.$store.getters.userInfo.userId) + params.set('userId', this.$store.getters.userInfo.account) params.set('taskIds', this.taskIds) completeTask(params).then(res => { if(res.success === true) { diff --git a/src/pages/processCenter/pages/phone/wfhxzg/step3.vue b/src/pages/processCenter/pages/phone/wfhxzg/step3.vue index 620e895f8..bea3ad0ef 100644 --- a/src/pages/processCenter/pages/phone/wfhxzg/step3.vue +++ b/src/pages/processCenter/pages/phone/wfhxzg/step3.vue @@ -28,7 +28,7 @@ border ref="multipleTable" @selection-change="handleSelectionMore" - height="49%" + height="80%" style="width: 100%" :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', fontWeight: 'bold', height: '48px'}"> @@ -88,9 +88,7 @@
-
-
@@ -163,7 +161,6 @@ export default { roleTransfer: [], // 手机端选人组件 phoneRoleList: [], - showPage: false, roleTitle: '', } }, @@ -216,20 +213,19 @@ export default { if (this.newDataList.dutyPeopleId.length > 0) { this.phoneRoleList = this.newDataList.dutyPeopleId.split(',') } - this.showPage = true + this.modalshowflag = true this.roleTitle = '选择人员信息' }, - // 批量选择负责人按钮 + // 批量选择分发责任人 dutyPeopleList(id) { if (this.selectTableMore.length === 0) { this.$message.warning("请选择至少一条数据进行分发责任人"); } else { this.phoneRoleList = [] - if (this.multipleSelection[0].dutyPeopleId.length > 0) { - this.phoneRoleList = this.multipleSelection[0].dutyPeopleId.split(',') + if (this.selectTableMore[0].dutyPeopleId.length > 0) { + this.phoneRoleList = this.selectTableMore[0].dutyPeopleId.split(',') } this.modalshowflag = true - this.modalshowflag = true } }, // 勾选的列表事件 @@ -242,7 +238,7 @@ export default { // 转办按钮 handleTurnTo() { this.phoneRoleList = [] - this.showPage = true + this.modalshowflag = true this.roleTitle = '转办处理人' }, // 退回按钮 @@ -257,7 +253,7 @@ export default { } const params = new FormData(); params.set('json', JSON.stringify(json)) - params.set('userId', this.$store.getters.userInfo.userId) + params.set('userId', this.$store.getters.userInfo.account) params.set('taskIds', this.taskIds) completeTask(params).then(res => { if (res.success) { @@ -353,7 +349,7 @@ export default { if(flag)return; const params = new FormData(); params.set('json', JSON.stringify(json)) - params.set('userId', this.$store.getters.userInfo.userId) + params.set('userId', this.$store.getters.userInfo.account) params.set('taskIds', this.taskIds) completeTask(params).then(res => { if (res.success === true) { @@ -404,6 +400,7 @@ export default { this.lastDataList = this.dataList } this.modalshowflag = false + this.$refs.multipleTable.clearSelection() }, //查询按钮 diff --git a/src/pages/processCenter/pages/phone/wfhxzg/step5.vue b/src/pages/processCenter/pages/phone/wfhxzg/step5.vue index 85c16bf99..a2461caa5 100644 --- a/src/pages/processCenter/pages/phone/wfhxzg/step5.vue +++ b/src/pages/processCenter/pages/phone/wfhxzg/step5.vue @@ -2,7 +2,7 @@
- +
基础信息
@@ -50,7 +50,7 @@
- +
-
- -
+
{ if (res.success) { this.$message.success('提交成功') @@ -268,7 +266,7 @@ export default { this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success('驳回成功') diff --git a/src/pages/processCenter/pages/phone/xmpg/step4.vue b/src/pages/processCenter/pages/phone/xmpg/step4.vue index 4ac9b67ab..e12836d5f 100644 --- a/src/pages/processCenter/pages/phone/xmpg/step4.vue +++ b/src/pages/processCenter/pages/phone/xmpg/step4.vue @@ -2,7 +2,7 @@
- +
基础信息
@@ -22,22 +22,8 @@
- - - - - - + +
@@ -47,22 +33,8 @@ @@ -72,14 +44,19 @@ + fontWeight: 'bold'}" + > + + + + - - @@ -174,9 +152,9 @@ label="不涉及理由"> @@ -269,7 +247,7 @@ export default { dataList: [], //展示的标准数据 commentText: "", //审批意见 detailData: [],//流程历史数据 - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId }; @@ -295,7 +273,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { this.isTransfer = false @@ -338,7 +316,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/xmpg/step5.vue b/src/pages/processCenter/pages/phone/xmpg/step5.vue index f1ed18dbc..b980d70f3 100644 --- a/src/pages/processCenter/pages/phone/xmpg/step5.vue +++ b/src/pages/processCenter/pages/phone/xmpg/step5.vue @@ -22,22 +22,8 @@
- - - - - - + +
@@ -47,22 +33,8 @@ @@ -72,14 +44,19 @@ + fontWeight: 'bold'}" + > + + + + - - @@ -174,9 +152,9 @@ label="不涉及理由"> @@ -267,7 +245,7 @@ export default { dataList: [], //展示的标准数据 commentText: "", //审批意见 detailData: [],//流程历史数据 - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId }; @@ -293,7 +271,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { this.isTransfer = false @@ -336,7 +314,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/xmqdqr/step5.vue b/src/pages/processCenter/pages/phone/xmqdqr/step5.vue index 7fe638983..5f8d94248 100644 --- a/src/pages/processCenter/pages/phone/xmqdqr/step5.vue +++ b/src/pages/processCenter/pages/phone/xmqdqr/step5.vue @@ -284,7 +284,7 @@ export default { dataList: [], //展示的标准数据 commentText: "", //审批意见 detailData: [],//流程历史数据 - userId: this.$store.getters.userInfo.userId, + userId: this.$store.getters.userInfo.account, taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, standMap: new Map(), @@ -326,7 +326,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res => { this.isTransfer = false @@ -369,7 +369,7 @@ export default { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 + userId: this.$store.getters.userInfo.account, // 委托人 pId: this.$route.query.prcId // 流程实例 }).then(res =>{ if (res.success) { diff --git a/src/pages/processCenter/pages/phone/zczqyj/step4.vue b/src/pages/processCenter/pages/phone/zczqyj/step4.vue index a32b246f8..fa37f0aa5 100644 --- a/src/pages/processCenter/pages/phone/zczqyj/step4.vue +++ b/src/pages/processCenter/pages/phone/zczqyj/step4.vue @@ -217,7 +217,7 @@ export default { checkedRole (data) { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -266,7 +266,7 @@ export default { this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success('提交成功') @@ -284,7 +284,7 @@ export default { this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success('提交成功') diff --git a/src/pages/processCenter/pages/phone/zczqyj/step5.vue b/src/pages/processCenter/pages/phone/zczqyj/step5.vue index 81b92a681..986e1b5f6 100644 --- a/src/pages/processCenter/pages/phone/zczqyj/step5.vue +++ b/src/pages/processCenter/pages/phone/zczqyj/step5.vue @@ -331,7 +331,7 @@ export default { department: this.form.form.department, id: id, responUserName: this.$store.getters.userInfo.userName, - responUser: this.$store.getters.userInfo.userId, + responUser: this.$store.getters.userInfo.account, addFlag:true, // department: this.$store.getters.userInfo.orgName } @@ -343,7 +343,7 @@ export default { checkedRole (data) { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -422,7 +422,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("提交成功"); @@ -441,7 +441,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskIds: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("驳回成功"); diff --git a/src/pages/processCenter/pages/phone/zczqyj/step6.vue b/src/pages/processCenter/pages/phone/zczqyj/step6.vue index bb3b361d4..938886a08 100644 --- a/src/pages/processCenter/pages/phone/zczqyj/step6.vue +++ b/src/pages/processCenter/pages/phone/zczqyj/step6.vue @@ -225,7 +225,7 @@ export default { checkedRole (data) { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -308,7 +308,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("提交成功"); @@ -327,7 +327,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskIds: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("驳回成功"); diff --git a/src/pages/processCenter/pages/phone/zczqyj/step7.vue b/src/pages/processCenter/pages/phone/zczqyj/step7.vue index 4cdea517c..197a4d872 100644 --- a/src/pages/processCenter/pages/phone/zczqyj/step7.vue +++ b/src/pages/processCenter/pages/phone/zczqyj/step7.vue @@ -226,7 +226,7 @@ export default { checkedRole (data) { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -309,7 +309,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("提交成功"); @@ -328,7 +328,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskIds: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("驳回成功"); diff --git a/src/pages/processCenter/pages/phone/zczqyj/step8.vue b/src/pages/processCenter/pages/phone/zczqyj/step8.vue index 757c4a619..8032fe195 100644 --- a/src/pages/processCenter/pages/phone/zczqyj/step8.vue +++ b/src/pages/processCenter/pages/phone/zczqyj/step8.vue @@ -225,7 +225,7 @@ export default { checkedRole (data) { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -308,7 +308,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("提交成功"); @@ -327,7 +327,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskIds: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("驳回成功"); diff --git a/src/pages/processCenter/pages/phone/zczqyj/step9.vue b/src/pages/processCenter/pages/phone/zczqyj/step9.vue index 42c8eb21f..a27bbe11d 100644 --- a/src/pages/processCenter/pages/phone/zczqyj/step9.vue +++ b/src/pages/processCenter/pages/phone/zczqyj/step9.vue @@ -225,7 +225,7 @@ export default { checkedRole (data) { changeAssigneeNew({ taskId: this.$route.query.taskIds, // 任务id - userId:this.$store.getters.userInfo.userId, // 委托人 + userId:this.$store.getters.userInfo.account, // 委托人 assignee: data[0].id, // 被委托人 pId: this.$route.query.prcId, // 流程实例 }).then(res => { @@ -308,7 +308,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("提交成功"); @@ -327,7 +327,7 @@ export default { this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), taskIds: this.taskIds, - userId: this.$store.getters.userInfo.userId + userId: this.$store.getters.userInfo.account }, {}, res => { if (res.success) { this.$message.success("驳回成功"); diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue index 09d778786..311faf9e8 100644 --- a/src/pages/processCenter/pages/processDetail/index.vue +++ b/src/pages/processCenter/pages/processDetail/index.vue @@ -207,6 +207,7 @@ export default { row.taskInfo = row.name row.tabsName = this.$route.query.tabsName let prcType = this.detailData[index].prcType // 流程类型 + console.log(prcType); // 判断当前流程是否已全部办理完成 this.detailData.map(item => { if (!item.endTime) { @@ -230,6 +231,9 @@ export default { }else if(prcType === 'laws1'){ //政策入库 this.toProcessDetail('zcrkStep5',row) + }else if(prcType === 'laws2'){ + //政策入库 + this.toProcessDetail('zczqyjStep9Detil',row) }else if(prcType === 'buss1'){ //企标入库 this.toProcessDetail('bussLibraryDetail',row) @@ -280,6 +284,9 @@ export default { }else if(prcType === '25'){ //企标制修订计划管控 this.toProcessDetail('qbzxdjhgkStep1-5',row) + }else if(prcType === '26'){ + //企标制修订计划立项 + this.toProcessDetail('qbzxdlxStep1-2',row) } } else { this.$message.warning('当前流程未全部办理完成,无法查看') diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue index 2a46e9847..f935713ac 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue @@ -503,7 +503,7 @@ export default { }) }else if (row.taskInfo === '重新发起入库流程'){ this.$router.push({ - name: 'zcrkStep1', + name: 'zcrkStep3', query: { taskIds: row.taskIds, prcId: row.prcId, @@ -1457,7 +1457,7 @@ export default { prcType: row.prcType } }) - } else if(row.taskInfo === '法规认证部副总监批准'){ + } else if(row.taskInfo === '法规认证部副总监审核'){ this.$router.push({ name: 'zdrzbzORzchgxxmscStep3', query: { @@ -1529,7 +1529,7 @@ export default { } }) } - else if(row.taskInfo === '法规认证部副总监审定'){ + else if(row.taskInfo === '法规认证部副总监批准'){ this.$router.push({ name: 'zdrzbzORzchgxxmscStep9', query: { diff --git a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue index 522e7161c..2388596ef 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue @@ -724,11 +724,11 @@ export default { } }) break - case '12': + case 'laws2': this.$router.push({ name: 'zczqyjStep1', query: { - type: '12', + type: 'laws2', processName: '政策征求意见流程', bpnId: id } @@ -817,9 +817,9 @@ export default { } }) break - // 标准入库、 + // 政策入库、 case 'laws1': - if(mes !== null && mes.taskInfo !== null){ + if(mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) { if (mes.taskInfo === '申请人发起') { this.$router.push({ name: 'zcrkStep1', @@ -843,7 +843,7 @@ export default { } }else { this.$router.push({ - name: 'zcrkStep3', + name: 'zcrkStep1', query: { type: '1', processName: '申请人发起流程', diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue index 6071af3b9..21dfae7f8 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue @@ -8,9 +8,9 @@ - - - + + + diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue index 5f82860d2..30d9299cf 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue @@ -32,7 +32,7 @@ class="common-button-primary" size="small" v-btn-permission="'072efe80c5459dd47fedd2d14f59ff7f'" - @click="searchSarAccess"> + @click="searchSarAccessPage1"> 查询 @@ -263,8 +263,8 @@ export default { searchSarAccess() { this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", { sortKey: 1, - page: 1, - pageSize: 10, + page: this.sarSarAccessEOSearch.page, + pageSize: this.sarSarAccessEOSearch.pageSize, ...this.sarSarAccessEOSearch }, { _this: this @@ -286,7 +286,7 @@ export default { }); this.tableLoading = false; this.sarAccessListDatas = arr; - this.sarSarAccessEOSearch.page = 1; + // this.sarSarAccessEOSearch.page = 1; this.sarAccessListTotal = res.data.total; }, e => { @@ -300,6 +300,10 @@ export default { this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent; this.searchSarAccess(); }, + searchSarAccessPage1() { + this.sarSarAccessEOSearch.page = 1 + this.searchSarAccess(); + }, clearSearch() { this.sarSarAccessEOSearch.countryArea = ""; this.sarSarAccessEOSearch.detailedListName = ""; diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue index f9c6e5e90..241173801 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking.vue @@ -83,13 +83,18 @@ width="250" label="标准编号/政策编号" align="center"> + + width="300px"> + { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 33f1fb764..29a2cad08 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -748,6 +748,7 @@ export default { }, data() { return { + seniorQueryFlag: false, textStatusMap: {}, countryAreaMap: {}, // 编辑抽屉状态 @@ -1036,7 +1037,9 @@ export default { // formData.issueTime = formData.issueTime ? formData.issueTime[1] : null }*/ this.sarAccessInfo = formData + this.sarAccessInfo.page = 1 this.showQueryMore = false + this.seniorQueryFlag = true this.selectLawsStands(1) }, @@ -1100,6 +1103,7 @@ export default { }, // 点数据搜索 查询按钮 事件 searchLawsStands() { + this.seniorQueryFlag = false this.showTableFlag = false this.sarAccessInfo.page = 1 this.selectLawsStands() @@ -1437,6 +1441,7 @@ export default { rowlist2 = rowlist2.join(';') rowlist3 = rowlist3.join(';') let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO)) + sarAccessEO.reNewPeople = this.$store.getters.userInfo.userId sarAccessEO.inforlist = rowlist sarAccessEO.inforlist1 = rowlist1 sarAccessEO.inforlist2 = rowlist2 @@ -1639,12 +1644,21 @@ export default { drawerPageChange(page) { this.drawerPage = page this.sarAccessInfo.page = this.drawerPage - this.selectLawsStands() + if (this.seniorQueryFlag) { + this.selectLawsStands(1) + } else { + this.selectLawsStands() + } + }, // 数据搜索table分页条数改变回调 drawerPageSizeChange() { this.sarAccessInfo.pageSize = this.$store.getters.userInfo.configContent - this.selectLawsStands() + if (this.seniorQueryFlag) { + this.selectLawsStands(1) + } else { + this.selectLawsStands() + } }, // 点击 导出、全部导出按钮事件 exportAccessInfo(type) { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 1145a49cd..ed432e8f9 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -162,7 +162,6 @@ @@ -170,14 +169,12 @@ @@ -458,7 +455,7 @@ import { interfaceUrl } from "@/sysConfig"; import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle' import CustomSelectArray from "@/components/CustomFormComponents/SelectArray"; -import { StandardsInfoPage } from "api/unqualProcess"; +import { StandardsInfoPage, selectHighLawsById } from "api/unqualProcess"; export default { name: "AccessStandardDetails", @@ -648,24 +645,61 @@ export default { }*/ this.sarAccessInfo = formData this.showQueryMore = false - this.selectLawsStands() + this.selectLawsStands(1) }, // 查询数据搜索 table 数据 - selectLawsStands() { + selectLawsStands(type) { if (this.sarAccessInfo.dataSource === 'INLAND_STAND') { this.sarAccessInfo.standType = 'INLAND' - this.pageInfo() + if (type === 1) { + this.seniorPageInfo() + } else { + this.pageInfo() + } } else if (this.sarAccessInfo.dataSource === 'FOREIGN_STAND') { this.sarAccessInfo.standType = 'FOREIGN' - this.pageInfo() + if (type === 1) { + this.seniorPageInfo() + } else { + this.pageInfo() + } } else if (this.sarAccessInfo.dataSource === 'FOREIGN_LAWS') { this.sarAccessInfo.standType = 'LAWS' - this.pageInfo() + if (type === 1) { + this.seniorPageInfo() + } else { + this.pageInfo() + } } else if (this.sarAccessInfo.dataSource === 'BUSINESS') { this.sarAccessInfo.standType = 'BUSINESS' - this.pageInfo() + if (type === 1) { + this.seniorPageInfo() + } else { + this.pageInfo() + } } }, + seniorPageInfo() { + this.sarAccessInfo.standType = '' + this.sarAccessInfo.qdFlag = '1' + this.sarAccessInfo.qdid = this.$route.params.id + selectHighLawsById((this.sarAccessInfo)).then(res => { + this.standinfoList = res.data.list + this.standinfoList.forEach(item => { + if (item.standYear === null) { + item.standNumber = item.standSortShow + ' ' + item.standNumber + } else { + item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear + } + item.zrbm = item.attrInfoCaseMap.zrbm + item.sycpx = item.attrInfoCaseMap.sycpx + item.typeApplicable = item.attrInfoMap.CLLX + item.nylx = item.attrInfoMap.NYLX + }) + this.total = res.data.count + }, e => { + }) + }, pageInfo() { if (this.sarAccessInfo.dataSource === 'INLAND_STAND' || this.sarAccessInfo.dataSource === 'FOREIGN_STAND') { StandardsInfoPage((this.sarAccessInfo)).then(res => { @@ -1027,7 +1061,7 @@ export default { name: "OtherStandardDetails", params: { id: data.id, - pageType: data.standType, + pageType: data.standType === 'INLAND' ? 'INLAND_STAND' : data.standType, } }); window.open(routeUrl.href, "_blank"); diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 93ed74549..7d920a155 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -106,7 +106,7 @@ size="mini" class="common-button-primary" v-btn-permission="'967c8b1402459951b5f75fcd1c548665'" - @click="searchBtnClick(standCommonlySearch)"> + @click="searchBtnClick(standCommonlySearch, 1)"> 查询
- - - - -
+ + + + + + + + + +
- {{ opt.label }} @@ -1978,6 +1979,10 @@ :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"> + + + + @@ -2424,6 +2429,7 @@ export default { //高级搜索映射 advanceSearchMapping: { + BFDTBZ: '', txlbOption: '', //标准体系 GXHBQ: '', //标签 CYSD: '', //我司参与深度 @@ -3718,9 +3724,9 @@ export default { this.getDomesticStandardTable(this.standCommonlySearch) }, // 点击搜索按钮 - searchBtnClick(standCommonlySearch) { + searchBtnClick(standCommonlySearch, type) { let item = this.standCommonlySearch - this.getDomesticStandardTable(item) + this.getDomesticStandardTable(item, type) }, // 搜索 getDomesticStandardTableBtn(item) { @@ -3818,7 +3824,7 @@ export default { // 高级检索 selectMoreBtn() { this.isAdvancedSearch = true - this.sarStandardsSearch = {} + // this.sarStandardsSearch = {} }, treeCollapse() { this.sideClose = !this.sideClose @@ -4542,7 +4548,7 @@ export default { // 此处需要调用接口,修改个人配置 }, // 分页查询国内标准 - getDomesticStandardTable(item) { + getDomesticStandardTable(item, type) { if (item !== '' && item !== null && item !== undefined) { item.pageSize = this.$store.getters.userInfo.configContent } @@ -4619,13 +4625,15 @@ export default { } } if(item){ - if(item.advanceSearchVOStr.length){ - advanceSearchVOList.push({ - connect: item.advanceSearchVOStr[0].connect, - field: item.advanceSearchVOStr[0].field, - type: item.advanceSearchVOStr[0].type, - value: item.advanceSearchVOStr[0].value, - }) + if(item.advanceSearchVOStr){ + if(item.advanceSearchVOStr.length){ + advanceSearchVOList.push({ + connect: item.advanceSearchVOStr[0].connect, + field: item.advanceSearchVOStr[0].field, + type: item.advanceSearchVOStr[0].type, + value: item.advanceSearchVOStr[0].value, + }) + } } } formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList) @@ -4663,6 +4671,9 @@ export default { if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.sarStandardsSearch.page !== 1) { this.pageChange(1) } + if (type === 1) { + this.sarStandardsSearch = {} + } } else { this.$message.error(res.message) } diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index e82071769..4720b184e 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -764,6 +764,17 @@ :disabled="true" > + @@ -575,7 +574,7 @@ > - +