提交代码
parent
e6da0628fa
commit
1957fcde25
|
@ -40,7 +40,11 @@
|
||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select> -->
|
</el-select> -->
|
||||||
<el-tag v-for="(item, index) in projectOptions" v-if="item.id==form.businessKey">{{item.projectName}}</el-tag>
|
<el-tag
|
||||||
|
v-for="(item, index) in projectOptions"
|
||||||
|
v-if="item.id == form.businessKey"
|
||||||
|
>{{ item.projectName }}</el-tag
|
||||||
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="发起单位">
|
<el-form-item label="发起单位">
|
||||||
{{ deptName }}
|
{{ deptName }}
|
||||||
|
@ -103,11 +107,7 @@
|
||||||
placeholder="请输入分包单位项目经理"
|
placeholder="请输入分包单位项目经理"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item v-if="fbAptitude" label="身份证号" prop="subDeptCustodianCardId">
|
||||||
v-if="fbAptitude"
|
|
||||||
label="身份证号"
|
|
||||||
prop="subDeptCustodianCardId"
|
|
||||||
>
|
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.subDeptCustodianCardId"
|
v-model="form.subDeptCustodianCardId"
|
||||||
placeholder="请输入分包单位项目经理身份证号"
|
placeholder="请输入分包单位项目经理身份证号"
|
||||||
|
@ -159,7 +159,7 @@
|
||||||
rows="5"
|
rows="5"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div style="text-align: center;margin-bottom: 20px;">
|
<div style="text-align: center; margin-bottom: 20px">
|
||||||
<el-button type="primary" @click="submitForm">提交流程</el-button>
|
<el-button type="primary" @click="submitForm">提交流程</el-button>
|
||||||
<el-button @click="doCanel">取 消</el-button>
|
<el-button @click="doCanel">取 消</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -275,10 +275,10 @@ export default {
|
||||||
taskOpen: false,
|
taskOpen: false,
|
||||||
daterangeMarksTime: [],
|
daterangeMarksTime: [],
|
||||||
fbAptitude: false,
|
fbAptitude: false,
|
||||||
persChangeList1: ['flow_xmglzdl_xmzbdwrybg','flow_xmglzdl_xmjldwrybg'],
|
persChangeList1: ["flow_xmglzdl_xmzbdwrybg", "flow_xmglzdl_xmjldwrybg"],
|
||||||
persChangeList2: ['flow_xmglzdl_xmjlzjrybg','flow_xmglzdl_xmzbjlrybg'],
|
persChangeList2: ["flow_xmglzdl_xmjlzjrybg", "flow_xmglzdl_xmzbjlrybg"],
|
||||||
persChange1: false,
|
persChange1: false,
|
||||||
persChange2: false
|
persChange2: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
|
@ -295,7 +295,6 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
doCanel() {
|
doCanel() {
|
||||||
this.onOpen = false;
|
this.onOpen = false;
|
||||||
|
@ -303,17 +302,25 @@ export default {
|
||||||
show(options) {
|
show(options) {
|
||||||
this.options = options;
|
this.options = options;
|
||||||
this.onOpen = true;
|
this.onOpen = true;
|
||||||
|
this.fbAptitude = false;
|
||||||
|
this.persChange1 = false;
|
||||||
|
this.persChange2 = false;
|
||||||
this.title = options.procDefName;
|
this.title = options.procDefName;
|
||||||
//初始化流程类型
|
//初始化流程类型
|
||||||
if (options.procDefKey == "flow_fbzzsp_fbszzsp") {
|
if (options.procDefKey == "flow_fbzzsp_fbszzsp") {
|
||||||
this.fbAptitude = true;
|
this.fbAptitude = true;
|
||||||
}
|
}else if (
|
||||||
if (this.persChangeList1.indexOf(options.flowKey)){
|
options.procDefKey == "flow_xmglzdl_xmzbdwrybg" ||
|
||||||
|
options.procDefKey == "flow_xmglzdl_xmjldwrybg"
|
||||||
|
) {
|
||||||
this.persChange1 = true;
|
this.persChange1 = true;
|
||||||
}
|
}else if (
|
||||||
if (this.persChangeList2.indexOf(options.flowKey)){
|
options.procDefKey == "flow_xmglzdl_xmjlzjrybg" ||
|
||||||
|
options.procDefKey == "flow_xmglzdl_xmzbjlrybg"
|
||||||
|
) {
|
||||||
this.persChange2 = true;
|
this.persChange2 = true;
|
||||||
}
|
}
|
||||||
|
console.log("procDefKey==>"+options.procDefKey);
|
||||||
this.initFormDate(options.procInsId);
|
this.initFormDate(options.procInsId);
|
||||||
flowXmlAndNode({ procInsId: options.procInsId, deployId: options.deployId }).then(
|
flowXmlAndNode({ procInsId: options.procInsId, deployId: options.deployId }).then(
|
||||||
(res) => {
|
(res) => {
|
||||||
|
@ -347,7 +354,7 @@ export default {
|
||||||
findFormDatasByProcInsId(params)
|
findFormDatasByProcInsId(params)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.data.subDeptScope) {
|
if (res.data.subDeptScope) {
|
||||||
res.data.subDeptScope = res.data.subDeptScope.split(',');
|
res.data.subDeptScope = res.data.subDeptScope.split(",");
|
||||||
}
|
}
|
||||||
this.form = res.data;
|
this.form = res.data;
|
||||||
this.deptName = this.options.startDeptName;
|
this.deptName = this.options.startDeptName;
|
||||||
|
@ -392,8 +399,8 @@ export default {
|
||||||
subDeptSafetyCertificate: this.form.subDeptSafetyCertificate,
|
subDeptSafetyCertificate: this.form.subDeptSafetyCertificate,
|
||||||
subDeptCustodian: this.form.subDeptCustodian,
|
subDeptCustodian: this.form.subDeptCustodian,
|
||||||
subDeptCustodianCardId: this.form.subDeptCustodianCardId,
|
subDeptCustodianCardId: this.form.subDeptCustodianCardId,
|
||||||
subDeptApproachDate:this.form.subDeptApproachDate
|
subDeptApproachDate: this.form.subDeptApproachDate,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
@ -403,7 +410,7 @@ export default {
|
||||||
files: this.form.files,
|
files: this.form.files,
|
||||||
remark: this.form.remark,
|
remark: this.form.remark,
|
||||||
INITIATOR: this.form.INITIATOR,
|
INITIATOR: this.form.INITIATOR,
|
||||||
...fbAptitudeParams
|
...fbAptitudeParams,
|
||||||
};
|
};
|
||||||
complete(this.form).then((res) => {
|
complete(this.form).then((res) => {
|
||||||
this.$store.dispatch("settingAwaitNum");
|
this.$store.dispatch("settingAwaitNum");
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
title="请至少上传报审表,营业执照,安全生产许可证,资质证书,人员证书等!缺少相关附件可能被驳回申请。"
|
title="请至少上传报审表,营业执照,安全生产许可证,资质证书,人员证书等!缺少相关附件可能被驳回申请。"
|
||||||
type="warning"
|
type="warning"
|
||||||
show-icon
|
show-icon
|
||||||
/>
|
>
|
||||||
</el-alert>
|
</el-alert>
|
||||||
<el-alert
|
<el-alert
|
||||||
v-if="persChange1"
|
v-if="persChange1"
|
||||||
|
@ -269,10 +269,8 @@ export default {
|
||||||
daterangeMarksTime: [],
|
daterangeMarksTime: [],
|
||||||
//分包资质审批
|
//分包资质审批
|
||||||
fbAptitude: false,
|
fbAptitude: false,
|
||||||
persChangeList1: ['flow_xmglzdl_xmzbdwrybg','flow_xmglzdl_xmjldwrybg'],
|
|
||||||
persChangeList2: ['flow_xmglzdl_xmjlzjrybg','flow_xmglzdl_xmzbjlrybg'],
|
|
||||||
persChange1: false,
|
persChange1: false,
|
||||||
persChange2: false
|
persChange2: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
|
@ -311,18 +309,26 @@ export default {
|
||||||
this.options = options;
|
this.options = options;
|
||||||
this.initMyProject();
|
this.initMyProject();
|
||||||
this.title = options.name;
|
this.title = options.name;
|
||||||
|
this.fbAptitude = false;
|
||||||
|
this.persChange1 = false;
|
||||||
|
this.persChange2 = false;
|
||||||
this.deptName = store.getters.dept.deptName;
|
this.deptName = store.getters.dept.deptName;
|
||||||
this.nickName = store.getters.name;
|
this.nickName = store.getters.name;
|
||||||
//初始化流程类型
|
//初始化流程类型
|
||||||
if (options.flowKey == "flow_fbzzsp_fbszzsp") {
|
if (options.flowKey == "flow_fbzzsp_fbszzsp") {
|
||||||
this.fbAptitude = true;
|
this.fbAptitude = true;
|
||||||
}
|
}else if (
|
||||||
if (this.persChangeList1.indexOf(options.flowKey)){
|
options.flowKey == "flow_xmglzdl_xmzbdwrybg" ||
|
||||||
|
options.flowKey == "flow_xmglzdl_xmjldwrybg"
|
||||||
|
) {
|
||||||
this.persChange1 = true;
|
this.persChange1 = true;
|
||||||
}
|
}else if (
|
||||||
if (this.persChangeList2.indexOf(options.flowKey)){
|
options.flowKey == "flow_xmglzdl_xmjlzjrybg" ||
|
||||||
|
options.flowKey == "flow_xmglzdl_xmzbjlrybg"
|
||||||
|
) {
|
||||||
this.persChange2 = true;
|
this.persChange2 = true;
|
||||||
}
|
}
|
||||||
|
console.log("flowKey==>"+options.flowKey);
|
||||||
const self = this;
|
const self = this;
|
||||||
this.onOpen = true;
|
this.onOpen = true;
|
||||||
flowXmlAndNode({ deployId: options.deploymentId }).then((res) => {
|
flowXmlAndNode({ deployId: options.deploymentId }).then((res) => {
|
||||||
|
|
Loading…
Reference in New Issue