[员工修改手机不可修改且员工列表头像换cover]
This commit is contained in:
@@ -18,13 +18,13 @@
|
|||||||
<input type="text" v-model="name" placeholder="姓名"/>
|
<input type="text" v-model="name" placeholder="姓名"/>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-inputs">
|
<view class="info-inputs">
|
||||||
<input type="number" v-model="phone" placeholder="手机号码"/>
|
<input type="number" :disabled="$Route.query.type === 'PUT'?true:false" v-model="phone" placeholder="手机号码为员工唯一登录凭证"/>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-inputs">
|
<view class="info-inputs">
|
||||||
<input type="text" v-model="job" placeholder="职业"/>
|
<input type="text" v-model="job" placeholder="职业"/>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-inputs">
|
<view class="info-inputs">
|
||||||
<picker :range="section" range-key="name" :value="sectionIndex" @change="pickerChange">
|
<picker :range="section" range-key="name" :value="sectionIndex + ''" @change="pickerChange">
|
||||||
<view class="picker-text">
|
<view class="picker-text">
|
||||||
{{section[sectionIndex].name}}
|
{{section[sectionIndex].name}}
|
||||||
<uni-icons class="icon" type="arrowdown" color="#555"></uni-icons>
|
<uni-icons class="icon" type="arrowdown" color="#555"></uni-icons>
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
<label>
|
<label>
|
||||||
<view class="item-title">{{item.title}}</view>
|
<view class="item-title">{{item.title}}</view>
|
||||||
<view class="item-info">{{item.description}}</view>
|
<view class="item-info">{{item.description}}</view>
|
||||||
<checkbox class="item-checkbox" :checked="item.check" color="#e93340" :value="item.permission_id" />
|
<checkbox class="item-checkbox" :checked="item.check" color="#e93340" :value="item.permission_id+''" />
|
||||||
</label>
|
</label>
|
||||||
</view>
|
</view>
|
||||||
</checkbox-group>
|
</checkbox-group>
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
section : [],
|
section : [],
|
||||||
permissions : [],
|
permissions : [],
|
||||||
permissionIds: [],
|
permissionIds: [],
|
||||||
sectionIndex : 0,
|
sectionIndex : '0',
|
||||||
cover : {
|
cover : {
|
||||||
showpath : '',
|
showpath : '',
|
||||||
path : ''
|
path : ''
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
<uni-swipe-action-item :rightOptions="options" @click="onEmployees($event, listIndex, index)">
|
<uni-swipe-action-item :rightOptions="options" @click="onEmployees($event, listIndex, index)">
|
||||||
<view class="employees-item">
|
<view class="employees-item">
|
||||||
<view class="cover">
|
<view class="cover">
|
||||||
<block v-if="item.user.avatar === ''">{{item.name.slice(0,1)}}</block>
|
<block v-if="item.cover === ''">{{item.name.slice(0,1)}}</block>
|
||||||
<block v-else>
|
<block v-else>
|
||||||
<image class="cover-img" :src="item.user.avatar" mode="aspectFill"></image>
|
<image class="cover-img" :src="item.cover" mode="aspectFill"/>
|
||||||
</block>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
|
|||||||
@@ -235,6 +235,7 @@
|
|||||||
border: 4rpx solid #ed8483;
|
border: 4rpx solid #ed8483;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
box-shadow: 0 4rpx 15rpx rgba(109,1,0,.8);
|
box-shadow: 0 4rpx 15rpx rgba(109,1,0,.8);
|
||||||
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
.company{
|
.company{
|
||||||
width: calc(100% - 94rpx);
|
width: calc(100% - 94rpx);
|
||||||
|
|||||||
29
unpackage/dist/dev/app-plus/app-service.js
vendored
29
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
5
unpackage/dist/dev/app-plus/app-view.js
vendored
5
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user