|
@@ -2,7 +2,7 @@
|
|
<view class="main">
|
|
<view class="main">
|
|
<view class="form_group">
|
|
<view class="form_group">
|
|
<view class="lable re">兼职名称</view>
|
|
<view class="lable re">兼职名称</view>
|
|
- <input placeholder="请输入" v-model="item.title" />
|
|
|
|
|
|
+ <input placeholder="请输入" v-model="item.title" :disabled="item.audit == 1" />
|
|
</view>
|
|
</view>
|
|
<view class="form_group">
|
|
<view class="form_group">
|
|
<view class="lable re">兼职类型</view>
|
|
<view class="lable re">兼职类型</view>
|
|
@@ -13,12 +13,12 @@
|
|
</view>
|
|
</view>
|
|
<view class="form_group">
|
|
<view class="form_group">
|
|
<view class="lable re">兼职描述(要求)</view>
|
|
<view class="lable re">兼职描述(要求)</view>
|
|
- <leditor ref="editor" v-model="item.contents" placeholder="请输入兼职描述"></leditor>
|
|
|
|
|
|
+ <leditor ref="editor" v-model="item.contents" placeholder="请输入兼职描述" :read="item.audit == 1"></leditor>
|
|
</view>
|
|
</view>
|
|
<view class="form_group">
|
|
<view class="form_group">
|
|
<view class="lable re">兼职金额(元)</view>
|
|
<view class="lable re">兼职金额(元)</view>
|
|
<view class="bgm">
|
|
<view class="bgm">
|
|
- <input type="digit" placeholder="请输入" v-model="item.salary" class="input" />
|
|
|
|
|
|
+ <input type="digit" placeholder="请输入" v-model="item.salary" class="input" :disabled="item.audit == 1" />
|
|
<view class="msg">
|
|
<view class="msg">
|
|
<text>{{ money }}</text>
|
|
<text>{{ money }}</text>
|
|
<text @click="go('/pages/user/money/index')">充值</text>
|
|
<text @click="go('/pages/user/money/index')">充值</text>
|
|
@@ -58,7 +58,8 @@
|
|
<input placeholder="请输入楼层/单元室/门牌号" v-model="item.mph" v-if="item.address" />
|
|
<input placeholder="请输入楼层/单元室/门牌号" v-model="item.mph" v-if="item.address" />
|
|
<view class="bz">如需应聘者去现场请选择兼职地点</view>
|
|
<view class="bz">如需应聘者去现场请选择兼职地点</view>
|
|
</view>
|
|
</view>
|
|
- <button class="btn" @click="save()">{{ item.id ? '编辑' : '保存' }}</button>
|
|
|
|
|
|
+ <button class="btn" @click="ok()" v-if="item.id && item.audit == 0">编辑</button>
|
|
|
|
+ <button class="btn" @click="save()" v-if="!item.id">保存</button>
|
|
<u-popup :show="show" round="15" mode="center" :closeable="true" :closeOnClickOverlay="false" :customStyle="{ width: '85%' }" @close="show = false">
|
|
<u-popup :show="show" round="15" mode="center" :closeable="true" :closeOnClickOverlay="false" :customStyle="{ width: '85%' }" @close="show = false">
|
|
<view class="popup">
|
|
<view class="popup">
|
|
<view class="mtt">兼职金额</view>
|
|
<view class="mtt">兼职金额</view>
|
|
@@ -70,7 +71,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="item">
|
|
<text class="tt">费率</text>
|
|
<text class="tt">费率</text>
|
|
- <text class="la">{{ platform.cashOutService }}%</text>
|
|
|
|
|
|
+ <text class="la">{{ platform.partTimeService }}%</text>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="item">
|
|
<text class="tt">实际扣除</text>
|
|
<text class="tt">实际扣除</text>
|
|
@@ -163,7 +164,7 @@ export default {
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
this.show = true;
|
|
this.show = true;
|
|
- this.item.serviceMoney = (this.item.salary * (this.platform.cashOutService / 100)).toFixed(2);
|
|
|
|
|
|
+ this.item.serviceMoney = (this.item.salary * (this.platform.partTimeService / 100)).toFixed(2);
|
|
this.item.realMoney = (parseFloat(this.item.salary) + parseFloat(this.item.serviceMoney)).toFixed(2);
|
|
this.item.realMoney = (parseFloat(this.item.salary) + parseFloat(this.item.serviceMoney)).toFixed(2);
|
|
},
|
|
},
|
|
ok() {
|
|
ok() {
|