52385 项目合规评估流程--填不合规项,不填完成时间,目前能提交
This commit is contained in:
@@ -128,8 +128,8 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
<el-button @click="form.isRelateAccess = ''" v-show="form.isRelateAccess !== null>0" size="mini" type="primary" circle icon="el-icon-close" style="margin-left: 10px;margin-bottom: 3px"></el-button>
|
<el-button @click="form.isRelateAccess = ''" v-show="form.isRelateAccess !== null>0" size="mini" type="primary" circle icon="el-icon-close" style="margin-left: 10px;margin-bottom: 3px"></el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-show="form.standInData=='1'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||||
<el-input v-model="form.standSystem" placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
|
<el-input v-model="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
|
||||||
<tree-select-new
|
<tree-select-new
|
||||||
:key="key"
|
:key="key"
|
||||||
:multiple=false
|
:multiple=false
|
||||||
@@ -148,9 +148,9 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="归档位置" class="add-form-item form-item-disabled">
|
<el-form-item label="归档位置" prop="treeListName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
style="display: none"
|
v-show="false"
|
||||||
v-model="form.treeListId"
|
v-model="form.treeListId"
|
||||||
></el-input>
|
></el-input>
|
||||||
<el-tooltip effect="dark" :content=form.treeListName placement="top-start">
|
<el-tooltip effect="dark" :content=form.treeListName placement="top-start">
|
||||||
@@ -1662,6 +1662,12 @@ export default {
|
|||||||
replaceLoading: true,
|
replaceLoading: true,
|
||||||
replacePage: 1,
|
replacePage: 1,
|
||||||
rules: {
|
rules: {
|
||||||
|
standSystem: [
|
||||||
|
{required: true, message: '请选择标准体系', trigger: 'change'}
|
||||||
|
],
|
||||||
|
treeListName: [
|
||||||
|
{required: true, message: '请选择归档位置', trigger: 'blur'}
|
||||||
|
],
|
||||||
standSort: [
|
standSort: [
|
||||||
{required: true, message: '请选择标准类别', trigger: 'change'}
|
{required: true, message: '请选择标准类别', trigger: 'change'}
|
||||||
],
|
],
|
||||||
@@ -2501,6 +2507,9 @@ export default {
|
|||||||
this.form.treeListName = checkedData.menuName
|
this.form.treeListName = checkedData.menuName
|
||||||
this.form.treeListId = checkedData.id
|
this.form.treeListId = checkedData.id
|
||||||
}
|
}
|
||||||
|
this.$nextTick(_ => {
|
||||||
|
this.$refs.form.validateField('treeListName')
|
||||||
|
})
|
||||||
this.modalShowTree = false
|
this.modalShowTree = false
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2940,7 +2949,9 @@ export default {
|
|||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
'form.treeListName'(val) {
|
||||||
|
console.log(this.form.treeListName)
|
||||||
|
},
|
||||||
'form.country': {
|
'form.country': {
|
||||||
handler(val) {
|
handler(val) {
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
|
|||||||
@@ -860,8 +860,9 @@ export default {
|
|||||||
return
|
return
|
||||||
}else{
|
}else{
|
||||||
for (let i = 0; i < this.dataList.length; i++) {
|
for (let i = 0; i < this.dataList.length; i++) {
|
||||||
if (this.dataList[i].complianceReasons !== "" || (this.dataList[i].noCompliance !== "" && this.dataList[i].countermeasures !== "" && this.dataList[i].completionTime !== undefined) || (this.dataList[i].complianceReasons === "" && this.dataList[i].noCompliance === "" && this.dataList[i].countermeasures === "" && this.dataList[i].completionTime === undefined)) {
|
if (this.dataList[i].complianceReasons || this.dataList[i].remarks || (this.dataList[i].noCompliance && this.dataList[i].countermeasures && this.dataList[i].completionTime !== undefined) || (this.dataList[i].complianceReasons === "" && this.dataList[i].noCompliance && this.dataList[i].countermeasures && this.dataList[i].completionTime === undefined)) {
|
||||||
this.comFlag = 0;
|
this.comFlag = 0;
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
this.comFlag++;
|
this.comFlag++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user