|
|
@@ -53,6 +53,19 @@
|
|
|
<view>{{newData.adminPhone}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="small-title-new" @click="unfoldPackUp('subAdminUserShowType')">
|
|
|
+ <view>管理员</view>
|
|
|
+ <uni-icons :type="newData.subAdminUserShowType?'up':'down'" size="12" color='#A2A2A2'></uni-icons>
|
|
|
+ </view>
|
|
|
+ <view v-if="newData.subAdminUserShowType">
|
|
|
+ <view class="sub-head" v-for="(item,index) in newData.adminUserList" :key="index">
|
|
|
+ <view>{{item.adminUserName}}</view>
|
|
|
+ <view @click="callPhone(item.adminUserPhone)">
|
|
|
+ <img :src="imagesUrl('manage/icon_aqxxp_dh.png')" v-if="item.adminUserPhone">
|
|
|
+ <view>{{item.adminUserPhone?item.adminUserPhone:'--'}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="small-title-new" @click="unfoldPackUp('adminShowType')">
|
|
|
<view>安全员</view>
|
|
|
<uni-icons :type="newData.adminShowType?'up':'down'" size="12" color='#A2A2A2'></uni-icons>
|
|
|
@@ -254,6 +267,7 @@
|
|
|
adminName: '',
|
|
|
adminPhone: '',
|
|
|
safeUserList: [],
|
|
|
+ adminUserList: [],
|
|
|
labInfoBrandModels: [],
|
|
|
},
|
|
|
subjectData: null,
|
|
|
@@ -295,6 +309,7 @@
|
|
|
onLoad(option) {
|
|
|
let newData = JSON.parse(decodeURIComponent(option.infoData));
|
|
|
newData.subAdminShowType = true;
|
|
|
+ newData.subAdminUserShowType = true;
|
|
|
newData.adminShowType = true;
|
|
|
if (newData.labInfoBrandModels) {
|
|
|
for (let i = 0; i < newData.labInfoBrandModels.length; i++) {
|
|
|
@@ -376,6 +391,8 @@
|
|
|
unfoldPackUp(type, index) {
|
|
|
if (type == 'subAdminShowType') {
|
|
|
this.$set(this.newData, 'subAdminShowType', !this.newData.subAdminShowType);
|
|
|
+ } else if (type == 'subAdminUserShowType') {
|
|
|
+ this.$set(this.newData, 'subAdminUserShowType', !this.newData.subAdminUserShowType);
|
|
|
} else if (type == 'adminShowType') {
|
|
|
this.$set(this.newData, 'adminShowType', !this.newData.adminShowType);
|
|
|
} else if (type == 'list') {
|