diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue index 0e1e083c2..8df138551 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue @@ -14,6 +14,7 @@ @@ -499,7 +500,7 @@ _this: this }, res => { this.standInfoList = res.data.list - this.total = res.data.total + this.total = res.data.count this.spinShow = false }, e => { }) diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue index 1ebcac3fe..45d18b0dc 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue @@ -198,6 +198,7 @@ { + this.saveLoading = false + this.$message.success('保存成功') + }).catch(e => { + this.saveLoading = false + }) + }, handleSubmit() { this.$refs['bzzqyjForm'].validate((valid) => { if (valid) { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue index b1513d569..ffb1fd8fe 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue @@ -530,7 +530,12 @@ this.form.itemsName1 = data.itemsName1 this.sarType = data.standInData this.json = data - const itemList = JSON.parse(data.itemList) + let itemList + if (typeof (data.itemList) == 'string') { + itemList = JSON.parse(data.itemList) + } else { + itemList = data.itemList + } itemList.forEach(item => { item.unitDeptName = this.$store.getters.userInfo.orgName item.onlineData = '' @@ -542,6 +547,7 @@ item.technicalRequir = '' item.itemsTitle = item.itermsConditions }) + console.log(2); this.itemList = itemList this.loading = false }).catch(e => { diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index 4701fe62d..32977c38e 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -976,38 +976,51 @@ 提交 - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + item.id).join(",") + this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",") + } + this.modalshowflag2 = true + }, + checkedRole2 (data) { + var idList = '' + var nameList = '' + data.forEach( item => { + if (nameList.length > 0) { + nameList += ',' + idList += ',' + } + idList += item.id + nameList += item.name + }) + this.zrUserIds = idList + this.zrUserIds = nameList + }, + checkedRole (data) { + if (this.userType === 'jlUserId') { + this.roleForm.jlUserId = data[0].id + this.roleForm.jlUserName = data[0].name + }else if(this.userType === 'zrUserId'){ + this.roleForm.zrUserId=data[0].id; + this.roleForm.zrUserName=data[0].name; + + } + + + }, // z责任人会签姓名搜索 filterNode(value, data) { if (!value) return true; @@ -1792,6 +1840,7 @@ }, getTree () { this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { + this.treeData = res.data }) }, diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/historicalData.vue b/src/pages/regulatoryRepository/nonConfomity/pages/historicalData.vue index a520ab673..ac1ad2ac2 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/historicalData.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/historicalData.vue @@ -232,7 +232,7 @@
{{historySeeForm.qaEngineer}}
-
{{historySeeForm.actualCloseTime}}
+
{{historySeeForm.actualCloseTime ? historySeeForm.actualCloseTime.substring(0, 11) : '-'}}
diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue index 514caf49e..01f2866bd 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue @@ -5,7 +5,7 @@
- @@ -269,7 +269,7 @@
{{historySeeForm.qaEngineer}}
-
{{historySeeForm.planCloseTime}}
+
{{historySeeForm.planCloseTime ? historySeeForm.planCloseTime.substring(0, 11) : '-'}}
@@ -384,7 +384,7 @@
验证时间:
-
{{(item.validTime ? item.validTime.substring(0, 11): '')}}
+
{{(item.validTime ? item.validTime.substring(0, 11) : '')}}
验证结果:
@@ -430,6 +430,7 @@ export default { pageNo: 1, nonConformitySearch: { standId: '', // 标准号/名称 + standSerialNumber:'', productName: '', // 项目名称 responsibleUnit: '' // 责任部门 }, @@ -591,16 +592,18 @@ export default { this.$nextTick(() => { const arr = [] let questionType = [] - questionType = this.historySeeForm.quesType.split(',') - questionType.map((item) => { - this.optionList.map((opr) => { - if (item === opr.value) { - item = opr.label - arr.push(item) - } + if (this.historySeeForm.quesType) { + questionType = this.historySeeForm.quesType.split(',') + questionType.map((item) => { + this.optionList.map((opr) => { + if (item === opr.value) { + item = opr.label + arr.push(item) + } + }) }) - }) - this.historySeeForm.quesType = arr.toString() + this.historySeeForm.quesType = arr.toString() + } }) }, //点击编辑按钮事件 diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue index 578bec260..2af3b6084 100644 --- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue +++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue @@ -32,54 +32,52 @@ 添加 导出
-
-
- + - - - - - - - - - - - - -
+ + + + + + + + + + + +
{ this.standinfoList = res.data.records + console.log(this.standinfoList); this.total = res.data.total this.spinShow = false - res.data.records.forEach(item => { - if (item.ideaKey == 1) { - this.ideaKey = false - } else { - this.ideaKey = true - } - }) }, e => { }) }, @@ -388,6 +380,7 @@ display: flex; margin:10px 0; flex-direction: column; + padding: 0; .el-tabs{ height: 100%; display: flex; diff --git a/src/sysConfig/index.js b/src/sysConfig/index.js index efe1b4c11..3ea4b4abd 100644 --- a/src/sysConfig/index.js +++ b/src/sysConfig/index.js @@ -6,7 +6,7 @@ // 服务器地址 // const devIp = '10.96.10.171' // const devInterfacePORT = '9999' -const devIp = '10.96.170.156' +const devIp = '127.0.0.1' const devInterfacePORT = '9999' // 云端端口号 const DEV_CLOUD_RES_INTERFACE_PORT = '7777' @@ -31,7 +31,7 @@ const processPort = '17210' *****************************************************************/ // 生产环境配置 const prodIp = '62.234.136.153' -const prodInterfacePORT = '8033' +const prodInterfacePORT = '8038' // 判断环境