BUG优化 从业人员离岗后删除编辑页面提示语

dev
xiepeng 2024-06-03 18:00:50 +08:00
parent 23126c74e9
commit fd87fc83fb
4 changed files with 30 additions and 8 deletions

View File

@ -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) {

View File

@ -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); //

View File

@ -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
} }
} }
}); });

View File

@ -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'
}, },