BUG优化 从业人员离岗后删除编辑页面提示语
parent
23126c74e9
commit
fd87fc83fb
|
@ -222,6 +222,7 @@
|
||||||
},
|
},
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
uni.hideLoading(); //结束加载中动画
|
uni.hideLoading(); //结束加载中动画
|
||||||
|
console.log(res.data)
|
||||||
if (res.data != null) {
|
if (res.data != null) {
|
||||||
_this.totalPage = res.data.page.totalPage;
|
_this.totalPage = res.data.page.totalPage;
|
||||||
if (_this.list.length == 0) {
|
if (_this.list.length == 0) {
|
||||||
|
|
|
@ -262,7 +262,8 @@
|
||||||
type: 'gcj02',
|
type: 'gcj02',
|
||||||
geocode: true,
|
geocode: true,
|
||||||
success: function (locationRes) {
|
success: function (locationRes) {
|
||||||
const locationAddress = `${locationRes.address.province}${locationRes.address.city}${locationRes.address.district}${locationRes.address.street}${locationRes.address.streetNum}${locationRes.address.poiName}`;
|
let locationAddress = `${locationRes.address.province}${locationRes.address.city}${locationRes.address.district}${locationRes.address.street}${locationRes.address.streetNum}${locationRes.address.poiName}`;
|
||||||
|
locationAddress = locationAddress.replace(/undefined/g,'')
|
||||||
// 创建画布
|
// 创建画布
|
||||||
const ctx = uni.createCanvasContext('watermarkCanvas', _this);
|
const ctx = uni.createCanvasContext('watermarkCanvas', _this);
|
||||||
ctx.drawImage(tempFilePath, 0, 0, 300, 150); // 图片大小
|
ctx.drawImage(tempFilePath, 0, 0, 300, 150); // 图片大小
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
basePath,
|
basePath, corpinfoId,
|
||||||
loginUser
|
loginUser
|
||||||
} from '@/common/tool.js';
|
} from '@/common/tool.js';
|
||||||
import ykAuthpup from "@/components/yk-authpup/yk-authpup"
|
import ykAuthpup from "@/components/yk-authpup/yk-authpup"
|
||||||
|
@ -88,7 +88,29 @@
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
if (res.data.pd) { //已有申请
|
if (res.data.pd) { //已有申请
|
||||||
_this.pd = res.data.pd;
|
_this.pd = res.data.pd;
|
||||||
console.log("222",_this.pd)
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
this.getUserStatus();
|
||||||
|
},
|
||||||
|
getUserStatus() {
|
||||||
|
var _this = this;
|
||||||
|
uni.request({
|
||||||
|
url: basePath + '/app/user/getUserStatus',
|
||||||
|
method: 'POST',
|
||||||
|
dataType: 'json',
|
||||||
|
header: {
|
||||||
|
'Content-type': 'application/x-www-form-urlencoded'
|
||||||
|
},
|
||||||
|
data: {
|
||||||
|
USER_ID: loginUser.USER_ID,
|
||||||
|
CORPINFO_ID: corpinfoId,
|
||||||
|
ISDELETE: '0',
|
||||||
|
},
|
||||||
|
success: (res) => {
|
||||||
|
if (res.data.pd) {
|
||||||
|
_this.pd = res.data.pd;
|
||||||
|
this.pd.APPLY_TYPE = _this.pd.APPLY_TYPE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -277,7 +277,6 @@ import Apply from "./components/apply.vue"
|
||||||
_this.form.QUALIFICATION_CERTIFICATE_CATEGORY = item.ALLOW_QUALIFICATION ? item.ALLOW_QUALIFICATION.split(',') : []
|
_this.form.QUALIFICATION_CERTIFICATE_CATEGORY = item.ALLOW_QUALIFICATION ? item.ALLOW_QUALIFICATION.split(',') : []
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log("111",this.applyType)
|
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.data.message,
|
title: res.data.message,
|
||||||
|
@ -292,7 +291,6 @@ import Apply from "./components/apply.vue"
|
||||||
this.TabCur = tabCur
|
this.TabCur = tabCur
|
||||||
},
|
},
|
||||||
goEdit(e){
|
goEdit(e){
|
||||||
console.log(e)
|
|
||||||
this.forbidEdit = false
|
this.forbidEdit = false
|
||||||
this.colorValue = '#000000'
|
this.colorValue = '#000000'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue