|
|
@@ -2,6 +2,13 @@
|
|
|
<div class="app-list-content">
|
|
|
<x-crud class="liu-crud-wrap" @load="onLoad">
|
|
|
|
|
|
+ <template #slot-tabs="{scope}">
|
|
|
+ <el-tabs class="liu-tabs" type="border-card" v-model="tabIndex" @tab-click="handleClick" >
|
|
|
+ <el-tab-pane v-for="(item, index) in tabsData" :key="index" :label="item.text" :name="item.key" >
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- 审核 -->
|
|
|
<template #slot-apply="{scope}">
|
|
|
|
|
|
@@ -74,11 +81,25 @@ export default {
|
|
|
status: '2',
|
|
|
remark: ''
|
|
|
},
|
|
|
- rule: {}
|
|
|
+ rule: {},
|
|
|
+ tabsData: [
|
|
|
+ {
|
|
|
+ text: '全部',
|
|
|
+ key: '0'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ text: '待审核',
|
|
|
+ key: '1'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ tabIndex: '0'
|
|
|
};
|
|
|
},
|
|
|
mounted() {},
|
|
|
methods: {
|
|
|
+ handleClick(tab, e) {
|
|
|
+ this.app.refresh({ status: this.tabIndex });
|
|
|
+ },
|
|
|
showModalFn(item) {
|
|
|
this.form.id = item.id;
|
|
|
this.applyDialog = true;
|