|
@@ -27,6 +27,8 @@
|
|
<el-option value="UN_PASS" label="不通过"></el-option>
|
|
<el-option value="UN_PASS" label="不通过"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
<el-input
|
|
<el-input
|
|
|
|
+ size="small"
|
|
|
|
+ class="form_search_width"
|
|
v-if="!currentPagePrivileges.INVIGILATE_AUDIT_STATUS"
|
|
v-if="!currentPagePrivileges.INVIGILATE_AUDIT_STATUS"
|
|
placeholder="不通过"
|
|
placeholder="不通过"
|
|
:disabled="true"
|
|
:disabled="true"
|
|
@@ -271,7 +273,8 @@ export default {
|
|
currentPagePrivileges: {
|
|
currentPagePrivileges: {
|
|
INVIGILATE_AUDIT_STATUS: false, //数据状态
|
|
INVIGILATE_AUDIT_STATUS: false, //数据状态
|
|
SNAPSHOT_DETAILS: false //详情查看
|
|
SNAPSHOT_DETAILS: false //详情查看
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ getPermissionStatus: false //获取权限状态
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -327,6 +330,9 @@ export default {
|
|
}
|
|
}
|
|
this.tableLoading = true;
|
|
this.tableLoading = true;
|
|
var params = JSON.parse(JSON.stringify(this.form));
|
|
var params = JSON.parse(JSON.stringify(this.form));
|
|
|
|
+ if (!this.currentPagePrivileges.INVIGILATE_AUDIT_STATUS) {
|
|
|
|
+ params.status = "UN_PASS";
|
|
|
|
+ }
|
|
this.$http
|
|
this.$http
|
|
.post("/api/ecs_oe_admin/exam/audit/list", params)
|
|
.post("/api/ecs_oe_admin/exam/audit/list", params)
|
|
.then(response => {
|
|
.then(response => {
|
|
@@ -388,16 +394,17 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
- "currentPagePrivileges.INVIGILATE_AUDIT_STATUS": function(val) {
|
|
|
|
- this.form.status = val ? "" : "UN_PASS";
|
|
|
|
|
|
+ //监控权限是否获取完成
|
|
|
|
+ getPermissionStatus: function(val) {
|
|
|
|
+ if (val) {
|
|
|
|
+ if (!this.currentPagePrivileges.INVIGILATE_AUDIT_STATUS) {
|
|
|
|
+ this.form.status = "UN_PASS";
|
|
|
|
+ }
|
|
|
|
+ this.backFill();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- created() {
|
|
|
|
- this.form.status = this.currentPagePrivileges.INVIGILATE_AUDIT_STATUS
|
|
|
|
- ? ""
|
|
|
|
- : "UN_PASS";
|
|
|
|
- this.backFill();
|
|
|
|
- }
|
|
|
|
|
|
+ created() {}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style scoped src="../style/common.css"></style>
|
|
<style scoped src="../style/common.css"></style>
|