diff --git a/src/components/CustomFormComponents/InputForStandards.vue b/src/components/CustomFormComponents/InputForStandards.vue index 0afef8433..3b9d5a974 100644 --- a/src/components/CustomFormComponents/InputForStandards.vue +++ b/src/components/CustomFormComponents/InputForStandards.vue @@ -361,7 +361,7 @@ export default { page: 1, pageSize: this.$store.getters.userInfo.configContent, total: 0, - standType: 'INLAND', + standType: 'ALL', quoteIdList: '', validFlag: '0' } diff --git a/src/components/CustomFormComponents/InputForStandardsForForeign.vue b/src/components/CustomFormComponents/InputForStandardsForForeign.vue index 08d4408ee..303fce717 100644 --- a/src/components/CustomFormComponents/InputForStandardsForForeign.vue +++ b/src/components/CustomFormComponents/InputForStandardsForForeign.vue @@ -329,7 +329,7 @@ export default { page: 1, pageSize: this.$store.getters.userInfo.configContent, total: 0, - standType: 'FOREIGN', + standType: 'ALL', quoteIdList: '', validFlag: '0' } diff --git a/src/components/treeSelect/treeSelectNew.vue b/src/components/treeSelect/treeSelectNew.vue index b8a892ea0..fcd07294a 100644 --- a/src/components/treeSelect/treeSelectNew.vue +++ b/src/components/treeSelect/treeSelectNew.vue @@ -6,6 +6,7 @@ :size="width" :append-to-body=true :before-close="cancelUserInfo" + :show-checkbox="showCheckBox" > + { @@ -2703,8 +2706,8 @@ export default { location.half = half location.showAll = false }) - this.$http.get('sarSarAccessInfo/sar-sar-access-info/selectProTimeInfoByStandId', { - standId: this.$route.params.id + this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', { + id: this.$route.params.id }, { _this: this }, res => { @@ -2721,7 +2724,6 @@ export default { } }) this.dynamicFormField = displayLocation - console.log(this.dynamicFormField) }) sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation)) this.loading = false diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue index dc9425a1f..6f7638f37 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue @@ -146,7 +146,6 @@ @@ -727,6 +733,13 @@ placeholder="请输入采标编号" clearable > + {{'手动查找'}} @@ -1235,6 +1248,7 @@ url:'', urlChild:'', drawerTitle: '', //drawer标题 + showCheckBox: true, // 树形控件是否展示多选框 nodeKey: 'id', defaultCheckedKeys: [], nodeKeyCode: 'code', @@ -1834,12 +1848,15 @@ this.replaceLawsNumModel = false }) // this.SarLawsInfoEO.replaceLawsNum = textArr.join(',') + // 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖 if(this.replaceLawType === 'dtbjh'){ - this.form.dtbjh = textArr.join(',') + this.form.dtbjh = this.form.dtbjh ? this.form.dtbjh + ',' + textArr.join(',') : textArr.join(',') }else if(this.replaceLawType === 'yybj'){ - this.form.yybj = textArr.join(',') + this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',') + }else if(this.replaceLawType === 'cbbh'){ + this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',') }else { - this.form.byybj = textArr.join(',') + this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',') } // this.$emit('input', textArr.join(',')) this.$refs.selections.clearSelection() diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index 1a4702620..6bbadff45 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -201,84 +201,84 @@
- - - -
- {{ form.xgdName }} -
-
- - - -
-
- -
- {{ form.fbgbjbdName }} -
-
- - - -
-
- -
- {{ form.zbjbdName }} -
-
- - - -
-
- -
- {{ form.bpgName }} -
-
- - - -
-
- -
- {{ form.ssgName }} -
-
- - - -
-
-
- - -
- {{ form.kwjName }} -
-
- - - -
-
- -
- {{ form.zqyjgName }} -
-
- - - -
-
- -
- {{ form.caName }} -
-
- - - -
-
- -
- {{ form.jdwjName }} -
-
- - - -
-
-
-
+ + + +
+ {{ form.xgdName }} +
+
+ - - +
+
+ +
+ {{ form.fbgbjbdName }} +
+
+ - - +
+
+ +
+ {{ form.zbjbdName }} +
+
+ - - +
+
+ +
+ {{ form.bpgName }} +
+
+ - - +
+
+ +
+ {{ form.ssgName }} +
+
+ - - +
+
+
+ + +
+ {{ form.kwjName }} +
+
+ - - +
+
+ +
+ {{ form.zqyjgName }} +
+
+ - - +
+
+ +
+ {{ form.caName }} +
+
+ - - +
+
+ +
+ {{ form.jdwjName }} +
+
+ - - +
+
+
+
@@ -467,14 +467,14 @@ clearable > - -
- {{ form.glwjName }} -
-
- - - -
-
+ +
+ {{ form.glwjName }} +
+
+ - - +
+
@@ -685,6 +685,16 @@ name: "bzrkStep2", data () { return { + xgdFileId: '', + fbgbjbdFileId: '', + bpgFileId: '', + ssgFileId: '', + zqyjgFileId: '', + jdwjFileId: '', + kwjFileId: '', + glwjFileId: '', + caFileId: '', + zbjbdFileId:'', rules: { commentText: [{ required: true, message: '请输入意见', trigger: 'blur' }], approvalOpinion: [{ required: true, message: '请选择审批意见', trigger: 'change' }] @@ -844,6 +854,29 @@ }, }, methods: { + downloadFile (fileType) { + if(fileType === 'fbgbjbd'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId + }else if(fileType === 'xgd'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId + }else if(fileType === 'bpg'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId + }else if(fileType === 'ssg'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId + }else if(fileType === 'zqyjg'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId + }else if(fileType === 'jdwj'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId + }else if(fileType === 'kwj'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId + }else if(fileType === 'glwj'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId + }else if(fileType === 'ca'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId + }else if(fileType === 'zbjbd'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId + } + }, getRule(){ if (this.formTongGuo.approvalOpinion !== '1') { this.$refs.formTongGuo.clearValidate('commentText') @@ -910,6 +943,16 @@ }).then(res => { if (res) { const processForm = JSON.parse(res.mesg) + this.xgdFileId = processForm.xgd + this.fbgbjbdFileId = processForm.fbgbjbd + this.bpgFileId = processForm.bpg + this.ssgFileId = processForm.ssg + this.zqyjgFileId = processForm.zqyjg + this.jdwjFileId = processForm.jdwj + this.kwjFileId = processForm.kwj + this.glwjFileId = processForm.glwj + this.caFileId = processForm.ca + this.zbjbdFileId = processForm.zbjbd this.getFormFieldList(processForm) } }).catch(e => { diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index 254066498..599e5826a 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -197,7 +197,7 @@ -
+
{{ form.xgdName }}
@@ -205,7 +205,7 @@
-
+
{{ form.fbgbjbdName }}
@@ -213,7 +213,7 @@
-
+
{{ form.zbjbdName }}
@@ -221,7 +221,7 @@
-
+
{{ form.bpgName }}
@@ -229,7 +229,7 @@
-
+
{{ form.ssgName }}
@@ -239,7 +239,7 @@ -
+
{{ form.kwjName }}
@@ -247,7 +247,7 @@
-
+
{{ form.zqyjgName }}
@@ -255,7 +255,7 @@
-
+
{{ form.caName }}
@@ -263,7 +263,7 @@
-
+
{{ form.jdwjName }}
@@ -461,7 +461,7 @@ -
+
{{ form.glwjName }}
@@ -666,6 +666,16 @@ export default { name: "bzrkStep3", data () { return { + xgdFileId: '', + fbgbjbdFileId: '', + bpgFileId: '', + ssgFileId: '', + zqyjgFileId: '', + jdwjFileId: '', + kwjFileId: '', + glwjFileId: '', + caFileId: '', + zbjbdFileId:'', activeName:'1', // 当前流程类型(1待办/2已办) processType: 1, @@ -818,6 +828,29 @@ export default { }, }, methods: { + downloadFile (fileType) { + if(fileType === 'fbgbjbd'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId + }else if(fileType === 'xgd'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId + }else if(fileType === 'bpg'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId + }else if(fileType === 'ssg'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId + }else if(fileType === 'zqyjg'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId + }else if(fileType === 'jdwj'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId + }else if(fileType === 'kwj'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId + }else if(fileType === 'glwj'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId + }else if(fileType === 'ca'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId + }else if(fileType === 'zbjbd'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId + } + }, popoverHide (checkedIds, checkedData) { if(checkedData) { this.form.standSystem = checkedData.id @@ -879,6 +912,16 @@ export default { }).then(res => { if (res) { const processForm = JSON.parse(res.mesg) + this.xgdFileId = processForm.xgd + this.fbgbjbdFileId = processForm.fbgbjbd + this.bpgFileId = processForm.bpg + this.ssgFileId = processForm.ssg + this.zqyjgFileId = processForm.zqyjg + this.jdwjFileId = processForm.jdwj + this.kwjFileId = processForm.kwj + this.glwjFileId = processForm.glwj + this.caFileId = processForm.ca + this.zbjbdFileId = processForm.zbjbd this.getFormFieldList(processForm) } }).catch(e => { diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue index b98012836..74c328123 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue @@ -718,6 +718,13 @@ placeholder="请输入采标编号" clearable > + {{'手动查找'}} {{'手动查找'}} @@ -1398,12 +1405,15 @@ export default { this.replaceLawsNumModel = false }) // this.SarLawsInfoEO.replaceLawsNum = textArr.join(',') + // 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖 if(this.replaceLawType === 'dtbjh'){ - this.form.dtbjh = textArr.join(',') + this.form.dtbjh = this.form.dtbjh ? this.form.dtbjh + ',' + textArr.join(',') : textArr.join(',') }else if(this.replaceLawType === 'yybj'){ - this.form.yybj = textArr.join(',') - }else { - this.form.byybj = textArr.join(',') + this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',') + }else if(this.replaceLawType === 'cbbh'){ + this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',') + } else { + this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',') } // this.$emit('input', textArr.join(',')) this.$refs.selections.clearSelection() @@ -1605,6 +1615,7 @@ export default { }).then(res => { if (res) { const processForm = JSON.parse(res.mesg) + this.commentText = processForm.commentText this.getFormFieldList(processForm) } }).catch(e => { diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue index eb5a19493..e62214175 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue @@ -198,84 +198,84 @@
- - - -
- {{ form.xgd }} -
-
- - - -
-
- -
- {{ form.fbgbjbd }} -
-
- - - -
-
- -
- {{ form.zbjbd }} -
-
- - - -
-
- -
- {{ form.bpg }} -
-
- - - -
-
- -
- {{ form.ssg }} -
-
- - - -
-
-
- - -
- {{ form.kwj }} -
-
- - - -
-
- -
- {{ form.zqyjg }} -
-
- - - -
-
- -
- {{ form.ca }} -
-
- - - -
-
- -
- {{ form.jdwj }} -
-
- - - -
-
-
-
+ + + +
+ {{ form.xgdName }} +
+
+ - - +
+
+ +
+ {{ form.fbgbjbdName }} +
+
+ - - +
+
+ +
+ {{ form.zbjbdName }} +
+
+ - - +
+
+ +
+ {{ form.bpgName }} +
+
+ - - +
+
+ +
+ {{ form.ssgName }} +
+
+ - - +
+
+
+ + +
+ {{ form.kwjName }} +
+
+ - - +
+
+ +
+ {{ form.zqyjgName }} +
+
+ - - +
+
+ +
+ {{ form.caName }} +
+
+ - - +
+
+ +
+ {{ form.jdwjName }} +
+
+ - - +
+
+
+
@@ -465,14 +465,15 @@ clearable >
- -
- {{ form.glwj }} -
-
- - - -
-
+ +
+ {{ form.glwjName }} +
+
+ - - +
+
+ @@ -670,6 +671,16 @@ name: "bzrkStep5", data () { return { + xgdFileId: '', + fbgbjbdFileId: '', + bpgFileId: '', + ssgFileId: '', + zqyjgFileId: '', + jdwjFileId: '', + kwjFileId: '', + glwjFileId: '', + caFileId: '', + zbjbdFileId:'', // 当前流程类型(1待办/2已办) processType: 1, detailData: [], @@ -790,6 +801,29 @@ }, }, methods: { + downloadFile (fileType) { + if(fileType === 'fbgbjbd'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId + }else if(fileType === 'xgd'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId + }else if(fileType === 'bpg'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId + }else if(fileType === 'ssg'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId + }else if(fileType === 'zqyjg'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId + }else if(fileType === 'jdwj'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId + }else if(fileType === 'kwj'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId + }else if(fileType === 'glwj'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId + }else if(fileType === 'ca'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId + }else if(fileType === 'zbjbd'){ + window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId + } + }, popoverHide (checkedIds, checkedData) { console.log(checkedIds); console.log(checkedData); @@ -816,6 +850,16 @@ }).then(res => { if (res) { const processForm = JSON.parse(res.mesg) + this.xgdFileId = processForm.xgd + this.fbgbjbdFileId = processForm.fbgbjbd + this.bpgFileId = processForm.bpg + this.ssgFileId = processForm.ssg + this.zqyjgFileId = processForm.zqyjg + this.jdwjFileId = processForm.jdwj + this.kwjFileId = processForm.kwj + this.glwjFileId = processForm.glwj + this.caFileId = processForm.ca + this.zbjbdFileId = processForm.zbjbd this.getFormFieldList(processForm) } }).catch(e => { diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue new file mode 100644 index 000000000..06d10b06c --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue @@ -0,0 +1,622 @@ + + + + + + diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue index d7f0df38b..1f82da739 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue @@ -263,6 +263,7 @@ import ProcessHeader from '../../components/ProcessHeader' import ProcessFooter from '../../components/ProcessFooter' import ProcessTitle from '../../components/ProcessTitle' +import { saveTaskFirst } from 'api/process' export default { name: "bzzqyjStep1", @@ -489,7 +490,26 @@ export default { handleTabs(name) { this.active = name }, - handleSave() {}, + handleSave() { + this.saveLoading = true + let _formData = new FormData() + _formData.append('id', this.bpnId || '') + _formData.append('createUser', this.$store.getters.userInfo.userId) + _formData.append('createUserName', this.$store.getters.userInfo.userName) + _formData.append('prcType', '3') + _formData.append('json', JSON.stringify({ + form: this.form, + roleForm: this.roleForm, + commentText: this.commentText + })) + saveTaskFirst(_formData).then(res => { + this.saveLoading = false + this.$message.success('保存成功') + this.bpnId = res.result + }).catch(e => { + this.saveLoading = false + }) + }, handleSubmit() { this.$refs['bzzqyjForm'].validate((valid) => { if (valid) { diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue index 06eb9fd69..0804ddc82 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step2.vue @@ -135,7 +135,6 @@
{ }) }) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue index 6ee42f0a7..e30b056fb 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue @@ -184,7 +184,6 @@
{ - if (item.workPeople !== undefined) { this.listForm.commentText = this.commentText; const json = JSON.stringify(this.listForm); this.$http.post("lawss/activiti/completeTask", { @@ -321,10 +319,6 @@ export default { } }, e => { }); - } else { - this.$message.warning("请选择分发负责人"); - } - }); }, //批量分发按钮 batchOperation(id) { diff --git a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue index aec4f57fc..3029caa96 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue @@ -212,7 +212,6 @@ export default { this.queryProcess() }, dealWith (row) { // 办理 - debugger //草稿办理待开发 const { prcType, id } = row const mes = JSON.parse(row.mes) @@ -251,6 +250,17 @@ export default { } }) break + // 征求意见流程 + case '3': + this.$router.push({ + name: 'bzzqyjStep1-1', + query: { + type: '3', + processName: '标准征求意见流程', + bpnId: id + } + }) + break case '4': this.$router.push({ name: 'bzqdfbStep1-1', diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 24dcc9a41..f001bac6b 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -80,55 +80,13 @@ - + - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - + + - - - - + clearable/> + + + + + + 查询
@@ -243,13 +178,12 @@ width="180px" label="标准号"> - - - - - - - - - - - - - - {{$t('m.dataAcquisition')}} @@ -354,6 +242,7 @@ v-btn-permission="''" >删除
+ - - - + - + - + - + - + - + - + - + - + - + - +
- - - - - - - - - - - + + + size="small" + clearable/> - + - - - - + clearable/> + + + 查询
@@ -223,7 +169,6 @@ - - - - - - - - - - - - - {{$t('m.dataAcquisition')}} @@ -405,16 +310,6 @@ width="210px" align="center" label="责任部门"> - { + if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { + this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' + } else { + this.sarAccessInfoSearch.standType = 'FOREIGN' + } + StandardsInfoPage(this.sarAccessInfoSearch).then(res =>{ + this.sarAccessInfoSearchList = res.data.list + this.sarAccessInfoSearchList.forEach(item => { + if (item.standYear === null) { + item.standNumber = item.standSortShow + ' ' + item.standNumber + } else { + item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear + } + this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ) + this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ) + this.$set(item, 'sycpx', item.attrInfoMap.SYCPX) + this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX) + this.$set(item, 'nylx', item.attrInfoMap.NYLX) + this.$set(item, 'zrbm', item.attrInfoMap.ZRBM) + this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM) + this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN) + this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM) + this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN) + }) + this.drawerTotal = res.data.list.length + }, e => { + }) + }, + // 高级检索查询按钮 + selectBtn() { + if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { + this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' + } else { + this.sarAccessInfoSearch.standType = 'FOREIGN' + } + StandardsInfoPage(this.sarAccessInfo).then(res =>{ this.sarAccessInfoSearchList = res.data.list this.sarAccessInfoSearchList.forEach(item => { if (item.standYear === null) { @@ -1288,8 +1225,6 @@ export default { } else { item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear } - }) - this.sarAccessInfoSearchList.forEach(item => { this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ) this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ) this.$set(item, 'sycpx', item.attrInfoMap.SYCPX) @@ -1303,7 +1238,6 @@ export default { }) this.drawerTotal = res.data.list.length }, e => { - }) }, // 数据搜索table判断checked状态 @@ -1987,6 +1921,12 @@ export default { text-align: right; } } +.labelBox { + /deep/ .el-form-item__label { + padding-right: 5px; + padding-left: 10px; + } +} .un-select { user-select: none; } diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue index 67196879a..a784e604c 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue @@ -65,40 +65,13 @@
- + - - - - - - - - - - - - -
- - - - - - - - - - - + + + size="small" + clearable/> - + - - - - + clearable/> + + + 查询
@@ -227,7 +169,6 @@ - - - - - - - - - - - - - {{$t('m.dataAcquisition')}} @@ -519,7 +420,7 @@ import CustomRoleTree from '@/components/CustomFormComponents/roleTree' import stand from "../../../config/pages/attributeCustom/components/stand"; import { mapGetters } from 'vuex' import {interfaceUrl} from "@/sysConfig"; -import {dicTypeData} from "@/api/unqualProcess"; +import {dicTypeData, StandardsInfoPage} from "@/api/unqualProcess" export default { name: 'OtherAddEit', components: { @@ -601,18 +502,25 @@ export default { dataSourceOptions: [ {value: 'INLAND_STAND', label: '国内标准法规'}, {value: 'FOREIGN_STAND', label: '海外标准法规'}, - {value: 'FOREIGN_LAWS', label: '国内外政策'}, + // {value: 'FOREIGN_LAWS', label: '国内外政策'}, // {value: 'BUSINESS', label: '企业标准 '}, - {value: 'TEMP', label: '标准法规清单 '} + // {value: 'TEMP', label: '标准法规清单 '} ], // 新增、编辑 数据搜索字段 sarAccessInfoSearch: { id: '', - countryArea: '', // 国家 - // applicationScope: '', //适用区域 - keywords: '', // 关键字 - detailedListName: '', //清单名称 - applyArctic: '', // 能源种类 + standName: '', + askType: '', // 监管类型 + dataSource: 'INLAND_STAND', // 数据来源 + page: 1, + pageSize: this.$store.getters.userInfo.configContent, + validFlag: 0, + advanceSearchVOStr: '' + }, + sarAccessInfo: { + id: '', + standName: '', + standNumber: '', askType: '', // 监管类型 dataSource: 'INLAND_STAND', // 数据来源 page: 1, @@ -943,11 +851,10 @@ export default { // 点击清空查询条件 按钮事件 clearSearchLaws () { this.sarAccessInfoSearch.standName = '' + this.sarAccessInfo.standName = '' + this.sarAccessInfo.standNumber = '' this.sarAccessInfoSearch.advanceSearchVOStr = '' - this.sarAccessInfoSearch.applyArctic = '' // 能源种类 - this.sarAccessInfoSearch.keywords = '' // 关键字 this.sarAccessInfoSearch.askType = '' // 监管类型 - this.sarAccessInfoSearch.detailedListName = '' // 清单名称 this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源 this.isListType = false this.selectLawsStands() @@ -1276,9 +1183,12 @@ export default { }, // 查询数据搜索 table 数据 selectLawsStands () { - this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.sarAccessInfoSearch, { - _this: this - }, res =>{ + if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { + this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' + } else { + this.sarAccessInfoSearch.standType = 'FOREIGN' + } + StandardsInfoPage(this.sarAccessInfoSearch, this.sarAccessInfo).then(res =>{ this.sarAccessInfoSearchList = res.data.list this.sarAccessInfoSearchList.forEach(item => { if (item.standYear === null) { @@ -1286,10 +1196,49 @@ export default { } else { item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear } + this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ) + this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ) + this.$set(item, 'sycpx', item.attrInfoMap.SYCPX) + this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX) + this.$set(item, 'nylx', item.attrInfoMap.NYLX) + this.$set(item, 'zrbm', item.attrInfoMap.ZRBM) + this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM) + this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN) + this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM) + this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN) + }) + this.drawerTotal = res.data.list.length + }, e => { + }) + }, + /** 高级查询查询按钮*/ + selectBtn() { + if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { + this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' + } else { + this.sarAccessInfoSearch.standType = 'FOREIGN' + } + StandardsInfoPage(this.sarAccessInfo).then(res =>{ + this.sarAccessInfoSearchList = res.data.list + this.sarAccessInfoSearchList.forEach(item => { + if (item.standYear === null) { + item.standNumber = item.standSortShow + ' ' + item.standNumber + } else { + item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear + } + this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ) + this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ) + this.$set(item, 'sycpx', item.attrInfoMap.SYCPX) + this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX) + this.$set(item, 'nylx', item.attrInfoMap.NYLX) + this.$set(item, 'zrbm', item.attrInfoMap.ZRBM) + this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM) + this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN) + this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM) + this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN) }) this.drawerTotal = res.data.list.length }, e => { - }) }, // 数据搜索table判断checked状态 @@ -1987,6 +1936,12 @@ export default { text-align: right; } } +.labelBox { + /deep/ .el-form-item__label { + padding-right: 5px; + padding-left: 10px; + } +} .un-select { user-select: none; } diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 80c28f02a..bc158ef55 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -188,22 +188,21 @@ + prop="XCXSSRQ" + sortable="custom" + width="150px" + label="新车型实施日期"> + prop="ZCCSSRQ" + sortable="custom" + width="150px" + label="在产车实施日期"> { this.$http.delete("sarResource/ts-resource", { - menuId: data.id + resourceId: data.id }, res => { }, e => { if(e.ok){ @@ -2217,10 +2217,11 @@ export default { }, // 树节点鼠标移入移出 mouseenter(data){ - console.log(data) - this.$set(data, 'show', true) - if(data.parentId !== null){ - this.$set(data, 'showDel', true) + if(data.menuName !== '我的收藏'){ + this.$set(data, 'show', true) + if(data.parentId !== null){ + this.$set(data, 'showDel', true) + } } }, mouseleave(data){ @@ -2878,7 +2879,7 @@ export default { formData.nowOrderBy = this.nowOrder ? this.orderBy : '' formData.nowOrder = this.nowOrder // 处理我的收藏和个性化标签传参 - if (this.selectSarMenu.id === 'wdsc') { + if (this.selectSarMenu.menuName === '我的收藏') { formData.menuId = undefined formData.labelMenuId = undefined formData.collectMenuId = 'wdsc' diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue index a8f80b3a8..262bdadba 100644 --- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue +++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue @@ -96,11 +96,11 @@ >
- - + + - + @@ -132,6 +132,14 @@ export default { partCode: '', content: '', }, + opinionContentRules: { + partCode: [ + { required: true, message: '请输入章节编号', trigger: 'blur' }, + ], + content: [ + { required: true, message: '请输入修改意见内容(包括理由或依据)', trigger: 'blur' } + ], + }, standinfoList: [], // 详情列表 form: { cid: this.$route.query.item.cid, @@ -228,32 +236,36 @@ export default { }, //点击抽屉按钮提交事件 saveUserInfo() { - var url = '' - var form = { - cid: this.$route.query.item.cid, - content: this.opinionContent.content, - partCode: this.opinionContent.partCode, - userId: this.$store.getters.userInfo.userId, - userName: this.$store.getters.userInfo.account, - deptName: this.$store.getters.userInfo.orgName, - deptId: this.$store.getters.userInfo.orgId - } - if (this.type === 'edit') { - form.id = this.id - form.autUserId = this.$store.getters.userInfo.userId - url = 'slrs/sar-public-idea-all/updateStand' - } else { - url = 'slrs/sar-public-idea-all/insetStand' - } - this.$http.post(url, form, { - _this: this - }, res => { - if (res.respCode === '200') { - this.form.page = 1 - this.getList() - } + this.$refs['formAdd'].validate((valid) => { + if (valid) { + var url = '' + var form = { + cid: this.$route.query.item.cid, + content: this.opinionContent.content, + partCode: this.opinionContent.partCode, + userId: this.$store.getters.userInfo.userId, + userName: this.$store.getters.userInfo.account, + deptName: this.$store.getters.userInfo.orgName, + deptId: this.$store.getters.userInfo.orgId + } + if (this.type === 'edit') { + form.id = this.id + form.autUserId = this.$store.getters.userInfo.userId + url = 'slrs/sar-public-idea-all/updateStand' + } else { + url = 'slrs/sar-public-idea-all/insetStand' + } + this.$http.post(url, form, { + _this: this + }, res => { + if (res.respCode === '200') { + this.form.page = 1 + this.getList() + } + }) + this.isDialog = false + } }) - this.isDialog = false }, //点击抽屉按钮取消事件 closeDrawer() { diff --git a/src/router/index.js b/src/router/index.js index 99a83b87c..d46cfc24f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -591,6 +591,15 @@ const routes = [ title: '标准征求意见流程' } }, + { + path: '/bzzqyjStep1-1', + name: 'bzzqyjStep1-1', + component: () => import('@/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue'), + meta: { + requireAuth: true, + title: '标准征求意见流程' + } + }, { path: '/bzzqyjStep2', name: 'bzzqyjStep2',