删除无用代码
parent
f62b6724c0
commit
3a24d3b669
|
@ -226,8 +226,8 @@
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-bar btn-group" style="margin-top: 30upx;">
|
<view class="cu-bar btn-group" style="margin-top: 30upx;">
|
||||||
<button class="cu-btn bg-red margin-tb-sm lg" @click="$noMultipleClicks(goSubmit,'-2')">打 回</button>
|
<button class="cu-btn bg-red margin-tb-sm lg" @click="$noMultipleClicks(goSubmit,'-1.5')">打 回</button>
|
||||||
<button :loading="buttonloading" class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goSubmit,'2')">通 过</button>
|
<button :loading="buttonloading" class="cu-btn bg-green margin-tb-sm lg" @click="$noMultipleClicks(goSubmit,'1.5')">通 过</button>
|
||||||
</view>
|
</view>
|
||||||
<view class="padding flex flex-direction">
|
<view class="padding flex flex-direction">
|
||||||
</view>
|
</view>
|
||||||
|
@ -411,7 +411,7 @@
|
||||||
formData.OPERATOR = loginUser.USER_ID
|
formData.OPERATOR = loginUser.USER_ID
|
||||||
formData.ACTION_USER = loginUser.NAME
|
formData.ACTION_USER = loginUser.NAME
|
||||||
formData.APPLY_STATUS = STATUS
|
formData.APPLY_STATUS = STATUS
|
||||||
if (STATUS === '2') {
|
if (STATUS === '1.5') {
|
||||||
uni.request({
|
uni.request({
|
||||||
url: basePath + '/app/hotwork/cfd/check',
|
url: basePath + '/app/hotwork/cfd/check',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
@ -424,46 +424,46 @@
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if ("success" === res.data.result) {
|
if ("success" === res.data.result) {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
// if (res.data.passFlag === '0') {
|
if (res.data.passFlag === '0') {
|
||||||
// uni.showModal({
|
uni.showModal({
|
||||||
// title: '',
|
title: '',
|
||||||
// content: res.data.message,
|
content: res.data.message,
|
||||||
// cancelColor: "#000000",
|
cancelColor: "#000000",
|
||||||
// cancelText: '取消',
|
cancelText: '取消',
|
||||||
// confirmText: '确定',
|
confirmText: '确定',
|
||||||
// success: res => {
|
success: res => {
|
||||||
// this.buttonloading = false
|
this.buttonloading = false
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
// } else {
|
} else {
|
||||||
// formData.STATUS = STATUS
|
formData.STATUS = STATUS
|
||||||
// formData.measuresList = JSON.stringify(this.measuresList)
|
formData.measuresList = JSON.stringify(this.measuresList)
|
||||||
// formData.CORPINFO_ID = loginUser.CORPINFO_ID
|
formData.CORPINFO_ID = loginUser.CORPINFO_ID
|
||||||
// formData.USER_ID = loginUser.USER_ID
|
formData.USER_ID = loginUser.USER_ID
|
||||||
// this.buttonloading = true
|
this.buttonloading = true
|
||||||
// uni.uploadFile({
|
uni.uploadFile({
|
||||||
// url: basePath + '/app/hotwork/cfd/editStatus',
|
url: basePath + '/app/hotwork/cfd/editStatus',
|
||||||
// filePath: _this.imgList[0].filePath,
|
filePath: _this.imgList[0].filePath,
|
||||||
// name: 'FFILE',
|
name: 'FFILE',
|
||||||
// formData: formData,
|
formData: formData,
|
||||||
// success: (res) => {
|
success: (res) => {
|
||||||
// uni.showToast({
|
uni.showToast({
|
||||||
// icon: 'none',
|
icon: 'none',
|
||||||
// title: '保存成功',
|
title: '保存成功',
|
||||||
// duration: 2000
|
duration: 2000
|
||||||
// });
|
});
|
||||||
// _this.goback()
|
_this.goback()
|
||||||
// this.buttonloading = false
|
this.buttonloading = false
|
||||||
// },
|
},
|
||||||
// fail: (err) => {
|
fail: (err) => {
|
||||||
// uni.hideLoading();
|
uni.hideLoading();
|
||||||
// uni.showModal({
|
uni.showModal({
|
||||||
// content: err.errMsg,
|
content: err.errMsg,
|
||||||
// showCancel: false
|
showCancel: false
|
||||||
// });
|
});
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
// }
|
}
|
||||||
} else if ("exception" === data.result) {
|
} else if ("exception" === data.result) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '错误',
|
title: '错误',
|
||||||
|
|
Loading…
Reference in New Issue