diff --git a/src/App.vue b/src/App.vue index fc1f8863f..f86104cae 100644 --- a/src/App.vue +++ b/src/App.vue @@ -341,7 +341,6 @@ export default { //background: url('~@/assets/images/shangqi/home/BG.png') no-repeat; background-size: 100% 100%; font-family: MicrosoftYaHei, 微软雅黑; - & > div { position: absolute; top: 0; diff --git a/src/components/CustomFormComponents/File.vue b/src/components/CustomFormComponents/File.vue index fb95df303..6d892b758 100644 --- a/src/components/CustomFormComponents/File.vue +++ b/src/components/CustomFormComponents/File.vue @@ -267,7 +267,11 @@ export default { }, uploadSuccess(res, file, fileList) { if (res.ok) { - // this.value += res.data.id + ',' + let obj = {name: '', response: {}} + obj.name = file.response.data.oldFileName + 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('success') this.$message({ @@ -314,7 +318,6 @@ export default { this.$emit('input', '') } } - const showFileList = [] fileList.map(item => { let obj = {name: '', response: {}} diff --git a/src/components/CustomFormComponents/InputForAllStandards2.vue b/src/components/CustomFormComponents/InputForAllStandards2.vue index b50ead6cd..cd4220446 100644 --- a/src/components/CustomFormComponents/InputForAllStandards2.vue +++ b/src/components/CustomFormComponents/InputForAllStandards2.vue @@ -196,7 +196,11 @@ }, computed: { placeholder () { - return `${this.placeholderText}` + if (this.placeholderText){ + return `${this.placeholderText}` + } else { + return `请输入${this.config.attrName}` + } }, showMessage () { return `${this.config.attrName}不能为空` diff --git a/src/pages/home2/components/todoList/index.vue b/src/pages/home2/components/todoList/index.vue index aa12dfeff..96979893b 100644 --- a/src/pages/home2/components/todoList/index.vue +++ b/src/pages/home2/components/todoList/index.vue @@ -1423,6 +1423,170 @@ export default { } }) break + case '23': + if (row.taskInfo === '工作组组长指派责任人') { + this.$router.push({ + name: 'qbfsStep2', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } else if(row.taskInfo === '工作组成员标准复审') { + this.$router.push({ + name: 'qbfsStep3', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + }else if(row.taskInfo === '工作组组长审批') { + this.$router.push({ + name: 'qbfsStep4', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } + break + case '24': + if (row.taskInfo === '标准法规部部长审核') { + this.$router.push({ + name: 'qbfzStep2', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } else if(row.taskInfo === '会签并填写意见') { + this.$router.push({ + name: 'qbfzStep3', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } else if(row.taskInfo === '起草人修改标准状态') { + this.$router.push({ + name: 'qbfzStep4', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } else if(row.taskInfo === '标准法规部部长审核1') { + this.$router.push({ + name: 'qbfzStep5', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } + else if(row.taskInfo === '审定责任人审定') { + this.$router.push({ + name: 'qbfzStep6', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + }else if(row.taskInfo === '批准负责人批准') { + this.$router.push({ + name: 'qbfzStep7', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } + break + case '25': + if (row.taskInfo === '部门高级经理审批') { + this.$router.push({ + name: 'qbzxdjhgkStep2', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } else if(row.taskInfo === '部门中心主任会签') { + this.$router.push({ + name: 'qbzxdjhgkStep3', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + }else if(row.taskInfo === '标准法规工作组组长审定') { + this.$router.push({ + name: 'qbzxdjhgkStep4', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + }else if(row.taskInfo === '标准法规部部长审批') { + this.$router.push({ + name: 'qbzxdjhgkStep5', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + }else if(row.taskInfo === '企标制修订计划整改') { + this.$router.push({ + name: 'qbzxdjhgkStep1', + query:{ + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } + break case 'laws2': if (row.taskInfo === '责任对接人进行任务下发') { this.$router.push({ diff --git a/src/pages/processCenter/pages/components/ProcessMixin.vue b/src/pages/processCenter/pages/components/ProcessMixin.vue index 2f3eace54..b4308c0c2 100644 --- a/src/pages/processCenter/pages/components/ProcessMixin.vue +++ b/src/pages/processCenter/pages/components/ProcessMixin.vue @@ -38,7 +38,7 @@ export default { value: "4" }, { - label: "项目合规评估流程-标准", + label: "标准合规评估流程", value: "5" }, { @@ -57,6 +57,14 @@ export default { label: '项目清单确认流程', value: "10" }, + { + label: "政策课题组参会流程", + value: "18" + }, + { + label: "政策课题组入会流程", + value: "17" + }, { label: "外部署名推荐审批流程", value: "16" @@ -66,7 +74,7 @@ export default { value: "15" }, { - label: "参与外部标准制修订信息提报六合彩能", + label: "参与外部标准制修订信息提报流程", value: "14" }, { diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue index 804dfd70f..60a3757f0 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue @@ -209,7 +209,7 @@ @checkedRole="checkedRole" :nodeList="nodeList" > - +
@@ -234,6 +235,7 @@
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue index 9ba5342de..db7a545f7 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue @@ -199,7 +199,6 @@
{ + this.$refs.filterTable.doLayout(); + }); + }, PLedit () { if (this.zrIdList.length > 0) { this.PLmodalType = 2 @@ -1114,6 +1119,7 @@ } }, mounted () { + window.addEventListener('resize', this.handleResize); this.$http.get('sys/dictype/getDicTypeListCode', '', { _this: this }, res => { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue index 0a73ae122..7391b50e6 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue @@ -130,7 +130,7 @@ { + this.$refs.filterTable.doLayout(); + }); + }, getBDList () { this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', { standHisId: this.oldNumber, @@ -515,6 +520,7 @@ export default { }, }, mounted () { + window.addEventListener('resize', this.handleResize); this.getHistoryData() this.getData() } diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue index 408e2fc85..2f8607d61 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue @@ -91,7 +91,7 @@ { + this.$refs.filterTable.doLayout(); + }); + }, PLedit () { if (this.zrIdList.length > 0) { this.PLmodalType = 2 @@ -1136,6 +1141,7 @@ export default { } }, mounted() { + window.addEventListener('resize', this.handleResize); this.$http.get('sys/dictype/getDicTypeListCode', '', { _this: this }, res => { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue index 4687aff42..a7ed154ae 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue @@ -69,7 +69,7 @@ 批量编辑 { + this.$refs.filterTable.doLayout(); + }); + }, handleTransfer() { this.drawerModal = true }, @@ -515,6 +520,7 @@ }, }, mounted () { + window.addEventListener('resize', this.handleResize); this.getHistoryData() this.getData() } diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue index f251e5df6..147e90c22 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue @@ -69,7 +69,7 @@ 批量编辑 { + this.$refs.filterTable.doLayout(); + }); + }, getBDList () { this.$http.get('lawss/sarStandItemsCompareHis/getStandItemsCompareHisList', { standHisId: this.oldNumber, @@ -902,6 +906,7 @@ }, }, mounted () { + window.addEventListener('resize', this.handleResize); this.getHistoryData() this.getData() this.$http.get('sys/dictype/getDicTypeListCode', '', { diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue index 1095dfb25..6e2e6cfcb 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue @@ -66,7 +66,7 @@
+ @@ -344,6 +350,11 @@ ProcessTitle }, methods: { + handleResize() { + this.$nextTick(()=> { + this.$refs.filterTable.doLayout(); + }); + }, checkBD (id,id2,itemsNum) { let itemsEoPage = { oldItemId: id, @@ -501,6 +512,7 @@ }, }, mounted () { + window.addEventListener('resize', this.handleResize); this.getHistoryData() this.getData() } diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue index 384a42003..aff836e6c 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue @@ -66,7 +66,7 @@ { + this.$refs.filterTable.doLayout(); + }); + }, checkBD (id,id2,itemsNum) { let itemsEoPage = { oldItemId: id, @@ -489,6 +494,7 @@ }, }, mounted () { + window.addEventListener('resize', this.handleResize); this.getHistoryData() this.getData() } diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue index 5d7a6ccba..32854297b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue @@ -66,7 +66,7 @@ { + this.$refs.filterTable.doLayout(); + }); + }, checkBD (id,id2,itemsNum) { let itemsEoPage = { oldItemId: id, @@ -487,6 +492,7 @@ }, }, mounted () { + window.addEventListener('resize', this.handleResize); this.getHistoryData() this.getData() } diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue index 6aca6b40d..77380b703 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue @@ -161,6 +161,7 @@ - + @@ -78,22 +78,15 @@ placeholder="请输入体系结构" :maxlength="500"/> - + - - - - - - - - - - - - - -
@@ -139,9 +115,26 @@ >
- + + + + + + + - + - + @@ -419,7 +412,13 @@ export default { }, { _this: this, }, res => { - this.standinfoList = res.data.list + this.standinfoList = [] + //展示的数据只能是未开始的 + res.data.list.forEach(item => { + if(item.planStatus === '0'){ + this.standinfoList.push(item) + } + }) this.total = res.data.count }) diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/delay.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/delay.vue index 2b0953c9e..a6588fd7f 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/delay.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/delay.vue @@ -63,11 +63,11 @@ placeholder="请选择初稿完成时间"> - + @@ -77,11 +77,11 @@ placeholder="请输入体系结构" :maxlength="500"/> - + @@ -94,13 +94,6 @@
- - - - - - - - - - - - - -
@@ -146,9 +122,26 @@ >
- + + + + + + + - + - + @@ -440,7 +433,13 @@ export default { }, { _this: this, }, res => { - this.standinfoList = res.data.list + this.standinfoList = [] + //展示的数据只能是未开始的 + res.data.list.forEach(item => { + if(item.planStatus === '0'){ + this.standinfoList.push(item) + } + }) this.total = res.data.count }) diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue index 221b2be10..00423d7c1 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue @@ -27,15 +27,6 @@ placeholder="请输入企标名称" :maxlength="500"/> - - - - - - - - - @@ -50,6 +41,12 @@ @click.native="choiceZRRS('1')"> + + + + + @@ -78,13 +75,7 @@ placeholder="请选择计划标准发布时间"> - - - - - - + @@ -92,7 +83,7 @@ @@ -110,9 +101,9 @@ @click.native="choiceTXJG(qbfsForm.tsJson)"> - - + - - + @@ -146,25 +137,29 @@ - - - - + + + - + @@ -272,7 +267,7 @@ custom-class="demo-drawer" >
-
+
{ - this.BZList = res.data.ENERGYTYPES //标准范围 + this.cbcdOptions = res.data.DEGREESTANDARD //采标程度 + this.BZList = res.data.ENERGYTYPES //适用车型 this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 this.standSystemOptions = res.data.TXLBBUSS // 体系结构 this.qcdwOptions = res.data.QCDW // 起草单位 + }) }, methods: { @@ -489,13 +485,14 @@ export default { this.clearQYBZ() }, QYBZenterDrawer () { + console.log(this.QYBZformSelect); if (this.QYBZformSelect.length > 1) { this.$message.warning('请选择一条标准') } else if (this.QYBZformSelect.length < 1){ this.$message.warning('请选择要带入的标准') } else { this.qbfsForm.rqbJson = this.QYBZformSelect[0].id - this.qbfsForm.rqbName = this.QYBZformSelect[0].standName + this.qbfsForm.rqbName = this.QYBZformSelect[0].standCode this.clearQYBZ() this.QYBZmodal = false } @@ -550,6 +547,9 @@ export default { if(this.qbfsForm.unit){ this.$refs.qbfsForm.validateField('unit') } + if(this.qbfsForm.unitName){ + this.$refs.qbfsForm.validateField('unitName') + } }, choiceZRR() { this.nodeList = []; diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/merge.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/merge.vue index 4f9347a76..410c5f819 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/merge.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/merge.vue @@ -20,9 +20,6 @@ - - - @@ -34,9 +31,6 @@ - - - @@ -90,13 +84,7 @@ placeholder="请选择初稿完成时间"> - - - - - - + @@ -104,7 +92,7 @@ @@ -112,17 +100,21 @@ - - - - + + + - + + + - - - - - - - - - + + + + + + + + + + + - - + @@ -192,14 +199,6 @@ v-model="qbfsForm.esStandRelations" > - - -
@@ -440,7 +439,7 @@ custom-class="demo-drawer" >
-
+
{ - this.BZList = res.data.ENERGYTYPES //标准范围 + this.cbcdOptions = res.data.DEGREESTANDARD //采标程度 + this.BZList = res.data.ENERGYTYPES //适用车型 this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 this.standSystemOptions = res.data.TXLBBUSS // 体系结构 this.qcdwOptions = res.data.QCDW // 起草单位 @@ -696,7 +695,7 @@ export default { this.$message.warning('请选择要带入的标准') } else { this.qbfsForm.rqbJson = this.QYBZformSelect[0].id - this.qbfsForm.rqbName = this.QYBZformSelect[0].standName + this.qbfsForm.rqbName = this.QYBZformSelect[0].standCode this.clearQYBZ() this.QYBZmodal = false } @@ -871,7 +870,13 @@ export default { }, { _this: this, }, res => { - this.standinfoList = res.data.list + this.standinfoList = [] + //展示的数据只能是未开始的 + res.data.list.forEach(item => { + if(item.planStatus === '0'){ + this.standinfoList.push(item) + } + }) this.total = res.data.count }) diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/rename.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/rename.vue index 6d859619d..1ddae5222 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/rename.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/rename.vue @@ -63,11 +63,11 @@ placeholder="请选择初稿完成时间"> - + @@ -77,11 +77,11 @@ placeholder="请输入体系结构" :maxlength="500"/> - + @@ -93,13 +93,6 @@ - - - - - - - + +
+ + + +
+
+ +
+
- -
- - - -
-
- -
-
- - + - + @@ -427,7 +420,13 @@ export default { }, { _this: this, }, res => { - this.standinfoList = res.data.list + this.standinfoList = [] + //展示的数据只能是未开始的 + res.data.list.forEach(item => { + if(item.planStatus === '0'){ + this.standinfoList.push(item) + } + }) this.total = res.data.count }) diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1-5.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1-5.vue index 29c7e88bd..0014cd9f8 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1-5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1-5.vue @@ -16,14 +16,11 @@ - - - - + - - - - - - - @@ -53,6 +43,13 @@ placeholder="请输入起草人" :maxlength="500"/> + + + - - - - + @@ -106,9 +96,9 @@ placeholder="请输入体系结构" :maxlength="500"/> - - + - + @@ -139,25 +129,28 @@ :maxlength="500"/> - + + + + - + - + @@ -359,6 +352,7 @@ export default { drawerTitle: '', detailData: [], standSortOptions: [], + cbcdOptions: [], } }, mounted() { @@ -368,7 +362,8 @@ export default { this.$http.get('sys/dictype/getDicTypeListCode', '',{ _this: this }, res => { - this.BZList = res.data.ENERGYTYPES //标准范围 + this.BZList = res.data.ENERGYTYPES //适用车型 + this.cbcdOptions = res.data.DEGREESTANDARD //采标程度 this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 }) }, @@ -457,6 +452,8 @@ export default { handleSubmit(){ this.isSubmit = true this.qbfsForm.bzfgbzFlag = '0' + this.qbfsForm.planStatus = '未开始' + this.qbfsForm.area = this.qbfsForm.area.join(',') this.qbfsForm.commentText = this.commentText let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step2.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step2.vue index ee883d1ed..85f3c1774 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step2.vue @@ -16,14 +16,11 @@ - - - - + - - - - - - - @@ -53,6 +43,13 @@ placeholder="请输入起草人" :maxlength="500"/> + + + - - - - + @@ -106,9 +96,9 @@ placeholder="请输入体系结构" :maxlength="500"/> - - + - + @@ -139,25 +129,28 @@ :maxlength="500"/> - + + + + - + - + @@ -359,6 +352,7 @@ export default { nodeList:[], drawerTitle: '', detailData: [], + cbcdOptions: [], } }, @@ -371,6 +365,7 @@ export default { }, res => { this.BZList = res.data.ENERGYTYPES //标准范围 this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 + this.cbcdOptions = res.data.DEGREESTANDARD //采标程度 }) }, methods:{ diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step3.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step3.vue index 7c3edf08b..09dbbfae0 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step3.vue @@ -16,14 +16,11 @@ - - - - + - - - - - - - @@ -53,6 +43,13 @@ placeholder="请输入起草人" :maxlength="500"/> + + + - - - - + @@ -106,9 +96,9 @@ placeholder="请输入体系结构" :maxlength="500"/> - - + - + @@ -139,25 +129,28 @@ :maxlength="500"/> - + + + + - + - + @@ -357,6 +350,7 @@ export default { drawerTitle: '', detailData: [], standSortOptions: [], + cbcdOptions: [], } }, mounted() { @@ -366,6 +360,7 @@ export default { this.$http.get('sys/dictype/getDicTypeListCode', '',{ _this: this }, res => { + this.cbcdOptions = res.data.DEGREESTANDARD //采标程度 this.BZList = res.data.ENERGYTYPES //标准范围 this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 }) diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step4.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step4.vue index b87aaa715..93143033c 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step4.vue @@ -16,14 +16,11 @@ - - - - + - - - - - - - @@ -53,6 +43,13 @@ placeholder="请输入起草人" :maxlength="500"/> + + + - - - - + @@ -106,9 +96,9 @@ placeholder="请输入体系结构" :maxlength="500"/> - - + - + @@ -139,25 +129,28 @@ :maxlength="500"/> - + + + + - + - + @@ -359,6 +352,7 @@ export default { drawerTitle: '', detailData: [], standSortOptions: [], + cbcdOptions: [], } }, mounted() { @@ -368,6 +362,7 @@ export default { this.$http.get('sys/dictype/getDicTypeListCode', '',{ _this: this }, res => { + this.cbcdOptions = res.data.DEGREESTANDARD //采标程度 this.BZList = res.data.ENERGYTYPES //标准范围 this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 }) diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step5.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step5.vue index 0854c961e..a783a5123 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step5.vue @@ -16,14 +16,11 @@ - - - - + - - - - - - - @@ -53,6 +43,13 @@ placeholder="请输入起草人" :maxlength="500"/> + + + - - - - + @@ -106,9 +96,9 @@ placeholder="请输入体系结构" :maxlength="500"/> - - + - + @@ -139,25 +129,28 @@ :maxlength="500"/> - + + + + - + - + @@ -359,6 +352,7 @@ export default { drawerTitle: '', detailData: [], standSortOptions: [], + cbcdOptions: [], } }, mounted() { @@ -368,7 +362,8 @@ export default { this.$http.get('sys/dictype/getDicTypeListCode', '',{ _this: this }, res => { - this.BZList = res.data.ENERGYTYPES //标准范围 + this.BZList = res.data.ENERGYTYPES //适用车型 + this.cbcdOptions = res.data.DEGREESTANDARD //采标程度 this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 }) }, @@ -457,6 +452,8 @@ export default { handleSubmit(){ this.isSubmit = true this.qbfsForm.bzfgbzFlag = '0' + this.qbfsForm.planStatus = '未开始' + this.qbfsForm.area = this.qbfsForm.area.join(',') this.qbfsForm.commentText = this.commentText let json = JSON.stringify(this.qbfsForm); this.$http.post('lawss/activiti/completeTask', { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 3bb275d1e..af8403ca5 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -877,7 +877,7 @@ export default { this.zrbmOptions = res.data.ZRBMCLASS // 能源类型数据字典 this.CycxOptions = res.data.CLLX - // this.categoryOptions = res.data.NYLXCLASS // 能源类型 + this.categoryOptions = res.data.NYLXCLASS // 能源类型 // 适用车型数据字典 this.applyArcticOptions = res.data.PRODUCTTYPE // 适用产品线数据字典 diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 24dff2e71..814cf97f8 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -462,39 +462,44 @@ export default { }, { _this: this }, res => { - res.data.records.forEach(item => { - if (item.nylx === "[]") { - item.nylx = null; - } - if (item.typeApplicable === "[]") { - item.typeApplicable = null; - } - if (item.sycpx === "[]") { - item.sycpx = null; - } - if(item.zrbm === "[]"){ - item.zrbm = null - } - if (item.zccssrqgj === "undefined") { - item.zccssrqgj = '-' - } - if (item.xcxssrqgj === "undefined") { - item.xcxssrqgj = '-' - } - if (item.ssrq === "undefined") { - item.ssrq = '-' - } - }); - this.standinfoList = res.data.records; - this.standardFormTotal = res.data.total; - this.standinfoList.forEach(item => { - if (item.standYear === null) { - item.standNumber = item.standSortShow + " " + item.standNumber; - } else { - item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear; - } - }); - this.standInfoTableLoading = false + if (res.data !== null) { + res.data.records.forEach(item => { + if (item.nylx === "[]") { + item.nylx = null; + } + if (item.typeApplicable === "[]") { + item.typeApplicable = null; + } + if (item.sycpx === "[]") { + item.sycpx = null; + } + if(item.zrbm === "[]"){ + item.zrbm = null + } + if (item.zccssrqgj === "undefined") { + item.zccssrqgj = '-' + } + if (item.xcxssrqgj === "undefined") { + item.xcxssrqgj = '-' + } + if (item.ssrq === "undefined") { + item.ssrq = '-' + } + }); + this.standinfoList = res.data.records; + this.standardFormTotal = res.data.total; + this.standinfoList.forEach(item => { + if (item.standYear === null) { + item.standNumber = item.standSortShow + " " + item.standNumber; + } else { + item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear; + } + }); + this.standInfoTableLoading = false + } else { + this.standinfoList = [] + } + }, e => { this.standInfoTableLoading = false }); @@ -506,30 +511,35 @@ export default { }, { _this: this }, res => { - res.data.records.forEach(item => { - if (item.nylx === "[]") { - item.nylx = null; - } - if (item.typeApplicable === "[]") { - item.typeApplicable = null; - } - if (item.sycpx === "[]") { - item.sycpx = null; - } - if(item.zrbm === "[]"){ - item.zrbm = null - } - }); - this.standinfoList = res.data.records; - this.standardFormTotal = res.data.total; - this.standinfoList.forEach(item => { - if (item.standYear === null) { - item.standNumber = item.standSortShow + " " + item.standNumber; - } else { - item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear; - } - }); - this.standInfoTableLoading = false + if (res.data !== null) { + res.data.records.forEach(item => { + if (item.nylx === "[]") { + item.nylx = null; + } + if (item.typeApplicable === "[]") { + item.typeApplicable = null; + } + if (item.sycpx === "[]") { + item.sycpx = null; + } + if(item.zrbm === "[]"){ + item.zrbm = null + } + }); + this.standinfoList = res.data.records; + this.standardFormTotal = res.data.total; + this.standinfoList.forEach(item => { + if (item.standYear === null) { + item.standNumber = item.standSortShow + " " + item.standNumber; + } else { + item.standNumber = item.standSortShow + " " + item.standNumber + "-" + item.standYear; + } + }); + this.standInfoTableLoading = false + } else { + this.standinfoList = [] + } + }, e => { this.standInfoTableLoading = false }); @@ -773,13 +783,17 @@ export default { * 高级检索 */ selectMoreBtn() { - this.isAdvancedSearch = true; + this.standardForm.zrbm = '' + this.standardForm.responseUnit = '' + this.standardForm.standName = '' + this.standardForm.standNumber = '' this.standardFormList.standName = ""; this.standardFormList.typeApplicable = ""; this.standardFormList.nylx = ""; this.standardFormList.zrbm = ""; this.standardFormList.sycpx = ""; this.showTableFlag = false; + this.isAdvancedSearch = true; this.page = 1; this.standardForm.page = 1; this.selectInfoMore(); diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue index fda399db8..1f6edd81c 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue @@ -1039,6 +1039,32 @@ export default { this.$message.warning('请勿添加重复数据') } else{ this.sarAccessInfoList.push(item) + this.sarAccessInfoList.forEach(item => { + // 能源类型转换 + if (item.nylx !== null) { + let k = (item.nylx || "").split(","); + for (let i in this.applyArcticOptions) { + for (let m = 0; m < k.length; m++) { + if (this.applyArcticOptions[i].value === k[m]) { + k[m] = this.applyArcticOptions[i].label; + } + item.nylx = k.join(","); + } + } + } + // 适用车型转换 + if (item.typeApplicable !== null) { + let k = (item.typeApplicable || "").split(","); + for (let i in this.energyKindOptions) { + for (let m = 0; m < k.length; m++) { + if (this.energyKindOptions[i].value === k[m]) { + k[m] = this.energyKindOptions[i].label; + } + item.typeApplicable = k.join(","); + } + } + } + }) // this.$refs.accessTypeSelect.clearSelection() this.$refs.entryTable.clearSelection() this.$refs.searchTable.clearSelection() diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index f894c6b21..5c970f03d 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -367,11 +367,14 @@
- - - - - + + + +
@@ -591,6 +594,7 @@ }, data() { return { + CBList: [], BZList: [], TXJGList: [], TXJGmodal: false, @@ -761,7 +765,7 @@ this.$message.warning('请选择要带入的标准') } else { this.addForm.rqbJson = this.QYBZformSelect[0].id - this.addForm.rqbName = this.QYBZformSelect[0].standName + this.addForm.rqbName = this.QYBZformSelect[0].standCode this.clearQYBZ() this.QYBZmodal = false } @@ -1092,7 +1096,7 @@ this.standSystemOptions = res.data.TXLBBUSS // 体系结构 this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 this.BZList = res.data.ENERGYTYPES - console.log(res.data); + this.CBList = res.data.DEGREESTANDARD }, e => { }) }, diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue index cfe589da2..d9dda2b2c 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue @@ -4,7 +4,7 @@
+ @keyup.enter.native="getLocalProductTableBtns"> 查询 + @click="getLocalProductTableBtns">查询 @@ -477,7 +477,7 @@ export default { projectClassification: "", // 项目状态 projectStatus: "", - page: "" + page: 1 }, //查询3类 projectLibrarySearchDefault: { @@ -1210,6 +1210,37 @@ export default { this.SarExportSearchEo = this.localProTableSearch; this.$http.get("sarStandProjectLibrary/queryProject", { ...this.localProTableSearch, + page: this.page, + pageSize: this.pageSize, + }, { + _this: this, loading: "loading" + }, res => { + if (this.localProTableSearch.prodectCode === "Maintenance") { + this.localProTableList = res.data.Maintenance.records; + this.productTypeOptions = this.projectData + this.xmztOptions = this.projectStatus + this.total = res.data.Maintenance.total; + } else if (this.localProTableSearch.prodectCode === "notMaintenance") { + this.localProTableList = res.data.notMaintenance.records; + this.productTypeOptions = this.notProjectData + this.xmztOptions = this.notProjectStatus + this.total = res.data.notMaintenance.total; + } + }, e => { + }); + // this.$refs.selection.selectAll(false) + }, + + getLocalProductTableBtns() { + this.projectLibrarySearch.page = 1; + this.isAdvancedSearch = false; + this.getLocalProductTables(); + }, + getLocalProductTables() { + this.localProTableSearch.prodectCode = this.ifMaintaince; + this.localProTableSearch.dataType = this.insideTabsActiveName; + this.SarExportSearchEo = this.localProTableSearch; + this.$http.get("sarStandProjectLibrary/queryProject", { ...this.projectLibrarySearch, page: this.page, pageSize: this.pageSize, @@ -1227,26 +1258,6 @@ export default { this.xmztOptions = this.notProjectStatus this.total = res.data.notMaintenance.total; } - // this.localProTableList.map((item) => { - // this.xmztOptions.map((opr) => { - // if (item.productBrand === opr.value) { - // item.productBrand = opr.label - // } - // }) - // this.scxxOptions.map((xmItem) => { - // if (item.saleMarket === xmItem.value) { - // item.saleMarket = xmItem.label - // } - // }) - // this.scxxOptions.map((xmItem) => { - // if (item.targetMarket === xmItem.value) { - // item.targetMarket = xmItem.label - // } - // }) - // }) - // if ((this.localProTableList.length === 0 || this.localProTableList === []) && this.localProTableSearch.page !== 1) { - // this.pageChange(1) - // } }, e => { }); // this.$refs.selection.selectAll(false) diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue index 2c23a3371..af3445f7f 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue @@ -845,7 +845,9 @@ export default { // 查询详情表格数据 this.$http.get('sarStandProjectLibrary/queryStandInfoNew', { id: this.localProEO.id, - cars: "1" + cars: "1", + current: 1, + pageSize: this.$store.getters.userInfo.configContent }, { _this: this, loading: 'loading' diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue index 2dc31a08e..d42f83c03 100644 --- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue +++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue @@ -318,7 +318,7 @@ export default { window.open(routeUrl.href, '_blank') }, exportAll() { - window.open('/api/slrs/sar-public-idea-all/tuallStand?cid=' + this.$route.query.item.cid) + window.open('/api/slrs/sar-public-idea-all/tuallStand?cid=' + this.$route.query.item.id) }, exportAll1() { window.open('/api/slrs/sar-public-idea-all/tuallStand?type=1&cid=' + this.$route.query.item.id) diff --git a/src/sysConfig/index.js b/src/sysConfig/index.js index c9419bcf3..9255ff530 100644 --- a/src/sysConfig/index.js +++ b/src/sysConfig/index.js @@ -6,11 +6,11 @@ // 服务器地址 // const devIp = '39.98.140.126' // const devInterfacePORT = '10005' -// const devIp = '192.168.10.248' +const devIp = '192.168.10.6' // const devIp = '62.234.136.153' -// const devInterfacePORT = '8033' -const devIp = '10.19.11.243' -const devInterfacePORT = '4304' +const devInterfacePORT = '9999' +// const devIp = '10.19.11.243' +// const devInterfacePORT = '4304' // 配置 idm 认证 const ssoLogin = 'http://sso.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&response_type=code&redirect_uri='