标准评估流程
This commit is contained in:
@@ -158,25 +158,26 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productLine"
|
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
min-width="180"
|
||||||
label="产品线">
|
prop="projectGroup"
|
||||||
|
label="项目群">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="projectNumber"
|
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
min-width="180"
|
||||||
|
prop="projectNumber"
|
||||||
label="项目编号">
|
label="项目编号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="projectName"
|
min-width="300"
|
||||||
|
:show-overflow-tooltip="true"
|
||||||
align="center"
|
align="center"
|
||||||
width="200"
|
prop="projectName"
|
||||||
label="项目名称">
|
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="条款号">
|
||||||
@@ -187,6 +188,17 @@
|
|||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="条款内容"
|
||||||
|
width="200"
|
||||||
|
show-overflow-tooltip
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button size="mini" type="primary" @click="itermsConditionsOpen(scope.row)" class="common-button-primary">
|
||||||
|
查看条款内容
|
||||||
|
</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="technicalRequir"
|
prop="technicalRequir"
|
||||||
align="center"
|
align="center"
|
||||||
@@ -200,13 +212,13 @@
|
|||||||
label="基于上一版本差异">
|
label="基于上一版本差异">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xCXSSRQ"
|
prop="xcxssrq"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zCCSSRQ"
|
prop="zccssrq"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
@@ -420,6 +432,15 @@
|
|||||||
@checkedRole="checkedTransferRole"
|
@checkedRole="checkedTransferRole"
|
||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
|
<el-dialog
|
||||||
|
title="查看条款内容"
|
||||||
|
:visible.sync="itermsConditionsFlag"
|
||||||
|
size="800px">
|
||||||
|
<div class="itemsTextBox" v-html="itermsConditionsTitle"></div>
|
||||||
|
<div slot="footer">
|
||||||
|
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="itermsConditionsClose">关闭</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
<!-- 批量编辑弹窗-->
|
<!-- 批量编辑弹窗-->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="批量填写"
|
title="批量填写"
|
||||||
@@ -534,6 +555,9 @@ export default {
|
|||||||
comFlag: 0,
|
comFlag: 0,
|
||||||
nodeList:[],
|
nodeList:[],
|
||||||
drawerTitle:'',
|
drawerTitle:'',
|
||||||
|
fileType: '',
|
||||||
|
itermsConditionsTitle: '',
|
||||||
|
itermsConditionsFlag: false,
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
// 调整处理人抽屉状态
|
// 调整处理人抽屉状态
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
@@ -673,6 +697,20 @@ export default {
|
|||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.$http.get('SarStandItems/sar-stand-items/findItemById',{
|
||||||
|
type:this.fileType,
|
||||||
|
ids: row.id
|
||||||
|
},{
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.itermsConditionsTitle = res.data[0].termsConditions.replace(/''/g, '\'')
|
||||||
|
})
|
||||||
|
this.itermsConditionsFlag = true
|
||||||
|
},
|
||||||
//点击查看详情
|
//点击查看详情
|
||||||
handlePreview(item){
|
handlePreview(item){
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
@@ -722,44 +760,14 @@ export default {
|
|||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
console.log(item);
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.listForm = JSON.parse(JSON.stringify(item));
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
if (item.form === undefined) {
|
if (item.form === undefined) {
|
||||||
if (item.fenFlag === undefined) {
|
this.fileType = item.fileType
|
||||||
item.step3DTOS.forEach(item => {
|
this.listForm.prcNum = this.prcNum
|
||||||
item.implementerId = this.$store.getters.userInfo.userId;
|
this.listForm.prcName = this.prcName
|
||||||
item.implementer = this.$store.getters.userInfo.userName;
|
this.listForm['id'] = item.id
|
||||||
});
|
this.dataList = item.dataList
|
||||||
// this.commentText = ''
|
|
||||||
this.dataList = item.step3DTOS;
|
|
||||||
this.dataList.forEach(item => {
|
|
||||||
this.$set(item,'complianceReasons', '')
|
|
||||||
this.$set(item,'noCompliance', '')
|
|
||||||
this.$set(item,'countermeasures', '')
|
|
||||||
this.$set(item,'completionTime', '')
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.dataList = item.dataList;
|
|
||||||
// this.commentText = ''
|
|
||||||
this.dataList.forEach(item => {
|
|
||||||
item.implementerId = this.$store.getters.userInfo.userId;
|
|
||||||
item.implementer = this.$store.getters.userInfo.userName;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
// this.getLocalTime()
|
|
||||||
this.listForm.prcNum = this.prcNum;
|
|
||||||
this.listForm.prcName = this.prcName;
|
|
||||||
this.listForm["id"] = item.id;
|
|
||||||
this.listForm.standName = item.step3DTOS[0].standName;
|
|
||||||
this.listForm.standNumber = item.step3DTOS[0].standNumber;
|
|
||||||
this.listForm.id = item.step3DTOS[0].id;
|
|
||||||
this.listForm.qualityEngineerName = item.step3DTOS[0].qualityEngineerName;
|
|
||||||
this.listForm.certifiedEngineerName = item.step3DTOS[0].certifiedEngineerName;
|
|
||||||
this.listForm.itemsName = item.step3DTOS[0].itemsName;
|
|
||||||
this.listForm.itemNum = item.step3DTOS[0].itemNum;
|
|
||||||
this.listForm.responsibleUnit = item.step3DTOS[0].responsibleUnit;
|
|
||||||
this.listForm.responsibleEngineer = item.step3DTOS[0].responsibleEngineer;
|
|
||||||
} else {
|
} else {
|
||||||
this.listForm = item.form;
|
this.listForm = item.form;
|
||||||
this.dataList = item.form.dataList;
|
this.dataList = item.form.dataList;
|
||||||
@@ -827,10 +835,13 @@ export default {
|
|||||||
this.$message.warning('请填写完整的不符合项信息')
|
this.$message.warning('请填写完整的不符合项信息')
|
||||||
this.comFlag = 0
|
this.comFlag = 0
|
||||||
}else{
|
}else{
|
||||||
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
this.$confirm("请确认表单数据是否填写完整", "提示", {
|
||||||
|
confirmButtonText: "确认",
|
||||||
|
confirmButtonClass: "common-button-primary",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning"
|
||||||
|
}).then(() => {
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
this.listForm.approvalOpinion = "";
|
|
||||||
this.listForm.signFlag = "";
|
|
||||||
this.listForm.dataList = this.dataList;
|
this.listForm.dataList = this.dataList;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
@@ -848,6 +859,8 @@ export default {
|
|||||||
this.isSubmit = false;
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
|
});
|
||||||
|
}).catch(() => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -872,7 +885,7 @@ export default {
|
|||||||
saveBatchEditForm() {
|
saveBatchEditForm() {
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
this.selectList.forEach(items => {
|
this.selectList.forEach(items => {
|
||||||
if (item.itemNum === items.itemNum && item.projectName === items.projectName) {
|
if (item.itemsNum === items.itemsNum && item.projectName === items.projectName) {
|
||||||
item.complianceReasons = this.batchEditForm.complianceReasons;
|
item.complianceReasons = this.batchEditForm.complianceReasons;
|
||||||
//不合规
|
//不合规
|
||||||
item.noCompliance = this.batchEditForm.noCompliance;
|
item.noCompliance = this.batchEditForm.noCompliance;
|
||||||
@@ -904,7 +917,7 @@ export default {
|
|||||||
this.searchData();
|
this.searchData();
|
||||||
},
|
},
|
||||||
pageSizeChange(pageSize) {
|
pageSizeChange(pageSize) {
|
||||||
this.pageSize = this.$store.getters.userInfo.configContent;
|
this.pageSize = pageSize;
|
||||||
this.searchData();
|
this.searchData();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user