BUG优化 从业人员离岗后删除编辑页面提示语
parent
23126c74e9
commit
fd87fc83fb
|
@ -222,6 +222,7 @@
|
|||
},
|
||||
success: (res) => {
|
||||
uni.hideLoading(); //结束加载中动画
|
||||
console.log(res.data)
|
||||
if (res.data != null) {
|
||||
_this.totalPage = res.data.page.totalPage;
|
||||
if (_this.list.length == 0) {
|
||||
|
|
|
@ -262,7 +262,8 @@
|
|||
type: 'gcj02',
|
||||
geocode: true,
|
||||
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);
|
||||
ctx.drawImage(tempFilePath, 0, 0, 300, 150); // 图片大小
|
||||
|
|
|
@ -42,10 +42,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
basePath,
|
||||
loginUser
|
||||
} from '@/common/tool.js';
|
||||
import {
|
||||
basePath, corpinfoId,
|
||||
loginUser
|
||||
} from '@/common/tool.js';
|
||||
import ykAuthpup from "@/components/yk-authpup/yk-authpup"
|
||||
export default {
|
||||
components: {
|
||||
|
@ -88,7 +88,29 @@
|
|||
uni.hideLoading();
|
||||
if (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(',') : []
|
||||
}
|
||||
})
|
||||
console.log("111",this.applyType)
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.data.message,
|
||||
|
@ -292,7 +291,6 @@ import Apply from "./components/apply.vue"
|
|||
this.TabCur = tabCur
|
||||
},
|
||||
goEdit(e){
|
||||
console.log(e)
|
||||
this.forbidEdit = false
|
||||
this.colorValue = '#000000'
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue