换版本

This commit is contained in:
shijingjing
2022-09-08 13:06:54 +08:00
parent f9584df365
commit 68de89f13d
13 changed files with 220 additions and 218 deletions

View File

@@ -1,6 +1,9 @@
<template> <template>
<div class="AppCooperationPropaganda"> <div class="AppCooperationPropaganda">
<AiTopFixed> <AiTopFixed>
<div class="tab-select">
<div class="item" :class="tabIndex == index ? 'active' : ''" v-for="(item, index) in tabs" :key="index" @click="tabClick(item,index)">{{ item.name }}<span></span></div>
</div>
<div class="search"> <div class="search">
<div class="searchBox"> <div class="searchBox">
<u-search placeholder="请输入任务名称" v-model="taskTitle" clearabled @search="searchBtn" @clear="taskTitle='',getList()" :show-action="false"></u-search> <u-search placeholder="请输入任务名称" v-model="taskTitle" clearabled @search="searchBtn" @clear="taskTitle='',getList()" :show-action="false"></u-search>
@@ -19,12 +22,17 @@
<div>共需<span class="num">{{ item.groupOwnerCount || 0 }}</span>名成员完成群发目前已完成<span class="num">{{ item.completionRate || 0 }}%</span></div> <div>共需<span class="num">{{ item.groupOwnerCount || 0 }}</span>名成员完成群发目前已完成<span class="num">{{ item.completionRate || 0 }}%</span></div>
<div> <div>
创建部门 创建部门
<span v-if="item.createUserDeptName">{{ item.createUserDeptName }}</span> <span v-if="item.createUserDept"><AiOpenData type="departmentName" :openid="item.createUserDept" style="display: inline-block" /></span>
<!-- <span v-if="item.createUserSecondDept"><AiOpenData type="departmentName" :openid="item.createUserSecondDept" style="display: inline-block" /></span> -->
</div> </div>
</div> </div>
</div> </div>
<AiEmpty description="暂无数据" v-if="!list.length"/> <AiEmpty description="暂无数据" v-if="!list.length"/>
<div class="btn">
<div class="addBtn" @click="toAdd">新增群发{{tabIndex==0? '居民群': tabIndex==1? '居民':'朋友圈'}}</div>
</div>
<u-popup v-model="filterShow" mode="bottom" border-radius="14"> <u-popup v-model="filterShow" mode="bottom" border-radius="14">
<div class="popup"> <div class="popup">
<div class="tips"></div> <div class="tips"></div>
@@ -49,6 +57,12 @@
</div> </div>
</AiPagePicker> </AiPagePicker>
</div> </div>
<div class="type-list">
<div class="type-title">任务状态</div>
<div class="items">
<AiSelect dict="mstStatus" v-model="status"></AiSelect>
</div>
</div>
<div class="type-list"> <div class="type-list">
<div class="type-title">群发时间</div> <div class="type-title">群发时间</div>
<div class="item"> <div class="item">
@@ -75,7 +89,6 @@
</div> </div>
</div> </div>
</u-popup> </u-popup>
</div> </div>
</template> </template>
@@ -85,6 +98,21 @@ export default {
appName: '协同宣发', appName: '协同宣发',
data() { data() {
return { return {
tabs: [
{
name: '群发居民群',
value: 'ResidentsGroup'
},
{
name: '群发居民',
value: 'Residents'
},
{
name: '群发朋友圈',
value: 'CircleOfFriends'
},
],
tabIndex: 0,
current: 1, current: 1,
name: '', name: '',
list: [], list: [],
@@ -98,10 +126,16 @@ export default {
taskTitle: '', taskTitle: '',
createUserId: '', createUserId: '',
userList: [], userList: [],
userIdList: [] userIdList: [],
status: '',
sendType: '',
} }
}, },
methods: { methods: {
tabClick(item,index) {
this.tabIndex = index;
this.sendType = item.value
},
toDetail(item) { toDetail(item) {
uni.navigateTo({url: `./cooperationDetail?id=${item.id}&time=${item.createTime}`}) uni.navigateTo({url: `./cooperationDetail?id=${item.id}&time=${item.createTime}`})
}, },
@@ -162,6 +196,9 @@ export default {
}, },
confirmEnd(val) { confirmEnd(val) {
this.endTime = val.year + '-' + val.month + '-' + val.day this.endTime = val.year + '-' + val.month + '-' + val.day
},
toAdd() {
uni.navigateTo({url: `./addPropaganda?type=${this.sendType}`})
} }
}, },
onShow() { onShow() {
@@ -181,11 +218,54 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.AppCooperationPropaganda { .AppCooperationPropaganda {
padding-bottom: 130px;
box-sizing: border-box;
::v-deep .AiTopFixed .content {
padding: 0;
}
.tab-select {
width: 100%;
height: 96px;
line-height: 96px;
background: #3975c6;
display: flex;
.item {
flex: 1;
text-align: center;
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #cddcf0;
}
.active {
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
position: relative;
color: #fff;
span {
width: 48px;
height: 4px;
background: #fff;
position: absolute;
bottom: 14px;
left: 50%;
margin-left: -24px;
}
}
}
.search { .search {
display: flex; display: flex;
height: 80px; height: 100px;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 20px 32px;
box-sizing: border-box;
.searchBox { .searchBox {
width: 562px; width: 562px;
@@ -255,6 +335,29 @@ export default {
} }
} }
.btn {
position: fixed;
bottom: 0;
left: 0;
background: #FFF;
display: flex;
width: 100%;
height: 128px;
padding: 24px 32px;
box-sizing: border-box;
.addBtn {
flex: 1;
height: 80px;
line-height: 80px;
text-align: center;
border-radius: 8px;
border: 2px solid #CCCCCC;
background: #1365DD;
color: #FFF;
}
}
.popup { .popup {
box-sizing: border-box; box-sizing: border-box;
// height: 800px; // height: 800px;
@@ -320,6 +423,12 @@ export default {
} }
} }
} }
.items {
::v-deep .AiSelect .display {
justify-content: space-between;
width: 100%;
}
}
.active { .active {
background: #1365dd; background: #1365dd;
color: #fff; color: #fff;
@@ -347,6 +456,9 @@ export default {
} }
} }
} }
::v-deep .uicon-arrow-right::before {
color: #606266 !important;
}
.page_picker { .page_picker {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="cooperationDetail"> <div class="cooperationDetail">
<AiTopFixed> <!-- <AiTopFixed>
<div class="tab-select"> <div class="tab-select">
<div <div
class="item" class="item"
@@ -12,7 +12,7 @@
{{ item }}<span></span> {{ item }}<span></span>
</div> </div>
</div> </div>
</AiTopFixed> </AiTopFixed> -->
<div class="content"> <div class="content">
<div class="header"> <div class="header">
@@ -66,30 +66,29 @@
<div class="list_content"> <div class="list_content">
<div class="list_card"> <div class="list_card">
<div class="tab" v-show="update0"> <div class="tab" v-show="update">
<u-subsection <u-subsection
:list="subsection0" :list="subsection"
mode="button" mode="button"
activeColor="#3c9cff" activeColor="#3c9cff"
:current="subIndex0" :current="subIndex"
@change="changeSub0" @change="changeSub"
></u-subsection>
</div>
<div class="tab" v-show="update1">
<u-subsection
:list="subsection1"
mode="button"
activeColor="#3c9cff"
:current="subIndex1"
@change="changeSub1"
></u-subsection> ></u-subsection>
</div> </div>
<AiTable <AiTable
:data="tableData" :data="tableData"
:colConfigs="tabIndex == 0 ? colConfigs0 : colConfigs1" :colConfigs="colConfigs"
v-if="tableData.length"/> v-if="tableData.length"
>
<u-td slot="groupOwnerId" slot-scope="{ row }" style="border: none;">
<AiOpenData
v-if="row.groupOwnerId"
type="userName"
:openid="row.groupOwnerId"
/>
</u-td>
</AiTable>
<AiEmpty v-if="!tableData.length" description="暂无数据"></AiEmpty> <AiEmpty v-if="!tableData.length" description="暂无数据"></AiEmpty>
</div> </div>
</div> </div>
@@ -116,34 +115,28 @@ export default {
currentClickTime: "", currentClickTime: "",
detail: {}, detail: {},
subsection0: [ subsection: [
{ name: "未执行" }, { name: "未执行" },
{ name: "已执行" }, { name: "已执行" },
{ name: "无法执行" }, { name: "无法执行" },
], ],
subsection1: [ update: true,
{ name: "未送达" },
{ name: "已送达" },
{ name: "无法送达" },
],
update0: true,
update1: false,
}; };
}, },
computed: { computed: {
colConfigs0() { colConfigs() {
return [ return [
{ prop: "groupOwnerName", label: "成员" }, { slot: "groupOwnerId", label: "成员" },
{ label: "预计送达居民", prop: "groupCount" }, { label: "预计送达居民", prop: "groupCount" },
];
},
colConfigs1() {
return [
{ label: "居民群", prop: "groupName" },
{ label: "群人数", prop: "memberCount" },
{ prop: "groupOwnerName", label: "群主" },
]; ];
}, },
// colConfigs1() {
// return [
// { label: "居民群", prop: "groupName" },
// { label: "群人数", prop: "memberCount" },
// { slot: "groupOwnerId", label: "群主" },
// ];
// },
}, },
onLoad(o) { onLoad(o) {
this.id = o.id; this.id = o.id;
@@ -230,12 +223,8 @@ export default {
} }
}, },
// 切换分段器 // 切换分段器
changeSub0(index) { changeSub(index) {
this.subIndex0 = index; this.subIndex = index;
this.getStatistics();
},
changeSub1(index) {
this.subIndex1 = index;
this.getStatistics(); this.getStatistics();
}, },
// 获取数据 // 获取数据
@@ -381,7 +370,6 @@ export default {
} }
.header { .header {
// height: 160px;
padding: 32px; padding: 32px;
box-sizing: border-box; box-sizing: border-box;
background: #fff; background: #fff;
@@ -496,14 +484,6 @@ export default {
.tab { .tab {
margin-bottom: 34px; margin-bottom: 34px;
::v-deep .u-subsection uni-view{
background: #eeef !important;
}
}
.sub-select {
} }
} }
} }

View File

@@ -9,21 +9,24 @@
</div> </div>
<div class="item"> <div class="item">
<span>创建人</span> <span>创建人</span>
<span>{{ data.createUserName }}</span> <span>
<AiOpenData type="userName" :openid="data.createUserId"></AiOpenData>
</span>
</div> </div>
<div class="item" v-if="data.enableExamine == 1"> <div class="item" v-if="data.enableExamine == 1">
<span>审批人</span> <span>审批人</span>
<span> <span>
<span v-for="(item, index) in approver" :key="index" style="color: #333;"> <span v-for="(item, index) in approver" :key="index" style="color: #333;">
{{ item.examineUserName }} <AiOpenData type="userName" :openid="item.examineUserId" style="display: inline-block"></AiOpenData>
<span v-show="index < approver.length - 1"></span> <span v-if="approver.length>1"></span>
</span> </span>
</span> </span>
</div> </div>
<div class="item"> <div class="item">
<span>所在部门</span> <span>所在部门</span>
<span style="display: flex;"> <span style="display: flex;">
<div v-if="data.createUserDeptName">{{ data.createUserDeptName }}</div> <div v-if="data.createUserDept"><AiOpenData type="departmentName" :openid="data.createUserDept" style="display: inline-block;"></AiOpenData></div>
<!-- <div v-if="data.createUserSecondDept"><AiOpenData type="departmentName" :openId="data.createUserSecondDept" style="display: inline-block"></AiOpenData></div> -->
</span> </span>
</div> </div>
<div class="item"> <div class="item">

View File

@@ -10,7 +10,7 @@
<div class="applicationNames">{{ e.userName }}</div> <div class="applicationNames">{{ e.userName }}</div>
</div> </div>
</div> </div>
<AiEmpty description="暂无数据" v-if="!userList"/> <AiEmpty description="暂无数据" v-if="!userList.length"/>
</div> </div>
<div class="subBtn" @click="submit"> <div class="subBtn" @click="submit">
<div>确定选择</div> <div>确定选择</div>
@@ -43,7 +43,7 @@ export default {
}, },
methods: { methods: {
isSelected(userId) { isSelected(userId) {
return this.selected.userId === userId return this.selected.userId===userId
}, },
getCreateUserList() { getCreateUserList() {
this.userList = [] this.userList = []

View File

@@ -1,9 +1,6 @@
<template> <template>
<div class="AppCooperationPropaganda"> <div class="AppCooperationPropaganda">
<AiTopFixed> <AiTopFixed>
<div class="tab-select">
<div class="item" :class="tabIndex == index ? 'active' : ''" v-for="(item, index) in tabs" :key="index" @click="tabClick(item,index)">{{ item.name }}<span></span></div>
</div>
<div class="search"> <div class="search">
<div class="searchBox"> <div class="searchBox">
<u-search placeholder="请输入任务名称" v-model="taskTitle" clearabled @search="searchBtn" @clear="taskTitle='',getList()" :show-action="false"></u-search> <u-search placeholder="请输入任务名称" v-model="taskTitle" clearabled @search="searchBtn" @clear="taskTitle='',getList()" :show-action="false"></u-search>
@@ -22,17 +19,12 @@
<div>共需<span class="num">{{ item.groupOwnerCount || 0 }}</span>名成员完成群发目前已完成<span class="num">{{ item.completionRate || 0 }}%</span></div> <div>共需<span class="num">{{ item.groupOwnerCount || 0 }}</span>名成员完成群发目前已完成<span class="num">{{ item.completionRate || 0 }}%</span></div>
<div> <div>
创建部门 创建部门
<span v-if="item.createUserDept"><AiOpenData type="departmentName" :openid="item.createUserDept" style="display: inline-block" /></span> <span v-if="item.createUserDeptName">{{ item.createUserDeptName }}</span>
<!-- <span v-if="item.createUserSecondDept"><AiOpenData type="departmentName" :openid="item.createUserSecondDept" style="display: inline-block" /></span> -->
</div> </div>
</div> </div>
</div> </div>
<AiEmpty description="暂无数据" v-if="!list.length"/> <AiEmpty description="暂无数据" v-if="!list.length"/>
<div class="btn">
<div class="addBtn" @click="toAdd">新增群发{{tabIndex==0? '居民群': tabIndex==1? '居民':'朋友圈'}}</div>
</div>
<u-popup v-model="filterShow" mode="bottom" border-radius="14"> <u-popup v-model="filterShow" mode="bottom" border-radius="14">
<div class="popup"> <div class="popup">
<div class="tips"></div> <div class="tips"></div>
@@ -57,12 +49,6 @@
</div> </div>
</AiPagePicker> </AiPagePicker>
</div> </div>
<div class="type-list">
<div class="type-title">任务状态</div>
<div class="items">
<AiSelect dict="mstStatus" v-model="status"></AiSelect>
</div>
</div>
<div class="type-list"> <div class="type-list">
<div class="type-title">群发时间</div> <div class="type-title">群发时间</div>
<div class="item"> <div class="item">
@@ -89,6 +75,7 @@
</div> </div>
</div> </div>
</u-popup> </u-popup>
</div> </div>
</template> </template>
@@ -98,21 +85,6 @@ export default {
appName: '协同宣发', appName: '协同宣发',
data() { data() {
return { return {
tabs: [
{
name: '群发居民群',
value: 'ResidentsGroup'
},
{
name: '群发居民',
value: 'Residents'
},
{
name: '群发朋友圈',
value: 'CircleOfFriends'
},
],
tabIndex: 0,
current: 1, current: 1,
name: '', name: '',
list: [], list: [],
@@ -126,16 +98,10 @@ export default {
taskTitle: '', taskTitle: '',
createUserId: '', createUserId: '',
userList: [], userList: [],
userIdList: [], userIdList: []
status: '',
sendType: '',
} }
}, },
methods: { methods: {
tabClick(item,index) {
this.tabIndex = index;
this.sendType = item.value
},
toDetail(item) { toDetail(item) {
uni.navigateTo({url: `./cooperationDetail?id=${item.id}&time=${item.createTime}`}) uni.navigateTo({url: `./cooperationDetail?id=${item.id}&time=${item.createTime}`})
}, },
@@ -196,9 +162,6 @@ export default {
}, },
confirmEnd(val) { confirmEnd(val) {
this.endTime = val.year + '-' + val.month + '-' + val.day this.endTime = val.year + '-' + val.month + '-' + val.day
},
toAdd() {
uni.navigateTo({url: `./addPropaganda?type=${this.sendType}`})
} }
}, },
onShow() { onShow() {
@@ -218,54 +181,11 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.AppCooperationPropaganda { .AppCooperationPropaganda {
padding-bottom: 130px;
box-sizing: border-box;
::v-deep .AiTopFixed .content {
padding: 0;
}
.tab-select {
width: 100%;
height: 96px;
line-height: 96px;
background: #3975c6;
display: flex;
.item {
flex: 1;
text-align: center;
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #cddcf0;
}
.active {
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
position: relative;
color: #fff;
span {
width: 48px;
height: 4px;
background: #fff;
position: absolute;
bottom: 14px;
left: 50%;
margin-left: -24px;
}
}
}
.search { .search {
display: flex; display: flex;
height: 100px; height: 80px;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 20px 32px;
box-sizing: border-box;
.searchBox { .searchBox {
width: 562px; width: 562px;
@@ -335,29 +255,6 @@ export default {
} }
} }
.btn {
position: fixed;
bottom: 0;
left: 0;
background: #FFF;
display: flex;
width: 100%;
height: 128px;
padding: 24px 32px;
box-sizing: border-box;
.addBtn {
flex: 1;
height: 80px;
line-height: 80px;
text-align: center;
border-radius: 8px;
border: 2px solid #CCCCCC;
background: #1365DD;
color: #FFF;
}
}
.popup { .popup {
box-sizing: border-box; box-sizing: border-box;
// height: 800px; // height: 800px;
@@ -423,12 +320,6 @@ export default {
} }
} }
} }
.items {
::v-deep .AiSelect .display {
justify-content: space-between;
width: 100%;
}
}
.active { .active {
background: #1365dd; background: #1365dd;
color: #fff; color: #fff;
@@ -456,9 +347,6 @@ export default {
} }
} }
} }
::v-deep .uicon-arrow-right::before {
color: #606266 !important;
}
.page_picker { .page_picker {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="cooperationDetail"> <div class="cooperationDetail">
<!-- <AiTopFixed> <AiTopFixed>
<div class="tab-select"> <div class="tab-select">
<div <div
class="item" class="item"
@@ -12,7 +12,7 @@
{{ item }}<span></span> {{ item }}<span></span>
</div> </div>
</div> </div>
</AiTopFixed> --> </AiTopFixed>
<div class="content"> <div class="content">
<div class="header"> <div class="header">
@@ -66,29 +66,30 @@
<div class="list_content"> <div class="list_content">
<div class="list_card"> <div class="list_card">
<div class="tab" v-show="update"> <div class="tab" v-show="update0">
<u-subsection <u-subsection
:list="subsection" :list="subsection0"
mode="button" mode="button"
activeColor="#3c9cff" activeColor="#3c9cff"
:current="subIndex" :current="subIndex0"
@change="changeSub" @change="changeSub0"
></u-subsection>
</div>
<div class="tab" v-show="update1">
<u-subsection
:list="subsection1"
mode="button"
activeColor="#3c9cff"
:current="subIndex1"
@change="changeSub1"
></u-subsection> ></u-subsection>
</div> </div>
<AiTable <AiTable
:data="tableData" :data="tableData"
:colConfigs="colConfigs" :colConfigs="tabIndex == 0 ? colConfigs0 : colConfigs1"
v-if="tableData.length" v-if="tableData.length"/>
>
<u-td slot="groupOwnerId" slot-scope="{ row }" style="border: none;">
<AiOpenData
v-if="row.groupOwnerId"
type="userName"
:openid="row.groupOwnerId"
/>
</u-td>
</AiTable>
<AiEmpty v-if="!tableData.length" description="暂无数据"></AiEmpty> <AiEmpty v-if="!tableData.length" description="暂无数据"></AiEmpty>
</div> </div>
</div> </div>
@@ -115,28 +116,34 @@ export default {
currentClickTime: "", currentClickTime: "",
detail: {}, detail: {},
subsection: [ subsection0: [
{ name: "未执行" }, { name: "未执行" },
{ name: "已执行" }, { name: "已执行" },
{ name: "无法执行" }, { name: "无法执行" },
], ],
update: true, subsection1: [
{ name: "未送达" },
{ name: "已送达" },
{ name: "无法送达" },
],
update0: true,
update1: false,
}; };
}, },
computed: { computed: {
colConfigs() { colConfigs0() {
return [ return [
{ slot: "groupOwnerId", label: "成员" }, { prop: "groupOwnerName", label: "成员" },
{ label: "预计送达居民", prop: "groupCount" }, { label: "预计送达居民", prop: "groupCount" },
];
},
colConfigs1() {
return [
{ label: "居民群", prop: "groupName" },
{ label: "群人数", prop: "memberCount" },
{ prop: "groupOwnerName", label: "群主" },
]; ];
}, },
// colConfigs1() {
// return [
// { label: "居民群", prop: "groupName" },
// { label: "群人数", prop: "memberCount" },
// { slot: "groupOwnerId", label: "群主" },
// ];
// },
}, },
onLoad(o) { onLoad(o) {
this.id = o.id; this.id = o.id;
@@ -223,8 +230,12 @@ export default {
} }
}, },
// 切换分段器 // 切换分段器
changeSub(index) { changeSub0(index) {
this.subIndex = index; this.subIndex0 = index;
this.getStatistics();
},
changeSub1(index) {
this.subIndex1 = index;
this.getStatistics(); this.getStatistics();
}, },
// 获取数据 // 获取数据
@@ -370,6 +381,7 @@ export default {
} }
.header { .header {
// height: 160px;
padding: 32px; padding: 32px;
box-sizing: border-box; box-sizing: border-box;
background: #fff; background: #fff;
@@ -484,6 +496,14 @@ export default {
.tab { .tab {
margin-bottom: 34px; margin-bottom: 34px;
::v-deep .u-subsection uni-view{
background: #eeef !important;
}
}
.sub-select {
} }
} }
} }

View File

@@ -9,23 +9,21 @@
</div> </div>
<div class="item"> <div class="item">
<span>创建人</span> <span>创建人</span>
<span> <span>{{ data.createUserName }}</span>
<AiOpenData type="userName" :openid="data.createUserId"></AiOpenData>
</span>
</div> </div>
<div class="item" v-if="data.enableExamine == 1"> <div class="item" v-if="data.enableExamine == 1">
<span>审批人</span> <span>审批人</span>
<span> <span>
<span v-for="(item, index) in approver" :key="index" style="color: #333;"> <span v-for="(item, index) in approver" :key="index" style="color: #333;">
<AiOpenData type="userName" :openid="item.examineUserId" style="display: inline-block"></AiOpenData><span v-if="approver.length>1"></span> {{ item.examineUserName }}
<span v-show="index < approver.length - 1"></span>
</span> </span>
</span> </span>
</div> </div>
<div class="item"> <div class="item">
<span>所在部门</span> <span>所在部门</span>
<span style="display: flex;"> <span style="display: flex;">
<div v-if="data.createUserDept"><AiOpenData type="departmentName" :openid="data.createUserDept" style="display: inline-block;"></AiOpenData></div> <div v-if="data.createUserDeptName">{{ data.createUserDeptName }}</div>
<!-- <div v-if="data.createUserSecondDept"><AiOpenData type="departmentName" :openId="data.createUserSecondDept" style="display: inline-block"></AiOpenData></div> -->
</span> </span>
</div> </div>
<div class="item"> <div class="item">

View File

@@ -10,9 +10,10 @@
<div class="applicationNames"> <div class="applicationNames">
<AiOpenData type="userName" :openid="e.userId"/> <AiOpenData type="userName" :openid="e.userId"/>
</div> </div>
<div></div>
</div> </div>
</div> </div>
<AiEmpty description="暂无数据" v-if="!userList.length"/> <AiEmpty description="暂无数据" v-if="!userList"/>
</div> </div>
<div class="subBtn" @click="submit"> <div class="subBtn" @click="submit">
<div>确定选择</div> <div>确定选择</div>
@@ -45,7 +46,7 @@ export default {
}, },
methods: { methods: {
isSelected(userId) { isSelected(userId) {
return this.selected.userId===userId return this.selected.userId === userId
}, },
getCreateUserList() { getCreateUserList() {
this.userList = [] this.userList = []