|
@@ -33,6 +33,13 @@
|
|
|
</el-select>
|
|
|
</li>
|
|
|
<li>
|
|
|
+ <span>状态:</span>
|
|
|
+ <el-select v-model="sign" @change="signChange">
|
|
|
+ <el-option label="成功" :value="2"> </el-option>
|
|
|
+ <el-option label="失败" :value="1"> </el-option>
|
|
|
+ </el-select>
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
<span>目标id:</span>
|
|
|
<el-input v-model="targetId" :clearable="true" placeholder="请输入对象id" style="width: 220px" @change="objIdChange"></el-input>
|
|
|
</li>
|
|
@@ -43,7 +50,10 @@
|
|
|
<el-option v-for="(item, key) in ENUM_OBJECT_TABLE" :key="key" :label="item" :value="key"></el-option>
|
|
|
</el-select>
|
|
|
</li>
|
|
|
- <li v-if="tableName === 'dt_object'">
|
|
|
+
|
|
|
+ </ul>
|
|
|
+ <ul>
|
|
|
+ <li v-if="tableName === 'dt_object'">
|
|
|
<span>对象类型:</span>
|
|
|
<el-select v-model="objTypeValue" :clearable="true" @change="objTypeChange" placeholder="请选择">
|
|
|
<el-option v-for="item in objType" :key="item.value" :label="item.label" :value="item.value"> </el-option>
|
|
@@ -209,6 +219,7 @@ export default {
|
|
|
objClassifyValue: "", //对象分类状态
|
|
|
operationValue: "", //操作符状态
|
|
|
objTypeValue: "", //对象类型状态
|
|
|
+ sign: 2, //状态(默认成功),1:失败, 2成功
|
|
|
targetId: '', //对象id
|
|
|
tableName: 'dt_object', //对象表
|
|
|
loading: false, //是否加载
|
|
@@ -333,6 +344,11 @@ export default {
|
|
|
this.objClassifyValue = val;
|
|
|
this.getTable();
|
|
|
},
|
|
|
+ // 状态变化
|
|
|
+ signChange(val) {
|
|
|
+ this.sign = val;
|
|
|
+ this.getTable();
|
|
|
+ },
|
|
|
// 对象表变化
|
|
|
objTableChange(val) {
|
|
|
this.tableName = val;
|
|
@@ -371,7 +387,7 @@ export default {
|
|
|
order: this.order,
|
|
|
pageNumber: this.pageObj.pageNumber,
|
|
|
pageSize: this.pageObj.pageSize,
|
|
|
- filters: `projectId='${this.projectId}';sign=2${type}${classCodeName}${objectType}${tableName}${targetId}`,
|
|
|
+ filters: `projectId='${this.projectId}';sign=${this.sign}${type}${classCodeName}${objectType}${tableName}${targetId}`,
|
|
|
};
|
|
|
|
|
|
|