|
@@ -18,6 +18,9 @@
|
|
|
<el-button native-type="submit" type="primary">搜索</el-button>
|
|
|
<el-button native-type="reset" type="danger">重置</el-button>
|
|
|
</save-form>
|
|
|
+ <div class="tags">
|
|
|
+ <el-tag v-for="(item, index) in tags" :key="index">{{item.name}}</el-tag>
|
|
|
+ </div>
|
|
|
<title-item
|
|
|
type="error"
|
|
|
:data="[
|
|
@@ -62,6 +65,12 @@ export default {
|
|
|
search: {
|
|
|
organIds: []
|
|
|
},
|
|
|
+ list: [],
|
|
|
+ }
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ tags() {
|
|
|
+ return this.list.map(item => ({name: item.desc, type: item.errorType}))
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -75,6 +84,7 @@ export default {
|
|
|
...this.search,
|
|
|
organIds: this.search.organIds.join(',')
|
|
|
})
|
|
|
+ this.list = res.data.data
|
|
|
} catch (error) {}
|
|
|
},
|
|
|
send() {
|