|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
+ <div class="container">
|
|
|
<save-form inline :model="search" @submit="FetchList" @reset="FetchList">
|
|
|
<el-form-item prop="organIds">
|
|
|
<el-select
|
|
@@ -19,20 +19,26 @@
|
|
|
<el-button native-type="reset" type="danger">重置</el-button>
|
|
|
</save-form>
|
|
|
<empty desc="暂无需要处理异常" v-if="!list.length"/>
|
|
|
- <title-item
|
|
|
- v-else
|
|
|
- type="warning"
|
|
|
- v-for="(item, index) in list"
|
|
|
- :key="index"
|
|
|
- :data="[{name: item.desc, num: item.num}]"
|
|
|
- >
|
|
|
- <el-button @click="$router.push({
|
|
|
+ <el-button @click="$router.push({
|
|
|
path: '/business/teamDetail',
|
|
|
query: {
|
|
|
+ filter_type: item.errorType,
|
|
|
search: (item.result || []).join(',')
|
|
|
}
|
|
|
- })" :disabled="item.result ? !item.result.length : !item.result" type="text">立即处理<i class="el-icon-d-arrow-right"/></el-button>
|
|
|
- </title-item>
|
|
|
+ })"
|
|
|
+ style="width: 100%;color: #303133;"
|
|
|
+ v-else
|
|
|
+ v-for="(item, index) in list"
|
|
|
+ :key="index"
|
|
|
+ :disabled="item.result ? !item.result.length : !item.result" type="text"
|
|
|
+ >
|
|
|
+ <title-item
|
|
|
+ type="warning"
|
|
|
+ :data="[{name: item.desc, num: item.num}]"
|
|
|
+ >
|
|
|
+ <span style="color: #14928A;">立即处理<i class="el-icon-d-arrow-right"/></span>
|
|
|
+ </title-item>
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -63,3 +69,14 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+ .container{
|
|
|
+ /deep/ .is-disabled {
|
|
|
+ .title{
|
|
|
+ >span{
|
|
|
+ color: #C0C4CC!important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|