更新
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
<uni-list>
|
<uni-list>
|
||||||
<uni-list-item>
|
<uni-list-item>
|
||||||
<view class="list_header" slot="header">
|
<view class="list_header" slot="header">
|
||||||
|
<image v-if="isAdd" src="@/static/bt.png" style="width: 12rpx;position: absolute;left: -20rpx;" mode="widthFix" ></image>
|
||||||
用户手机号
|
用户手机号
|
||||||
</view>
|
</view>
|
||||||
<view slot="body" class="list_right">
|
<view slot="body" class="list_right">
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
</uni-list-item>
|
</uni-list-item>
|
||||||
<uni-list-item>
|
<uni-list-item>
|
||||||
<view class="list_header" slot="header">
|
<view class="list_header" slot="header">
|
||||||
|
<image v-if="isAdd" src="@/static/bt.png" style="width: 12rpx;position: absolute;left: -20rpx;" mode="widthFix" ></image>
|
||||||
用户姓名
|
用户姓名
|
||||||
</view>
|
</view>
|
||||||
<view slot="body" class="list_right">
|
<view slot="body" class="list_right">
|
||||||
@@ -33,6 +35,7 @@
|
|||||||
<uni-list-item
|
<uni-list-item
|
||||||
@tap="jump('/userManagement/yunSite/components/serviceStation',{siteId:postData.siteId}, isAdd)">
|
@tap="jump('/userManagement/yunSite/components/serviceStation',{siteId:postData.siteId}, isAdd)">
|
||||||
<view class="list_header" slot="header">
|
<view class="list_header" slot="header">
|
||||||
|
<image v-if="isAdd" src="@/static/bt.png" style="width: 12rpx;position: absolute;left: -20rpx;" mode="widthFix" ></image>
|
||||||
油站渠道
|
油站渠道
|
||||||
</view>
|
</view>
|
||||||
<view slot="body" class="list-frame site">
|
<view slot="body" class="list-frame site">
|
||||||
@@ -58,6 +61,7 @@
|
|||||||
<uni-list-item direction="column"
|
<uni-list-item direction="column"
|
||||||
@tap="jump('/userManagement/yunSite/components/auth',postData.sysRoleList)">
|
@tap="jump('/userManagement/yunSite/components/auth',postData.sysRoleList)">
|
||||||
<view class="list_header" slot="header">
|
<view class="list_header" slot="header">
|
||||||
|
<image v-if="isAdd" src="@/static/bt.png" style="width: 12rpx;position: absolute;left: -20rpx;" mode="widthFix" ></image>
|
||||||
所属权限
|
所属权限
|
||||||
</view>
|
</view>
|
||||||
<view slot="body" class="list-frame">
|
<view slot="body" class="list-frame">
|
||||||
@@ -107,7 +111,7 @@
|
|||||||
} else this.isAdd = this.wantUpdate = true
|
} else this.isAdd = this.wantUpdate = true
|
||||||
|
|
||||||
uni.$on('yunSiteServiceStation', (item) => {
|
uni.$on('yunSiteServiceStation', (item) => {
|
||||||
this.postData.channelId = item.siteId
|
this.postData.channelId = item.id
|
||||||
this.postData.siteName = item.otherSiteName
|
this.postData.siteName = item.otherSiteName
|
||||||
// item['name'] = item.siteName
|
// item['name'] = item.siteName
|
||||||
// if (!item.isChecked) {
|
// if (!item.isChecked) {
|
||||||
@@ -149,6 +153,10 @@
|
|||||||
siteName:{
|
siteName:{
|
||||||
tacitly:'',
|
tacitly:'',
|
||||||
WrongText:'请选择油站渠道'
|
WrongText:'请选择油站渠道'
|
||||||
|
},
|
||||||
|
sysRoleList:{
|
||||||
|
minLength:1,
|
||||||
|
WrongText:'请选择所属权限'
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -163,6 +171,8 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if(this.postData.sysRoleList.length)
|
||||||
|
|
||||||
let ids = this.postData.sysRoleList.reduce((pre, cur) => {
|
let ids = this.postData.sysRoleList.reduce((pre, cur) => {
|
||||||
pre.push(cur.id)
|
pre.push(cur.id)
|
||||||
return pre
|
return pre
|
||||||
|
|||||||
Reference in New Issue
Block a user