修改bug

This commit is contained in:
宋伟佳
2021-08-05 16:56:29 +08:00
parent 54ee848af0
commit a2af7ad007
3 changed files with 8 additions and 7 deletions
@@ -87,22 +87,22 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="xcxssrqgj" prop="xcxssrq"
width="190px" width="190px"
align="center" align="center"
label="新车型实施日期"> label="新车型实施日期">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span> <span>{{ scope.row.xcxssrq ? $moment(scope.row.xcxssrq).format("YYYY-MM-DD") : "" }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="zccssrqgj" prop="zccssrq"
align="center" align="center"
sortable sortable
width="190px" width="190px"
label="在产车实施日期"> label="在产车实施日期">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span> <span>{{ scope.row.zccssrq ? $moment(scope.row.zccssrq).format("YYYY-MM-DD") : "" }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -422,7 +422,6 @@ export default {
queryTaskFirst({ queryTaskFirst({
bpnId: this.$route.query.bpnId bpnId: this.$route.query.bpnId
}).then(res => { }).then(res => {
console.log(res.mes);
let mes = JSON.parse(res.mes); let mes = JSON.parse(res.mes);
this.listForm = mes.form; this.listForm = mes.form;
this.dataList = mes.form.dataList; this.dataList = mes.form.dataList;
@@ -547,6 +546,7 @@ export default {
if (valid) { if (valid) {
this.$refs['roleForm'].validate((valid) => { this.$refs['roleForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true
this.$http.get("lawss/activiti/startProcess", { type: "6" }, { this.$http.get("lawss/activiti/startProcess", { type: "6" }, {
_this: this _this: this
}, res => { }, res => {
@@ -562,6 +562,7 @@ export default {
this.$message.success(res.message); this.$message.success(res.message);
this.$router.push("/processCenter"); this.$router.push("/processCenter");
} }
this.isSubmit = false
}); });
} }
}); });
@@ -526,7 +526,7 @@ export default {
_formData.append("createUserName", this.$store.getters.userInfo.userName); _formData.append("createUserName", this.$store.getters.userInfo.userName);
_formData.append("prcType", "6"); _formData.append("prcType", "6");
_formData.append("json", JSON.stringify({ _formData.append("json", JSON.stringify({
form: this.form, form: this.listForm,
roleForm: this.roleForm, roleForm: this.roleForm,
commentText: this.commentText commentText: this.commentText
})); }));
@@ -2,7 +2,7 @@
<div class="xmpg2-step12"> <div class="xmpg2-step12">
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">项目合规评估流程-项目</template> <template slot="proName">项目合规评估流程-项目</template>
<template slot="proNode">责任人审核</template> <template slot="proNode">标准法规部部长审核</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>