|
@@ -18,14 +18,7 @@
|
|
|
<el-button native-type="reset" type="danger">重置</el-button>
|
|
|
</save-form>
|
|
|
<empty desc="暂无需要处理异常" v-if="!list.length"/>
|
|
|
- <el-button @click="$router.push({
|
|
|
- path: '/business/teamDetail',
|
|
|
- query: {
|
|
|
- filter_type: item.errorType,
|
|
|
- search: (item.result || []).join(','),
|
|
|
- organId: search.organId || undefined,
|
|
|
- }
|
|
|
- })"
|
|
|
+ <el-button @click="handle(item)"
|
|
|
style="width: 100%;color: #303133;"
|
|
|
v-else
|
|
|
v-for="(item, index) in list"
|
|
@@ -42,6 +35,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import { Searchs } from '@/helpers'
|
|
|
import { getRemindMatterData } from '@/views/main/api'
|
|
|
import title from '../abnormal/title'
|
|
|
const initSearch = {
|
|
@@ -64,6 +58,17 @@ export default {
|
|
|
this.$store.dispatch('setBranchs')
|
|
|
},
|
|
|
methods: {
|
|
|
+ handle(item) {
|
|
|
+ new Searchs().removeByKey('/business/teamDetail')
|
|
|
+ this.$router.push({
|
|
|
+ path: '/business/teamDetail',
|
|
|
+ query: {
|
|
|
+ filter_type: item.errorType,
|
|
|
+ search: (item.result || []).join(','),
|
|
|
+ organId: this.search.organId || undefined,
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
async FetchList() {
|
|
|
try {
|
|
|
const res = await getRemindMatterData({
|