Commit d209d978 authored by 胡's avatar

fix: 清除一些bug

parent e441cf4e
......@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"',
currentVersion: '"3.3.6"'
currentVersion: '"3.3.8"'
}
......@@ -203,7 +203,7 @@ export default {
content: '您确认提交吗?',
onConfirm: d => {
if (d) {
if (vm.bp_identity === 'NP_NO' || vm.bp_identity === 'ORG_L_NO' || vm.bp_identity === 'ORG_AUTH_NO') {
if (vm.bp_identity === 'NP_NO' || vm.bp_identity === 'ORG_L_NO' || vm.bp_identity === 'ORG_AUTH_NO' || !vm.bp_identity) {
vm.hlsPopup.showConfirm({
title: '提示',
content: '当前用户尚未认证,是否需要认证',
......
......@@ -297,7 +297,7 @@ export default {
content: '您确认提交吗?',
onConfirm: d => {
if (d) {
if (vm.bp_identity === 'NP_NO' || vm.bp_identity === 'ORG_L_NO' || vm.bp_identity === 'ORG_AUTH_NO') {
if (vm.bp_identity === 'NP_NO' || vm.bp_identity === 'ORG_L_NO' || vm.bp_identity === 'ORG_AUTH_NO' || !vm.bp_identity) {
vm.hlsPopup.showConfirm({
title: '提示',
content: '当前用户尚未认证,是否需要认证',
......
......@@ -1314,15 +1314,14 @@ export default {
if (vm.msg_flag) {
vm.dowload_list = [] // 保存之前将图片下载列表清空,防止出现重复的图片
vm.upload_list = [] // 保存之前将待上传列表清空,防止出现重复的图片
vm.hlsPopup.showLoading('请稍候')
vm.upload_list = [] // 保存之前将待上传列表清空,防止出现重复的图片
let url = $config.basePath + 'bp_org_bind_save'
let param = {
master: {...vm.saveInfo, bp_id: JSON.parse(window.localStorage.getItem('handleUser')).bp_id, user_phone: window.localStorage.getItem('user_phone')},
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
// vm.hlsPopup.showSuccess('保存成功,请去维护附件信息')
vm.bp_id = res.bp_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment