更新
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<uni-list>
|
||||
<uni-list-item>
|
||||
<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 slot="body" class="list_right">
|
||||
@@ -17,6 +18,7 @@
|
||||
</uni-list-item>
|
||||
<uni-list-item>
|
||||
<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 slot="body" class="list_right">
|
||||
@@ -33,6 +35,7 @@
|
||||
<uni-list-item
|
||||
@tap="jump('/userManagement/yunSite/components/serviceStation',{siteId:postData.siteId}, isAdd)">
|
||||
<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 slot="body" class="list-frame site">
|
||||
@@ -58,6 +61,7 @@
|
||||
<uni-list-item direction="column"
|
||||
@tap="jump('/userManagement/yunSite/components/auth',postData.sysRoleList)">
|
||||
<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 slot="body" class="list-frame">
|
||||
@@ -107,7 +111,7 @@
|
||||
} else this.isAdd = this.wantUpdate = true
|
||||
|
||||
uni.$on('yunSiteServiceStation', (item) => {
|
||||
this.postData.channelId = item.siteId
|
||||
this.postData.channelId = item.id
|
||||
this.postData.siteName = item.otherSiteName
|
||||
// item['name'] = item.siteName
|
||||
// if (!item.isChecked) {
|
||||
@@ -149,6 +153,10 @@
|
||||
siteName:{
|
||||
tacitly:'',
|
||||
WrongText:'请选择油站渠道'
|
||||
},
|
||||
sysRoleList:{
|
||||
minLength:1,
|
||||
WrongText:'请选择所属权限'
|
||||
}
|
||||
|
||||
}
|
||||
@@ -163,6 +171,8 @@
|
||||
return
|
||||
}
|
||||
|
||||
// if(this.postData.sysRoleList.length)
|
||||
|
||||
let ids = this.postData.sysRoleList.reduce((pre, cur) => {
|
||||
pre.push(cur.id)
|
||||
return pre
|
||||
|
||||
Reference in New Issue
Block a user