合规评估流程-项目维度
This commit is contained in:
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -297,7 +296,7 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
bzFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
@@ -359,42 +358,50 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.bzFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.bzFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -297,7 +296,7 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
bzFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
@@ -359,43 +358,52 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
} else {
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.bzFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
} else {
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.bzFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||||
|
|||||||
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -297,7 +296,7 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
dlFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
@@ -359,42 +358,50 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.dlFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.dlFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
@@ -404,7 +411,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.processTable();
|
this.processTable();
|
||||||
this.getData();
|
this.getData();
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
@@ -84,21 +84,21 @@
|
|||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format("YYYY-MM-DD") : "" }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format("YYYY-MM-DD") : "" }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
label="合规">
|
label="合规">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].complianceReasons"
|
v-model="scope.row.complianceReasons"
|
||||||
placeholder="请输入合规原因"
|
placeholder="请输入合规原因"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].noCompliance"
|
v-model="scope.row.noCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项目"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -143,7 +143,7 @@
|
|||||||
label="应对措施">
|
label="应对措施">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].countermeasures"
|
v-model="scope.row.countermeasures"
|
||||||
placeholder="请输入应对措施"
|
placeholder="请输入应对措施"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -156,7 +156,7 @@
|
|||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="dataList[scope.$index].completionTime"
|
v-model="scope.row.completionTime"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -174,7 +174,7 @@
|
|||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].zcComplianceReasons"
|
v-model="scope.row.zcComplianceReasons"
|
||||||
placeholder="请输入合规原因"
|
placeholder="请输入合规原因"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].zcNoCompliance"
|
v-model="scope.row.zcNoCompliance"
|
||||||
placeholder="请输入不合规项目"
|
placeholder="请输入不合规项目"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -204,7 +204,7 @@
|
|||||||
label="应对措施">
|
label="应对措施">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="dataList[scope.$index].zcCountermeasures"
|
v-model="scope.row.zcCountermeasures"
|
||||||
placeholder="请输入应对措施"
|
placeholder="请输入应对措施"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="dataList[scope.$index].zcCompletionTime"
|
v-model="scope.row.zcCompletionTime"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="选择日期">
|
placeholder="选择日期">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -396,6 +396,7 @@ export default {
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
|
console.log(res.mesg)
|
||||||
const processForm = JSON.parse(res.mesg);
|
const processForm = JSON.parse(res.mesg);
|
||||||
this.getFormFieldList(processForm);
|
this.getFormFieldList(processForm);
|
||||||
}
|
}
|
||||||
@@ -407,37 +408,13 @@ export default {
|
|||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.listForm = JSON.parse(JSON.stringify(item));
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
|
console.log(this.listForm)
|
||||||
this.listForm.prcNum = this.prcNum;
|
this.listForm.prcNum = this.prcNum;
|
||||||
this.listForm.prcName = this.prcName;
|
this.listForm.prcName = this.prcName;
|
||||||
this.listForm["id"] = item.id;
|
this.listForm["id"] = item.id;
|
||||||
this.listForm.dataList = item.dataList;
|
// this.listForm.dataList = item.dataList;
|
||||||
this.dataList = item.dataList;
|
this.dataList = this.listForm.dataList;
|
||||||
let children = [];
|
console.log(this.dataList)
|
||||||
item.breakdownList.forEach(
|
|
||||||
item => {
|
|
||||||
let aa = {
|
|
||||||
key: item.standId,
|
|
||||||
id: item.id,
|
|
||||||
standId: item.itemsNum,
|
|
||||||
itemsNum: item.itemsNum,
|
|
||||||
itemsName: item.itemsName,
|
|
||||||
workPeople: "请选择责任人"
|
|
||||||
};
|
|
||||||
children.push(aa);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
this.dataList.forEach(key => {
|
|
||||||
key["children"] = [];
|
|
||||||
children.forEach(breakDown => {
|
|
||||||
if (key.standId === breakDown.key) {
|
|
||||||
key["children"].push(breakDown);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
if (key["children"].length === 0) {
|
|
||||||
delete key["children"];
|
|
||||||
}
|
|
||||||
});
|
|
||||||
this.listForm.children = children;
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//保存事件
|
//保存事件
|
||||||
@@ -446,8 +423,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.dataList.forEach(item => {
|
|
||||||
if (item.workPeople !== undefined) {
|
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
@@ -463,10 +438,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
this.$message.warning("请选择分发负责人");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
//标准表格选择框改变
|
//标准表格选择框改变
|
||||||
selectStandChange(data) {
|
selectStandChange(data) {
|
||||||
|
|||||||
@@ -1,485 +1,491 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="xmpg2-step7">
|
<div class="xmpg2-step7">
|
||||||
<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>
|
||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-form
|
<el-form
|
||||||
:model="listForm"
|
:model="listForm"
|
||||||
class="label-input-form prc-content-border"
|
class="label-input-form prc-content-border"
|
||||||
label-width="150px"
|
label-width="150px"
|
||||||
>
|
>
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="项目编号" prop="projectNumber" class="add-form-item form-item-disabled">
|
<el-form-item label="项目编号" prop="projectNumber" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.projectNumber"
|
v-model="listForm.projectNumber"
|
||||||
placeholder="请输入项目编号"
|
placeholder="请输入项目编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="项目名称" prop="projectName" class="add-form-item form-item-disabled">
|
<el-form-item label="项目名称" prop="projectName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.projectName"
|
v-model="listForm.projectName"
|
||||||
placeholder="请输入项目名称"
|
placeholder="请输入项目名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<process-title style="margin-top:5px; margin-bottom: 5px">
|
<process-title style="margin-top:5px; margin-bottom: 5px">
|
||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
<el-table-column
|
fontWeight: 'bold', height: '48px'}"
|
||||||
type="selection"
|
>
|
||||||
width="55"
|
<el-table-column
|
||||||
align="center">
|
type="selection"
|
||||||
</el-table-column>
|
width="55"
|
||||||
<el-table-column
|
align="center">
|
||||||
prop="standNumber"
|
</el-table-column>
|
||||||
align="center"
|
<el-table-column
|
||||||
width="200"
|
prop="standEnName"
|
||||||
label="标准编号">
|
label="标准编号"
|
||||||
</el-table-column>
|
width="180"
|
||||||
<el-table-column
|
fixed="left"
|
||||||
prop="standName"
|
align="center"
|
||||||
align="center"
|
>
|
||||||
width="200"
|
</el-table-column>
|
||||||
label="标准名称">
|
<el-table-column
|
||||||
</el-table-column>
|
prop="standName"
|
||||||
<el-table-column
|
fixed="left"
|
||||||
prop="itemNum"
|
width="180"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
label="标准名称"
|
||||||
label="条款号">
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsNum"
|
||||||
width="200"
|
align="center"
|
||||||
align="center"
|
width="200"
|
||||||
label="条款名称">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="条款名称">
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="xcxssrqgj"
|
||||||
</el-table-column>
|
width="200"
|
||||||
<el-table-column
|
align="center"
|
||||||
prop="zCCSSRQ"
|
label="新车型实施日期">
|
||||||
width="200"
|
<template slot-scope="scope">
|
||||||
align="center"
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
label="在产车实施日期">
|
</template>
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="zccssrqgj"
|
||||||
</el-table-column>
|
width="200"
|
||||||
<el-table-column
|
align="center"
|
||||||
prop="productType"
|
label="在产车实施日期">
|
||||||
align="center"
|
<template slot-scope="scope">
|
||||||
label="在研产品">
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
<el-table-column
|
</template>
|
||||||
prop="complianceReasons"
|
</el-table-column>
|
||||||
align="center"
|
<el-table-column
|
||||||
width="160"
|
prop="productType"
|
||||||
label="合规">
|
align="center"
|
||||||
</el-table-column>
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
prop="complianceReasons"
|
||||||
width="160"
|
align="center"
|
||||||
prop="researchNonCompliance"
|
width="160"
|
||||||
label="不合规">
|
label="合规">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="noCompliance"
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
prop="researchNonCompliance"
|
||||||
</el-table-column>
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="应对措施">
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="completionTime"
|
||||||
</el-table-column>
|
align="center"
|
||||||
</el-table-column>
|
width="160"
|
||||||
</el-table-column>
|
label="完成时间">
|
||||||
<el-table-column
|
<template slot-scope="scope">
|
||||||
align="center"
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
label="在产产品">
|
</template>
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="zcComplianceReasons"
|
</el-table-column>
|
||||||
align="center"
|
</el-table-column>
|
||||||
width="160"
|
<el-table-column
|
||||||
label="合规(具体情况)">
|
align="center"
|
||||||
</el-table-column>
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
prop="zcComplianceReasons"
|
||||||
width="160"
|
align="center"
|
||||||
label="不合规">
|
width="160"
|
||||||
<el-table-column
|
label="合规(具体情况)">
|
||||||
prop="zcNoCompliance"
|
</el-table-column>
|
||||||
align="center"
|
<el-table-column
|
||||||
width="160"
|
align="center"
|
||||||
label="不合规项目">
|
width="160"
|
||||||
</el-table-column>
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="应对措施">
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="zcCompletionTime"
|
||||||
</el-table-column>
|
align="center"
|
||||||
</el-table-column>
|
width="160"
|
||||||
</el-table-column>
|
label="完成时间">
|
||||||
<el-table-column
|
<template slot-scope="scope">
|
||||||
fixed="right"
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
align="center"
|
</template>
|
||||||
width="150"
|
</el-table-column>
|
||||||
prop="workPeople"
|
</el-table-column>
|
||||||
label="落实人">
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table>
|
||||||
</el-table>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<el-collapse accordion>
|
|
||||||
<el-collapse-item title="意见填写">
|
|
||||||
<div style="margin: 10px 0;">
|
|
||||||
<el-input
|
|
||||||
type="textarea"
|
|
||||||
:rows="3"
|
|
||||||
resize="none"
|
|
||||||
placeholder="请输入意见"
|
|
||||||
v-model="commentText">
|
|
||||||
</el-input>
|
|
||||||
</div>
|
</div>
|
||||||
</el-collapse-item>
|
<div>
|
||||||
</el-collapse>
|
<el-collapse accordion>
|
||||||
</div>
|
<el-collapse-item title="意见填写">
|
||||||
</div>
|
<div style="margin: 10px 0;">
|
||||||
<div class="content" v-show="active === '3'">
|
<el-input
|
||||||
<div class="flow-list" style="height: 100%">
|
type="textarea"
|
||||||
<el-table
|
:rows="3"
|
||||||
height="100%"
|
resize="none"
|
||||||
ref="selection"
|
placeholder="请输入意见"
|
||||||
:data="detailData"
|
v-model="commentText">
|
||||||
tooltip-effect="dark"
|
</el-input>
|
||||||
style="width: 100%"
|
</div>
|
||||||
border
|
</el-collapse-item>
|
||||||
row-key="id"
|
</el-collapse>
|
||||||
:no-data-text="listNoDataText"
|
</div>
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
</div>
|
||||||
|
<div class="content" v-show="active === '3'">
|
||||||
|
<div class="flow-list" style="height: 100%">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="detailData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:no-data-text="listNoDataText"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="审批意见"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.commentText }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? "已完成" : "未完成" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ProcessFooter
|
||||||
|
show-back
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
:saveLoading="saveLoading"
|
||||||
|
:approval="true"
|
||||||
|
@back="beforeBack"
|
||||||
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
<el-table-column
|
</ProcessFooter>
|
||||||
type="selection"
|
|
||||||
width="55"
|
|
||||||
align="center">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="name"
|
|
||||||
label="任务步骤"
|
|
||||||
align="center"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="assignee"
|
|
||||||
label="任务受理人"
|
|
||||||
align="center"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="createTime"
|
|
||||||
label="创建时间"
|
|
||||||
sortable="custom"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="endTime"
|
|
||||||
label="完成时间"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="comment"
|
|
||||||
label="审批意见"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.commentText }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="completeFlag"
|
|
||||||
label="状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? "已完成" : "未完成" }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
<loading :loading="loading">流程列表加载中</loading>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
|
||||||
show-back
|
|
||||||
show-submit
|
|
||||||
:submitLoading="isSubmit"
|
|
||||||
:saveLoading="saveLoading"
|
|
||||||
:approval="true"
|
|
||||||
@back="beforeBack"
|
|
||||||
@submit="handleSubmit"
|
|
||||||
>
|
|
||||||
</ProcessFooter>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import { inboundLiaisonDetail, queryDetail } from "api/process";
|
import {inboundLiaisonDetail, queryDetail} from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "xmpg2Step7",
|
name: "xmpg2Step7",
|
||||||
components: {
|
components: {
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessFooter
|
ProcessFooter
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
active: "1",
|
active: "1",
|
||||||
loading: false,
|
loading: false,
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
ffFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
breakdownList: [] //标准下的分解单数据
|
breakdownList: [] //标准下的分解单数据
|
||||||
},
|
},
|
||||||
dataList: [], //展示的标准数据
|
dataList: [], //展示的标准数据
|
||||||
commentText: "", //审批意见
|
commentText: "", //审批意见
|
||||||
detailData: [],//流程历史数据
|
detailData: [],//流程历史数据
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId
|
pId: this.$route.query.prcId
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
processTable() {
|
||||||
|
this.$http.get("lawss/activiti/get_list_by_instance", {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
sortWord: this.shunxu ? this.paixu : "",
|
||||||
|
shunxu: this.shunxu
|
||||||
|
}, {
|
||||||
|
loading: "loading",
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.detailData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//tab改变
|
||||||
|
handleTabs(type) {
|
||||||
|
this.active = type;
|
||||||
|
},
|
||||||
|
//获取数据
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
if (res) {
|
||||||
|
const processForm = JSON.parse(res.mesg);
|
||||||
|
this.getFormFieldList(processForm);
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//动态表单读取
|
||||||
|
getFormFieldList(item) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
|
this.listForm.prcNum = this.prcNum;
|
||||||
|
this.listForm.prcName = this.prcName;
|
||||||
|
this.listForm["id"] = item.id;
|
||||||
|
this.listForm.dataList = item.dataList;
|
||||||
|
this.dataList = item.dataList;
|
||||||
|
this.dataList.distributePerson = item.dataList[0].distributePerson;
|
||||||
|
this.listForm.breakdownList = item.breakdownList;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//驳回事件
|
||||||
|
beforeBack() {
|
||||||
|
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
} else {
|
||||||
|
this.listForm.ffFlag = "2";
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
} else {
|
||||||
|
this.listForm.ffFlag = "1";
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
listNoDataText() {
|
||||||
|
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.processTable();
|
||||||
|
this.getData();
|
||||||
|
},
|
||||||
};
|
};
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
processTable() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
|
||||||
shunxu: this.shunxu
|
|
||||||
}, {
|
|
||||||
loading: "loading",
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.detailData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//tab改变
|
|
||||||
handleTabs(type) {
|
|
||||||
this.active = type;
|
|
||||||
},
|
|
||||||
//获取数据
|
|
||||||
getData() {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
inboundLiaisonDetail({
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
pId: this.pId
|
|
||||||
}).then(res => {
|
|
||||||
if (res) {
|
|
||||||
const processForm = JSON.parse(res.mesg);
|
|
||||||
this.getFormFieldList(processForm);
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
});
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//动态表单读取
|
|
||||||
getFormFieldList(item) {
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.listForm = JSON.parse(JSON.stringify(item));
|
|
||||||
this.listForm.prcNum = this.prcNum;
|
|
||||||
this.listForm.prcName = this.prcName;
|
|
||||||
this.listForm["id"] = item.id;
|
|
||||||
this.listForm.dataList = item.dataList;
|
|
||||||
this.dataList = item.dataList;
|
|
||||||
this.dataList.distributePerson = item.dataList[0].distributePerson;
|
|
||||||
this.listForm.breakdownList = item.breakdownList;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//驳回事件
|
|
||||||
beforeBack() {
|
|
||||||
this.listForm.BZFlag = "2";
|
|
||||||
this.listForm.commentText = this.commentText;
|
|
||||||
const json = JSON.stringify(this.listForm);
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.userId,
|
|
||||||
json: json
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success(res.message);
|
|
||||||
this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//提交事件
|
|
||||||
handleSubmit() {
|
|
||||||
this.listForm.BZFlag = "1";
|
|
||||||
this.listForm.commentText = this.commentText;
|
|
||||||
const json = JSON.stringify(this.listForm);
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.userId,
|
|
||||||
json: json
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success(res.message);
|
|
||||||
this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
listNoDataText() {
|
|
||||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
|
||||||
}
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.processTable();
|
|
||||||
this.getData();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
.xmpg2-step7 {
|
.xmpg2-step7 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.choiceBtn {
|
.choiceBtn {
|
||||||
.el-button--primary {
|
.el-button--primary {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-between;
|
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
|
||||||
|
|
||||||
.tableTitle {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
position: relative;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: bold;
|
|
||||||
|
|
||||||
.tableButton {
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.accessStandardsAndRegulations {
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.demo-drawer-content {
|
.headerTabs {
|
||||||
margin-top: 10px;
|
height: 52px;
|
||||||
}
|
display: flex;
|
||||||
}
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 10px;
|
||||||
|
|
||||||
|
.headerTabsItem {
|
||||||
|
border: 1px solid #c1c1c1;
|
||||||
|
padding: 0 5px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active {
|
||||||
|
border: 1px solid #E6A23C;
|
||||||
|
color: #fff;
|
||||||
|
background: #E6A23C;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
position: relative;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.tableButton {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accessStandardsAndRegulations {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-drawer-content {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -297,7 +296,7 @@ export default {
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
BZFlag: " ", //1审批通过 其他为驳回
|
jgFlag: " ", //1审批通过 其他为驳回
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
@@ -359,42 +358,50 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.jgFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.jgFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -41,92 +41,98 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
ref="selection"
|
row-key="standId"
|
||||||
height="70%"
|
height="70%"
|
||||||
style="width: 100%; border:1px solid #ccc"
|
border
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
@selection-change="selectStandChange"
|
||||||
fontWeight: 'bold', height: '48px'}">
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="standEnName"
|
||||||
align="center"
|
label="标准编号"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准编号">
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
align="center"
|
fixed="left"
|
||||||
width="200"
|
width="180"
|
||||||
label="标准名称">
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemNum"
|
prop="itemsNum"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
width="200"
|
||||||
label="条款号">
|
label="条款号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrqgj"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
label="在研产品">
|
label="在研产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="complianceReasons"
|
prop="complianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规">
|
label="合规">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
prop="researchNonCompliance"
|
prop="researchNonCompliance"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="noCompliance"
|
prop="noCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countermeasures"
|
prop="countermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completionTime"
|
prop="completionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -134,48 +140,41 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
label="在产产品">
|
label="在产产品">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcComplianceReasons"
|
prop="zcComplianceReasons"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="合规(具体情况)">
|
label="合规(具体情况)">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规">
|
label="不合规">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcNoCompliance"
|
prop="zcNoCompliance"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="不合规项目">
|
label="不合规项目">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCountermeasures"
|
prop="zcCountermeasures"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="应对措施">
|
label="应对措施">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zcCompletionTime"
|
prop="zcCompletionTime"
|
||||||
align="center"
|
align="center"
|
||||||
width="160"
|
width="160"
|
||||||
label="完成时间">
|
label="完成时间">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
fixed="right"
|
|
||||||
align="center"
|
|
||||||
width="150"
|
|
||||||
prop="workPeople"
|
|
||||||
label="落实人">
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -359,42 +358,50 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack() {
|
beforeBack() {
|
||||||
this.listForm.BZFlag = "2";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.gcFlag = "2";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.BZFlag = "1";
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.commentText = this.commentText;
|
this.$message.warning('请填写审批意见')
|
||||||
const json = JSON.stringify(this.listForm);
|
}else{
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.listForm.gcFlag = "1";
|
||||||
taskIds: this.taskIds,
|
this.listForm.commentText = this.commentText;
|
||||||
userId: this.userId,
|
const json = JSON.stringify(this.listForm);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
}, e => {
|
this.$message.success(res.message);
|
||||||
});
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
Reference in New Issue
Block a user