|
@@ -2,10 +2,20 @@
|
|
|
<view class="phone-list-page phone-banzheng-page">
|
|
|
<view class="phone-navBar-box">
|
|
|
<view @click="goUpPage" class="nav-bar-icon"></view>
|
|
|
- <view class="filter-btn" @click="filterBtn">筛选</view>
|
|
|
<text class="nav-bar-title">办证管理</text>
|
|
|
<uni-icons class="nav-bar-right-icon" type="search" size="18" color="#666" @click="searchBtn"></uni-icons>
|
|
|
</view>
|
|
|
+ <view class="banzheng-search-box">
|
|
|
+ <view @click.stop="clickAlltype" class="select-item-box">
|
|
|
+ <text>{{data.bzztName}}</text>
|
|
|
+ <icon class="select-jt-default" />
|
|
|
+ </view>
|
|
|
+ <view class="filter-btn" @click="filterBtn">筛选</view>
|
|
|
+ </view>
|
|
|
+ <view class="banzheng-type-box" v-show="isOpen" @click="clickAlltype">
|
|
|
+ <dataChecked :list="allType" mode="single" :defaultCount="99" :showAdd="false"
|
|
|
+ @change="selectChangeSkill" />
|
|
|
+ </view>
|
|
|
<!-- 课程列表 -->
|
|
|
<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
|
|
|
:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh"
|
|
@@ -69,6 +79,8 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+ import * as banzhengApi from "@/api/banzheng.js"
|
|
|
+ import dataChecked from '../Jiazheng/common/dataChecked.vue';
|
|
|
import customTabbarClientVue from "@/components/custom-tabbar/custom-tabbar-admin.vue";
|
|
|
import filterDialog from "./filter.vue";
|
|
|
import commonDialog from '@/components/dialog/commonDialog.vue';
|
|
@@ -97,6 +109,7 @@
|
|
|
const deleteConcent = ref('你确定要执行这个操作吗');
|
|
|
|
|
|
const data = reactive({
|
|
|
+ bzztName: '全部状态',
|
|
|
jgId: '', // 机构ID
|
|
|
realName: '', // 姓名
|
|
|
statusBanzheng: '', // 办证状态
|
|
@@ -117,7 +130,25 @@
|
|
|
from: ''
|
|
|
})
|
|
|
|
|
|
-
|
|
|
+ /*** 办证状态 ***/
|
|
|
+ let isOpen = ref(false)
|
|
|
+ let allType = ref([])
|
|
|
+ function getKaozhengBanzhengList(){
|
|
|
+ banzhengApi.getKaozhengBanzheng().then(res => {
|
|
|
+ const newItem = { id: 0, name: '全部状态' };
|
|
|
+ allType.value = [newItem,...res.data ];
|
|
|
+ })
|
|
|
+ }
|
|
|
+ const clickAlltype = (data) => {
|
|
|
+ isOpen.value = !isOpen.value;
|
|
|
+ }
|
|
|
+ function selectChangeSkill(item) {
|
|
|
+ data.statusBanzheng = item[0].id == 0 ? '' :item[0].id;
|
|
|
+ data.bzztName = item[0].name;
|
|
|
+ data.page = 0;
|
|
|
+ refreshData();
|
|
|
+ }
|
|
|
+
|
|
|
function deleteFun(data) {
|
|
|
console.log('data', data);
|
|
|
deleteId.value = data.id
|
|
@@ -168,7 +199,7 @@
|
|
|
from: 'banzheng'
|
|
|
}
|
|
|
uni.redirectTo({
|
|
|
- url: `/pages/admin/Jiazheng/jiazhengUserInfo?pageInfo=` + JSON.stringify(pageInfo)
|
|
|
+ url: "/pages/admin/Jiazheng/jiazhengUserManager?pageInfo=" + JSON.stringify(pageInfo)
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -251,7 +282,6 @@
|
|
|
data.jgId = dialogData.jigouId;
|
|
|
data.zyId = dialogData.zhiyeId;
|
|
|
data.zyLevel = dialogData.levelId;
|
|
|
- data.statusBanzheng = dialogData.banzhengId;
|
|
|
data.statusKaoshi = dialogData.kaoshiId;
|
|
|
data.page = 0;
|
|
|
refreshData();
|
|
@@ -293,5 +323,6 @@
|
|
|
|
|
|
onShow(() => {
|
|
|
getMore()
|
|
|
+ getKaozhengBanzhengList();
|
|
|
})
|
|
|
</script>
|