|
@@ -445,7 +445,7 @@ export default {
|
|
|
// 非多个禁用
|
|
|
multiple: true,
|
|
|
// 显示搜索条件
|
|
|
- showSearch: true,
|
|
|
+ showSearch: false,
|
|
|
// 总条数
|
|
|
total: 0,
|
|
|
// 开项表格数据
|
|
@@ -495,7 +495,17 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.getRecentAudit();
|
|
|
+ if (this.$route.query.questionnaireId) {
|
|
|
+
|
|
|
+ this.queryParams.questionnaireId = this.$route.query.questionnaireId;
|
|
|
+ console.log(this.queryParams)
|
|
|
+
|
|
|
+ this.getList();
|
|
|
+ } else {
|
|
|
+
|
|
|
+ this.getRecentAudit();
|
|
|
+ }
|
|
|
+ // this.getRecentAudit();
|
|
|
this.getAuditList();
|
|
|
// this.getList();
|
|
|
this.getDeptList();
|
|
@@ -567,7 +577,6 @@ export default {
|
|
|
if (this.$route.query.status != null) {
|
|
|
this.queryParams.status = this.$route.query.status;
|
|
|
}
|
|
|
- console.log(this.queryParams)
|
|
|
listOpenitem(this.queryParams).then(response => {
|
|
|
this.openitemList = response.rows;
|
|
|
this.total = response.total;
|