标准法规清单bug
This commit is contained in:
@@ -1273,6 +1273,15 @@ export default {
|
|||||||
res.data = [];
|
res.data = [];
|
||||||
}
|
}
|
||||||
this.dataList = res.data;
|
this.dataList = res.data;
|
||||||
|
this.dataList.forEach(item => {
|
||||||
|
if (item.xcxssrqgj === null){
|
||||||
|
this.$set(item, "XCXSSRQ", '');
|
||||||
|
this.$set(item, "ZCCSSRQ", '');
|
||||||
|
}else{
|
||||||
|
this.$set(item, "XCXSSRQ", item.xcxssrqgj);
|
||||||
|
this.$set(item, "ZCCSSRQ", item.zccssrqgj);
|
||||||
|
}
|
||||||
|
})
|
||||||
this.listForm.dataList = res.data;
|
this.listForm.dataList = res.data;
|
||||||
let formId = [];
|
let formId = [];
|
||||||
this.dataList.map(item => {
|
this.dataList.map(item => {
|
||||||
|
|||||||
@@ -125,6 +125,9 @@
|
|||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
align="center"
|
align="center"
|
||||||
label="发布日期">
|
label="发布日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="XCXSSRQ"
|
prop="XCXSSRQ"
|
||||||
@@ -393,27 +396,14 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
prop="applicationScope"
|
|
||||||
label="适用领域"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span
|
|
||||||
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
|
||||||
}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="updateTime"
|
prop="updateTime"
|
||||||
label="更新时间"
|
label="更新时间"
|
||||||
sortable
|
sortable
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>
|
<span>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
{{ scope.row.updateTime ? $moment(scope.row.updateTime).format("YYYY-MM-D hh:mm:ss") : scope.row.updateTime
|
</template>
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="updatePeople"
|
prop="updatePeople"
|
||||||
@@ -473,26 +463,13 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
prop="applicationScope"
|
|
||||||
label="适用领域"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span
|
|
||||||
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
|
||||||
}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="updateTime"
|
prop="updateTime"
|
||||||
label="更新时间"
|
label="更新时间"
|
||||||
sortable
|
sortable
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>
|
<span>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
{{ scope.row.updateTime ? $moment(scope.row.updateTime).format("YYYY-MM-DD hh:mm:ss") : scope.row.updateTime
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -1270,6 +1247,15 @@ export default {
|
|||||||
res.data = [];
|
res.data = [];
|
||||||
}
|
}
|
||||||
this.dataList = res.data;
|
this.dataList = res.data;
|
||||||
|
this.dataList.forEach(item => {
|
||||||
|
if (item.xcxssrqgj === null){
|
||||||
|
this.$set(item, "XCXSSRQ", '');
|
||||||
|
this.$set(item, "ZCCSSRQ", '');
|
||||||
|
}else{
|
||||||
|
this.$set(item, "XCXSSRQ", item.xcxssrqgj);
|
||||||
|
this.$set(item, "ZCCSSRQ", item.zccssrqgj);
|
||||||
|
}
|
||||||
|
})
|
||||||
this.listForm.dataList = res.data;
|
this.listForm.dataList = res.data;
|
||||||
let formId = [];
|
let formId = [];
|
||||||
this.dataList.map(item => {
|
this.dataList.map(item => {
|
||||||
|
|||||||
@@ -93,20 +93,19 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="distributePerson"
|
prop="distributePerson"
|
||||||
label="分发责任人">
|
label="分发责任人">
|
||||||
<!-- <template slot-scope="scope">-->
|
<!-- <template slot-scope="scope">-->
|
||||||
<!-- <el-input v-model="scope.row.distributePerson" v-show="false"></el-input>-->
|
<!-- <el-input-->
|
||||||
<!-- <el-input-->
|
<!-- v-model="scope.row.distributePerson"-->
|
||||||
<!-- v-model="dataList.distributePerson"-->
|
<!-- placeholder="请选择分发负责人"-->
|
||||||
<!-- placeholder="请选择分发责任人"-->
|
<!-- readonly-->
|
||||||
<!-- @click.native="choiceZRR(scope,'distributePerson', '选择分发责任人', roleForm.distributePerson)"-->
|
<!-- @click.native="choiceZRR(scope,'distributePerson', '选择分发责任人', roleForm.distributePerson)"-->
|
||||||
<!-- readonly-->
|
<!-- v-if="!scope.row.distributePerson"></el-input>-->
|
||||||
<!-- v-if="dataList[scope.$index].distributePerson==null"-->
|
<!-- </template>-->
|
||||||
<!-- />-->
|
|
||||||
<!-- </template>-->
|
|
||||||
<template slot-scope="scope,text" v-if="showColumn">
|
<template slot-scope="scope,text" v-if="showColumn">
|
||||||
<div>
|
<div>
|
||||||
<div @click="choiceZRR(scope,'distributePerson', '选择分发责任人', roleForm.distributePerson)">
|
<div @click="choiceZRR(scope,'distributePerson', '选择分发责任人', roleForm.distributePerson)">
|
||||||
{{ listForm.dataList[scope.$index].distributePerson == null ? "请选择分发负责人" : listForm.dataList[scope.$index].distributePerson }}
|
{{ listForm.dataList[scope.$index].distributePerson == null ? "请选择分发负责人" : listForm.dataList[scope.$index].distributePerson
|
||||||
|
}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -409,8 +408,8 @@ export default {
|
|||||||
label: "name"
|
label: "name"
|
||||||
},
|
},
|
||||||
roleForm: {
|
roleForm: {
|
||||||
startUserName: this.$store.getters.userInfo.userName,
|
prcCreateUserName: this.$store.getters.userInfo.userName,
|
||||||
startUser: this.$store.getters.userInfo.id,
|
prcCreateUser: this.$store.getters.userInfo.userId,
|
||||||
qualityEngineer: "",
|
qualityEngineer: "",
|
||||||
certifiedEngineer: "",
|
certifiedEngineer: "",
|
||||||
qualityEngineerName: "",
|
qualityEngineerName: "",
|
||||||
@@ -521,10 +520,11 @@ export default {
|
|||||||
this.listForm.certifiedEngineer = data[0].id;
|
this.listForm.certifiedEngineer = data[0].id;
|
||||||
this.listForm.certifiedEngineerName = data[0].name;
|
this.listForm.certifiedEngineerName = data[0].name;
|
||||||
} else if (this.type === "distributePerson") {
|
} else if (this.type === "distributePerson") {
|
||||||
// this.dataList.distributePerson = data[0].id;
|
this.dataList.distributePersonId = data[0].id;
|
||||||
// this.dataList.distributePersonName = data[0].name;
|
this.dataList.distributePerson = data[0].name;
|
||||||
this.listForm.dataList[this.dsadadadsada].distributePersonId = data[0].id;
|
this.listForm.dataList[this.dsadadadsada].distributePersonId = data[0].id;
|
||||||
this.listForm.dataList[this.dsadadadsada].distributePerson = data[0].name;
|
this.listForm.dataList[this.dsadadadsada].distributePerson = data[0].name;
|
||||||
|
console.log(this.dataList)
|
||||||
this.showColumn = false;
|
this.showColumn = false;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.showColumn = true;
|
this.showColumn = true;
|
||||||
@@ -652,6 +652,7 @@ export default {
|
|||||||
this.$message.warning("请选择分发责任人");
|
this.$message.warning("请选择分发责任人");
|
||||||
} else {
|
} else {
|
||||||
var json = Object.assign(this.listForm, this.roleForm);
|
var json = Object.assign(this.listForm, this.roleForm);
|
||||||
|
console.log(json);
|
||||||
this.$refs["listForm"].validate((valid) => {
|
this.$refs["listForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs["roleForm"].validate((valid) => {
|
this.$refs["roleForm"].validate((valid) => {
|
||||||
|
|||||||
@@ -328,33 +328,36 @@ export default {
|
|||||||
|
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack () {
|
beforeBack () {
|
||||||
this.listForm.passFlag = '1'
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.handleSubmit()
|
this.$message.warning('请填写审批意见')
|
||||||
|
}else{
|
||||||
|
this.listForm.passFlag = '1'
|
||||||
|
this.handleSubmit()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
|
this.$message.warning('请填写审批意见')
|
||||||
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
}else{
|
||||||
this.listForm.zrUserId = this.$store.getters.userInfo.userId ;
|
this.listForm.commentText = this.commentText
|
||||||
this.listForm.commentText = this.commentText;
|
const json = JSON.stringify(this.listForm);
|
||||||
this.listForm.standId = this.listForm.standId;
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
this.listForm.breakdownList = this.listForm.breakdownList
|
taskIds: this.taskIds,
|
||||||
const json = JSON.stringify(this.listForm);
|
userId: this.userId,
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
json: json,
|
||||||
taskIds: this.taskIds,
|
}, {
|
||||||
userId: this.userId,
|
_this: this
|
||||||
json: json,
|
}, res => {
|
||||||
}, {
|
if (res.success) {
|
||||||
_this: this
|
this.$message.success(res.message)
|
||||||
}, res => {
|
this.$router.push('/processCenter')
|
||||||
if (res.success) {
|
}
|
||||||
this.$message.success(res.message)
|
}, e => {
|
||||||
this.$router.push('/processCenter')
|
|
||||||
}
|
});
|
||||||
}, e => {
|
}
|
||||||
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
//标准表格选择框改变
|
//标准表格选择框改变
|
||||||
selectStandChange(data) {
|
selectStandChange(data) {
|
||||||
|
|||||||
@@ -205,10 +205,18 @@ export default {
|
|||||||
this.toProcessDetail('bzqdfbStep4',row)
|
this.toProcessDetail('bzqdfbStep4',row)
|
||||||
}else if (prcType === '5'){
|
}else if (prcType === '5'){
|
||||||
//标准项目合规评估 标准维度
|
//标准项目合规评估 标准维度
|
||||||
this.toProcessDetail('xmpgStep7',row)
|
if(row.taskInfo === '标准法规部部长审批'){
|
||||||
|
this.toProcessDetail('xmpgStep7',row)
|
||||||
|
}else{
|
||||||
|
this.toProcessDetail('xmpgStep2',row)
|
||||||
|
}
|
||||||
}else if(prcType === '6'){
|
}else if(prcType === '6'){
|
||||||
//标准项目合规评估 项目维度
|
//标准项目合规评估 项目维度
|
||||||
this.toProcessDetail('xmpg2Step12',row)
|
if(row.taskInfo === '标准法规部领导审核'){
|
||||||
|
this.toProcessDetail('xmpg2Step12',row)
|
||||||
|
}else{
|
||||||
|
this.toProcessDetail('xmpg2Step2',row)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('当前流程未全部办理完成,无法查看')
|
this.$message.warning('当前流程未全部办理完成,无法查看')
|
||||||
|
|||||||
Reference in New Issue
Block a user