标准评估流程
This commit is contained in:
@@ -445,7 +445,8 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="index"
|
type="index"
|
||||||
width="55"
|
label="序号"
|
||||||
|
width="70"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -577,7 +578,7 @@ export default {
|
|||||||
],
|
],
|
||||||
endTime: [
|
endTime: [
|
||||||
{ required: true, message: "请输入截止时间", trigger: "change" }
|
{ required: true, message: "请输入截止时间", trigger: "change" }
|
||||||
],
|
]
|
||||||
},
|
},
|
||||||
roleFormRules: {
|
roleFormRules: {
|
||||||
dockUserName: [
|
dockUserName: [
|
||||||
@@ -720,15 +721,6 @@ export default {
|
|||||||
this.ListModel = true;
|
this.ListModel = true;
|
||||||
|
|
||||||
},
|
},
|
||||||
drawerCheck(data) {
|
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
|
||||||
if (getlist.length == 1) {
|
|
||||||
this.roleRow = getlist[0];
|
|
||||||
} else {
|
|
||||||
this.$refs.tree.setCheckedKeys([data.id]);
|
|
||||||
this.roleRow = this.$refs.tree.getCheckedNodes()[0];
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//导入功能
|
//导入功能
|
||||||
leading() {
|
leading() {
|
||||||
|
|
||||||
@@ -824,9 +816,9 @@ export default {
|
|||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if(!item.distributePerson || !item.projectGroupPeople){
|
if(!item.distributePerson || !item.projectGroupPeople){
|
||||||
this.$message.warning('请填写完整的人员信息')
|
this.$message.warning('请填写完整的人员信息')
|
||||||
}else{
|
}else {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
this.listForm.dataList = this.dataList
|
this.listForm.dataList = this.dataList;
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
let json = Object.assign(this.listForm, this.roleForm);
|
let json = Object.assign(this.listForm, this.roleForm);
|
||||||
console.log(json);
|
console.log(json);
|
||||||
@@ -837,7 +829,7 @@ export default {
|
|||||||
this.$http.post("lawss/activiti/startProcessRollBack", {
|
this.$http.post("lawss/activiti/startProcessRollBack", {
|
||||||
createUser: this.$store.getters.userInfo.userId,
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
createUserName: this.$store.getters.userInfo.userName,
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
type: '5',
|
type: "5",
|
||||||
json: JSON.stringify({
|
json: JSON.stringify({
|
||||||
taskInfo: "选择已拆分标准",
|
taskInfo: "选择已拆分标准",
|
||||||
form: this.listForm,
|
form: this.listForm,
|
||||||
|
|||||||
@@ -391,17 +391,7 @@ export default {
|
|||||||
listForm: {},
|
listForm: {},
|
||||||
dataList: [],
|
dataList: [],
|
||||||
projectDataList: [],
|
projectDataList: [],
|
||||||
// projectDataList: [
|
breakdownList: [], //标准下的分解单数据
|
||||||
// {
|
|
||||||
// managementHostName: '', //管理主体
|
|
||||||
// developmentHostName: '', //开发主体
|
|
||||||
// categoryName: '', //项目细分类
|
|
||||||
// projectStatus: '', //项目状态
|
|
||||||
// projectName: '', //项目名称
|
|
||||||
// projectNumber: '', //项目编号
|
|
||||||
// uname: '', //项目经理
|
|
||||||
// }
|
|
||||||
// ],
|
|
||||||
detailData: [],
|
detailData: [],
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
nodeList2: [],
|
nodeList2: [],
|
||||||
@@ -456,6 +446,14 @@ export default {
|
|||||||
this.listForm.prcName = this.prcName;
|
this.listForm.prcName = this.prcName;
|
||||||
this.listForm["id"] = item.id;
|
this.listForm["id"] = item.id;
|
||||||
this.projectGroup = item.dataList[0].projectGroup;
|
this.projectGroup = item.dataList[0].projectGroup;
|
||||||
|
this.$http.get('SarStandItems/sar-stand-items/findAllItems', {
|
||||||
|
ids: item.standId,
|
||||||
|
type: item.fileType
|
||||||
|
},{
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.breakdownList = res.data
|
||||||
|
})
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
choiceZRRS(row, type, index) {
|
choiceZRRS(row, type, index) {
|
||||||
@@ -562,6 +560,7 @@ export default {
|
|||||||
this.$set(this.projectDataList, "categoryName", this.selectProjectList[0].categoryName);
|
this.$set(this.projectDataList, "categoryName", this.selectProjectList[0].categoryName);
|
||||||
this.$set(this.projectDataList, "projectStatus", this.selectProjectList[0].projectStatus);
|
this.$set(this.projectDataList, "projectStatus", this.selectProjectList[0].projectStatus);
|
||||||
this.$set(this.projectDataList, "uname", this.selectProjectList[0].uname);
|
this.$set(this.projectDataList, "uname", this.selectProjectList[0].uname);
|
||||||
|
this.$set(this.projectDataList, "unameId", this.selectProjectList[0].projectManager);
|
||||||
this.dataList.push({
|
this.dataList.push({
|
||||||
projectName: this.projectDataList.projectName,
|
projectName: this.projectDataList.projectName,
|
||||||
projectNumber: this.projectDataList.projectNumber,
|
projectNumber: this.projectDataList.projectNumber,
|
||||||
@@ -570,6 +569,7 @@ export default {
|
|||||||
categoryName: this.projectDataList.categoryName,
|
categoryName: this.projectDataList.categoryName,
|
||||||
projectStatus: this.projectDataList.projectStatus,
|
projectStatus: this.projectDataList.projectStatus,
|
||||||
uname: this.projectDataList.uname,
|
uname: this.projectDataList.uname,
|
||||||
|
unameId: this.projectDataList.unameId,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning("请勿重复添加数据");
|
this.$message.warning("请勿重复添加数据");
|
||||||
@@ -618,9 +618,12 @@ export default {
|
|||||||
this.$message.warning('您最多只能选择五条数据')
|
this.$message.warning('您最多只能选择五条数据')
|
||||||
}else{
|
}else{
|
||||||
this.listForm.dataList = this.dataList;
|
this.listForm.dataList = this.dataList;
|
||||||
|
this.listForm.breakdownList = this.breakdownList
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.isSubmit = true;
|
// this.isSubmit = true;
|
||||||
|
console.log(json);
|
||||||
|
return
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "step5"
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -556,6 +556,15 @@ const routes = [
|
|||||||
title: '标准合规评估流程'
|
title: '标准合规评估流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/bzpgStep5',
|
||||||
|
name: 'bzpgStep5',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzpg/step5.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准合规评估流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/xmpgStep1',
|
path: '/xmpgStep1',
|
||||||
name: 'xmpgStep1',
|
name: 'xmpgStep1',
|
||||||
|
|||||||
Reference in New Issue
Block a user