|
@@ -1,59 +1,59 @@
|
|
<template>
|
|
<template>
|
|
- <view class="admin-jiazheng-list">
|
|
|
|
- <view class="icon-title-navBar-box">
|
|
|
|
|
|
+ <view class="phone-list-page kc-bind-page">
|
|
|
|
+ <view class="phone-navBar-box">
|
|
<view @click="goUpPage" class="nav-bar-icon"></view>
|
|
<view @click="goUpPage" class="nav-bar-icon"></view>
|
|
<text class="nav-bar-title">家政人员</text>
|
|
<text class="nav-bar-title">家政人员</text>
|
|
|
|
+ <uni-icons class="nav-bar-right-icon bar-ml10" type="search" size="20"></uni-icons>
|
|
</view>
|
|
</view>
|
|
<v-tabs v-model="current" :tabs="tabs" :scroll="false" @change="changeTab" field="name"
|
|
<v-tabs v-model="current" :tabs="tabs" :scroll="false" @change="changeTab" field="name"
|
|
class="admin-tab-box"></v-tabs>
|
|
class="admin-tab-box"></v-tabs>
|
|
-
|
|
|
|
- <uni-list v-if="current ==0" class="jz-scroll-view">
|
|
|
|
|
|
+ <view class="jiazheng-search-box">
|
|
<view @click.stop="clickAlltype" class="select-item-box">
|
|
<view @click.stop="clickAlltype" class="select-item-box">
|
|
<text>{{leixing}}</text>
|
|
<text>{{leixing}}</text>
|
|
<icon class="select-jt-default" />
|
|
<icon class="select-jt-default" />
|
|
</view>
|
|
</view>
|
|
- <uni-list-item v-for="item in list" class="jz-list-item-box">
|
|
|
|
- <template v-slot:body>
|
|
|
|
- <view class="card-head-row">
|
|
|
|
- <button type="default" class="phone-green-btn bz-tel-btn" @click.stop="toAdd(item)">添加</button>
|
|
|
|
- </view>
|
|
|
|
- <view @click="lookUserInfo(item)" class="card-body-row">
|
|
|
|
- <view class="card-img-box">
|
|
|
|
- <img :src="item.pic" v-if="item.pic">
|
|
|
|
- <icon class="phone-default-userImg" v-else></icon>
|
|
|
|
- </view>
|
|
|
|
- <view class="body-content-row">
|
|
|
|
- <view class="content-text-row">
|
|
|
|
- <view> {{item.name}}</view>
|
|
|
|
|
|
+ </view>
|
|
|
|
+ <view class="kc-bind-scroll-view scroll-top-border">
|
|
|
|
+ <uni-list v-if="current ==0" class="admin-list-box">
|
|
|
|
+ <uni-list-item v-for="item in list" class="admin-list-item-box">
|
|
|
|
+ <template v-slot:body>
|
|
|
|
+ <view @click="lookUserInfo(item)" class="kecheng-list-card">
|
|
|
|
+ <img :src="item.pic">
|
|
|
|
+ <view class="item-card-row">
|
|
|
|
+ <view class="ks-item-top">
|
|
|
|
+ <view class="kc-name">{{item.name}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="ks-totalTm kc-fenlei">
|
|
|
|
+ <icon class="phone-fenlei-icon" />分类:{{item.kcClassifyName}}
|
|
|
|
+ </view>
|
|
|
|
+ <button class="item-view-btn" type="primary" size="mini" @click.stop="toAdd(item)">添加</button>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- </template>
|
|
|
|
- </uni-list-item>
|
|
|
|
- </uni-list>
|
|
|
|
- <uni-list v-if="current ==1" class="jz-scroll-view">
|
|
|
|
- <uni-list-item v-for="item in listYx" class="jz-list-item-box">
|
|
|
|
- <template v-slot:body>
|
|
|
|
- <view class="card-head-row">
|
|
|
|
- <button type="default" class="phone-green-btn bz-tel-btn"
|
|
|
|
- @click.stop="toDelete(item)">删除</button>
|
|
|
|
- </view>
|
|
|
|
- <view @click="lookUserInfo(item)" class="card-body-row">
|
|
|
|
- <view class="card-img-box">
|
|
|
|
|
|
+ </template>
|
|
|
|
+ </uni-list-item>
|
|
|
|
+ </uni-list>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="kc-bind-scroll-view scroll-top-border">
|
|
|
|
+ <uni-list v-if="current ==1" class="admin-list-box">
|
|
|
|
+ <uni-list-item v-for="item in listYx" class="admin-list-item-box">
|
|
|
|
+ <template v-slot:body>
|
|
|
|
+ <view @click="lookUserInfo(item)" class="kecheng-list-card">
|
|
<img :src="item.pic" v-if="item.pic">
|
|
<img :src="item.pic" v-if="item.pic">
|
|
- <icon class="phone-default-userImg" v-else></icon>
|
|
|
|
- </view>
|
|
|
|
- <view class="body-content-row">
|
|
|
|
- <view class="content-text-row">
|
|
|
|
- <view> {{item.name}}</view>
|
|
|
|
|
|
+ <view class="item-card-row">
|
|
|
|
+ <view class="ks-item-top">
|
|
|
|
+ <view class="kc-name">{{item.name}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="ks-totalTm kc-fenlei">
|
|
|
|
+ <icon class="phone-fenlei-icon" />分类:{{item.kcClassifyName}}
|
|
|
|
+ </view>
|
|
|
|
+ <button type="primary" size="mini" class="item-view-btn"
|
|
|
|
+ @click.stop="toDelete(item)">删除</button>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- </template>
|
|
|
|
- </uni-list-item>
|
|
|
|
- </uni-list>
|
|
|
|
|
|
+ </template>
|
|
|
|
+ </uni-list-item>
|
|
|
|
+ </uni-list>
|
|
|
|
+ </view>
|
|
<common-dialog ref="commonDialogRef" :title="deleteTitle" :content="deleteConcent"
|
|
<common-dialog ref="commonDialogRef" :title="deleteTitle" :content="deleteConcent"
|
|
@confirm-btn="deleteQuerenBtn"></common-dialog>
|
|
@confirm-btn="deleteQuerenBtn"></common-dialog>
|
|
<kechengLeixingVue ref="kclxRef" @select="handleSelectLeixing" @reset="handleResetLeixing"></kechengLeixingVue>
|
|
<kechengLeixingVue ref="kclxRef" @select="handleSelectLeixing" @reset="handleResetLeixing"></kechengLeixingVue>
|