BUG 29461
This commit is contained in:
@@ -299,8 +299,10 @@
|
||||
<span>是否会讲普通话</span>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.mandarin == '01' ? 'check-active' : '' " @click="form.mandarin='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.mandarin == '02' ? 'check-active' : '' " @click="form.mandarin='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.mandarin == '01' ? 'check-active' : '' " @click="form.mandarin='01'">是<img
|
||||
src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.mandarin == '02' ? 'check-active' : '' " @click="form.mandarin='02'">否<img
|
||||
src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -374,8 +376,10 @@
|
||||
<span>是否国外务工</span>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="check-item" :class="form.foreignWorkers == '01' ? 'check-active' : '' " @click="form.foreignWorkers='01'">是<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.foreignWorkers == '02' ? 'check-active' : '' " @click="form.foreignWorkers='02'">否<img src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.foreignWorkers == '01' ? 'check-active' : '' " @click="form.foreignWorkers='01'">是<img
|
||||
src="./components/img/check-icon.png" alt=""></div>
|
||||
<div class="check-item" :class="form.foreignWorkers == '02' ? 'check-active' : '' " @click="form.foreignWorkers='02'">否<img
|
||||
src="./components/img/check-icon.png" alt=""></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -510,7 +514,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
isEdit(){
|
||||
isEdit() {
|
||||
return !!this.$route.query.id
|
||||
}
|
||||
},
|
||||
@@ -573,12 +577,12 @@ export default {
|
||||
},
|
||||
|
||||
// 医疗保险
|
||||
basicsCheck(row, i) {
|
||||
this.basicsCheckList[i].checked = !this.basicsCheckList[i].checked
|
||||
basicsCheck(row) {
|
||||
row.checked = !row.checked
|
||||
},
|
||||
// 保障措施
|
||||
guaranteeCheck(row, i) {
|
||||
this.guaranteeCheckList[i].checked = !this.guaranteeCheckList[i].checked
|
||||
guaranteeCheck(row) {
|
||||
row.checked = !row.checked
|
||||
},
|
||||
|
||||
nextStep() {
|
||||
@@ -672,7 +676,7 @@ export default {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast(this.$route.query.id ? '保存成功' : '提交成功')
|
||||
uni.$emit('reload')
|
||||
setTimeout(() =>{
|
||||
setTimeout(() => {
|
||||
if (this.$route.query.id) {
|
||||
uni.navigateBack({
|
||||
delta: 2
|
||||
@@ -704,14 +708,9 @@ export default {
|
||||
})
|
||||
|
||||
res.data.healthyStatusList = res.data.healthyStatus.split(',')
|
||||
|
||||
res.data.healthyStatusList.map((item) => {
|
||||
this.helthList.map(items => {
|
||||
items.checked = item == items.dictValue
|
||||
items.checked = res.data.healthyStatusList.includes(items.dictValue)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
this.form = {
|
||||
...this.form,
|
||||
...res.data
|
||||
|
||||
@@ -94,7 +94,7 @@ export default {
|
||||
isGirdUser() {
|
||||
this.isAdmin = false
|
||||
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
|
||||
if (res.code == 0) {
|
||||
if (res?.data) {
|
||||
if (res.data.checkType != '0') {
|
||||
this.isAdmin = true
|
||||
this.checkType = res.data.checkType
|
||||
|
||||
Reference in New Issue
Block a user