|
@@ -68,27 +68,34 @@
|
|
</commonFormVue>
|
|
</commonFormVue>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
- <el-button @click="search" size="medium" type="primary"
|
|
|
|
- >查询</el-button
|
|
|
|
- >
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
- <el-row v-show="currentPagePrivileges.PANEING_BATCHAUDIT">
|
|
|
|
- <el-col :span="24" style="text-align: right;">
|
|
|
|
- <el-button-group>
|
|
|
|
|
|
+ <div class="pull-right">
|
|
<el-button
|
|
<el-button
|
|
|
|
+ @click="search"
|
|
|
|
+ size="small"
|
|
type="primary"
|
|
type="primary"
|
|
- :disabled="batchAuditBtnDisabled"
|
|
|
|
- @click="batchAudit('pass');"
|
|
|
|
- >通过</el-button
|
|
|
|
|
|
+ icon="el-icon-search"
|
|
|
|
+ >查询
|
|
|
|
+ </el-button>
|
|
|
|
+ <el-button-group
|
|
|
|
+ v-show="currentPagePrivileges.PANEING_BATCHAUDIT"
|
|
|
|
+ style="margin-left:5px;"
|
|
>
|
|
>
|
|
- <el-button
|
|
|
|
- type="primary"
|
|
|
|
- :disabled="batchAuditBtnDisabled"
|
|
|
|
- @click="batchAudit('nopass');"
|
|
|
|
- >不通过</el-button
|
|
|
|
- >
|
|
|
|
- </el-button-group>
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ size="small"
|
|
|
|
+ :disabled="batchAuditBtnDisabled"
|
|
|
|
+ @click="batchAudit('pass')"
|
|
|
|
+ >通过</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ size="small"
|
|
|
|
+ :disabled="batchAuditBtnDisabled"
|
|
|
|
+ @click="batchAudit('nopass')"
|
|
|
|
+ >不通过</el-button
|
|
|
|
+ >
|
|
|
|
+ </el-button-group>
|
|
|
|
+ </div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row class="margin-top-10">
|
|
<el-row class="margin-top-10">
|
|
@@ -110,7 +117,7 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
v-show="currentPagePrivileges.SNAPSHOT_DETAILS"
|
|
v-show="currentPagePrivileges.SNAPSHOT_DETAILS"
|
|
- @click="gotoCaptureDetail(scope.row.dataId);"
|
|
|
|
|
|
+ @click="gotoCaptureDetail(scope.row.dataId)"
|
|
type="text"
|
|
type="text"
|
|
>{{ scope.row.dataId }}
|
|
>{{ scope.row.dataId }}
|
|
</el-button>
|
|
</el-button>
|
|
@@ -177,6 +184,7 @@
|
|
<el-table-column
|
|
<el-table-column
|
|
label="操作"
|
|
label="操作"
|
|
v-if="currentPagePrivileges.PENDING_OPERATE"
|
|
v-if="currentPagePrivileges.PENDING_OPERATE"
|
|
|
|
+ fixed="right"
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
@@ -184,7 +192,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
type="success"
|
|
type="success"
|
|
icon="el-icon-success"
|
|
icon="el-icon-success"
|
|
- @click="auditPass(scope.row.dataId);"
|
|
|
|
|
|
+ @click="auditPass(scope.row.dataId)"
|
|
>通过</el-button
|
|
>通过</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
@@ -192,7 +200,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
type="danger"
|
|
type="danger"
|
|
icon="el-icon-error"
|
|
icon="el-icon-error"
|
|
- @click="openAuditDialog(scope.row.dataId);"
|
|
|
|
|
|
+ @click="openAuditDialog(scope.row.dataId)"
|
|
>不通过</el-button
|
|
>不通过</el-button
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
@@ -214,7 +222,7 @@
|
|
<el-dialog title="审核" :visible.sync="dialogFormVisible">
|
|
<el-dialog title="审核" :visible.sync="dialogFormVisible">
|
|
<auditVue :auditForm="auditForm">
|
|
<auditVue :auditForm="auditForm">
|
|
<div class="dialog-footer">
|
|
<div class="dialog-footer">
|
|
- <el-button @click="dialogFormVisible = false;">取 消</el-button>
|
|
|
|
|
|
+ <el-button @click="dialogFormVisible = false">取 消</el-button>
|
|
<el-button type="primary" @click="doAudit">确 定</el-button>
|
|
<el-button type="primary" @click="doAudit">确 定</el-button>
|
|
</div>
|
|
</div>
|
|
</auditVue>
|
|
</auditVue>
|
|
@@ -405,6 +413,25 @@ export default {
|
|
},
|
|
},
|
|
gotoCaptureDetail(examRecordDataId) {
|
|
gotoCaptureDetail(examRecordDataId) {
|
|
this.$router.push({ path: "/oe/captureDetail/" + examRecordDataId });
|
|
this.$router.push({ path: "/oe/captureDetail/" + examRecordDataId });
|
|
|
|
+ },
|
|
|
|
+ backFill() {
|
|
|
|
+ var formData = this.$route.query;
|
|
|
|
+ if (formData && formData.examId) {
|
|
|
|
+ for (var attr in formData) {
|
|
|
|
+ var value = formData[attr];
|
|
|
|
+ if (value && value != "null") {
|
|
|
|
+ if (!isNaN(value)) {
|
|
|
|
+ if (~~value == value) {
|
|
|
|
+ value = parseInt(value);
|
|
|
|
+ } else {
|
|
|
|
+ value = parseFloat(value);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.form[attr] = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.search();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -413,23 +440,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- var formData = this.$route.query;
|
|
|
|
- if (formData && formData.examId) {
|
|
|
|
- for (var attr in formData) {
|
|
|
|
- var value = formData[attr];
|
|
|
|
- if (value && value != "null") {
|
|
|
|
- if (!isNaN(value)) {
|
|
|
|
- if (~~value == value) {
|
|
|
|
- value = parseInt(value);
|
|
|
|
- } else {
|
|
|
|
- value = parseFloat(value);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- this.form[attr] = value;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- this.search();
|
|
|
|
- }
|
|
|
|
|
|
+ this.backFill();
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|