|
|
@@ -29,7 +29,10 @@
|
|
|
|
|
|
<script>
|
|
|
import search from './search.vue';
|
|
|
- import { recordrulesPage } from '@/api/recordRules/index';
|
|
|
+ import {
|
|
|
+ recordrulesPage,
|
|
|
+ recordrulesNotProduceTaskConfigRecordRulesPage
|
|
|
+ } from '@/api/recordRules/index';
|
|
|
import tabMixins from '@/mixins/tableColumnsMixin';
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
|
|
|
@@ -41,6 +44,11 @@
|
|
|
multiple: {
|
|
|
type: Boolean,
|
|
|
default: false
|
|
|
+ },
|
|
|
+ // NotProduceTaskConfig bool 是否排除已配置的记录规则 过程监测传true
|
|
|
+ notProduceTaskConfig: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -196,7 +204,11 @@
|
|
|
},
|
|
|
/* 表格数据源 */
|
|
|
datasource({ page, limit, where }) {
|
|
|
- return recordrulesPage({
|
|
|
+ const API = this.notProduceTaskConfig
|
|
|
+ ? recordrulesNotProduceTaskConfigRecordRulesPage
|
|
|
+ : recordrulesPage;
|
|
|
+
|
|
|
+ return API({
|
|
|
pageNum: page,
|
|
|
size: limit,
|
|
|
// 已发布
|