+
{{ form.glwjName }}
@@ -666,6 +663,16 @@ export default {
name: "bzrkStep3",
data () {
return {
+ xgdFileId: '',
+ fbgbjbdFileId: '',
+ bpgFileId: '',
+ ssgFileId: '',
+ zqyjgFileId: '',
+ jdwjFileId: '',
+ kwjFileId: '',
+ glwjFileId: '',
+ caFileId: '',
+ zbjbdFileId:'',
activeName:'1',
// 当前流程类型(1待办/2已办)
processType: 1,
@@ -785,6 +792,7 @@ export default {
standStateOptions: [], // 文本状态
standSystemOptions: [], // 标准体系
applyArcticOptions: [], // 适用车型
+ gkglbmOptions: [], // 归口管理部门
categoryOptions: [], // 能源类型
applyAuthOptions: [], // 适用认证
cysdOptions: [], // 我司参与深度
@@ -818,6 +826,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 +910,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 => {
@@ -1011,6 +1052,7 @@ export default {
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
+ this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
this.key++
})
this.busVsFunc()
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue
index 1a84a2fe9..72d26af15 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue
@@ -534,11 +534,9 @@
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel">
-
+
+
+
@@ -709,7 +707,7 @@
class="common-button-primary"
size="mini"
style="position:absolute;top: 10px;right: 0;"
- @click="selectLaws('dtbjh'),config.attrName = '代替标准号'"
+ @click="selectLaws('yybj'),config.attrName = '引用标准'"
>{{'手动查找'}}
@@ -718,6 +716,13 @@
placeholder="请输入采标编号"
clearable
>
+ {{'手动查找'}}
{{'手动查找'}}
@@ -1218,6 +1223,7 @@ export default {
modelOptions: [], // 模块体系架构
applyArcticOptions: [], // 适用车型
categoryOptions: [], // 能源类型
+ gkglbmOptions: [], // 归口管理部门
applyAuthOptions: [], // 适用认证
cysdOptions: [], // 我司参与深度
wssmrOptions: [], // 我司署名人
@@ -1398,12 +1404,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()
@@ -1740,6 +1749,7 @@ export default {
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
+ this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
this.treeStatus = true
this.key++
})
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue
index eb5a19493..cd985bbda 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step5.vue
@@ -42,13 +42,11 @@
-
-
+
-
+
+
+
+
+
文本信息
-
-
-
-
- {{ 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 }}
+
+
+ - -
+
+
+
+
适用范围
@@ -317,39 +321,45 @@
-
-
-
-
+
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- {{ form.glwj }}
-
-
- - -
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ form.glwjName }}
+
+
+ - -
+
+
+
@@ -491,22 +502,22 @@
clearable
>
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -670,6 +681,16 @@
name: "bzrkStep5",
data () {
return {
+ xgdFileId: '',
+ fbgbjbdFileId: '',
+ bpgFileId: '',
+ ssgFileId: '',
+ zqyjgFileId: '',
+ jdwjFileId: '',
+ kwjFileId: '',
+ glwjFileId: '',
+ caFileId: '',
+ zbjbdFileId:'',
// 当前流程类型(1待办/2已办)
processType: 1,
detailData: [],
@@ -760,12 +781,14 @@
standSystemOptions: [], // 标准体系
applyArcticOptions: [], // 适用车型
categoryOptions: [], // 能源类型
+ gkglbmOptions: [], // 归口管理部门
applyAuthOptions: [], // 适用认证
cysdOptions: [], // 我司参与深度
sycpxOptions: [], // 适用产品线
zrbmOptions: [], // 责任部门
zrgcsOptions: [], // 责任工程师
txlbOptions: [], // 体系类别
+ qcdwOption: [], // 起草单位
data: [], // 标准列表数据
ListForm: {}, // 新增数据
user1: '',
@@ -790,6 +813,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 +862,21 @@
}).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.form.standYear = processForm.standYear
+ this.form.standSystem = processForm.standSystem
+ this.form.kccvppsbm = processForm.kccvppsbm
+ this.form.cycvppsbm = processForm.cycvppsbm
+ this.form.dybxh = processForm.dybxh
this.getFormFieldList(processForm)
}
}).catch(e => {
@@ -914,6 +975,8 @@
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
+ this.qcdwOption = res.data.QCDW // 体系类别
+ this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
})
}
}
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
index b0315ca40..8d4cf8c13 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
@@ -84,7 +84,7 @@
- {{ scope.row.workPeople ? scope.row.workPeople: '请选择责任人' }}
+ {{ scope.row.workPeople ? scope.row.workPeople: '' }}
@@ -304,8 +304,6 @@ export default {
},
//提交事件
handleSubmit() {
- this.listForm.dataList.forEach(item => {
- 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/alreadyProcess/index.vue b/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue
index 2e9643307..a68ddea6e 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue
@@ -127,7 +127,7 @@