修改进度上传是不能选择否的bug
This commit is contained in:
parent
5718ecd0e1
commit
e4ebb8702e
8
main.js
8
main.js
@ -37,16 +37,16 @@ if (process.env.NODE_ENV === 'development') {
|
|||||||
console.log('开发环境')
|
console.log('开发环境')
|
||||||
// Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢正式地址(弃用)
|
// Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢正式地址(弃用)
|
||||||
// Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址
|
// Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址
|
||||||
// Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址
|
Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址
|
||||||
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //雄哥内网穿透地址
|
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //雄哥内网穿透地址
|
||||||
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址
|
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址
|
||||||
// Vue.prototype.url_config = ' http://192.168.34.221:28888/' //郭圣雄本地
|
// Vue.prototype.url_config = ' http://192.168.34.221:28888/' //郭圣雄本地
|
||||||
Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地
|
// Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地
|
||||||
// Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
|
// Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
|
||||||
// Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用)
|
// Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用)
|
||||||
// Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址
|
// Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址
|
||||||
// Vue.prototype.work_url = 'http://42.180.188.17:19097' // 工作流测试地址
|
Vue.prototype.work_url = 'http://42.180.188.17:19097' // 工作流测试地址
|
||||||
Vue.prototype.work_url = 'http://192.168.34.138:5173' // 工作流地址
|
// Vue.prototype.work_url = 'http://192.168.34.138:5173' // 工作流地址
|
||||||
// Vue.prototype.work_url = 'http://139.9.66.234:5173' // 工作流地址
|
// Vue.prototype.work_url = 'http://139.9.66.234:5173' // 工作流地址
|
||||||
// Vue.prototype.work_url = 'http://192.168.34.126:5173' // 工作流地址
|
// Vue.prototype.work_url = 'http://192.168.34.126:5173' // 工作流地址
|
||||||
// Vue.prototype.url_config = 'http://8.142.139.165:7080/' // 湖里
|
// Vue.prototype.url_config = 'http://8.142.139.165:7080/' // 湖里
|
||||||
|
|||||||
@ -94,7 +94,7 @@
|
|||||||
uploadDate: '',
|
uploadDate: '',
|
||||||
progressRatio: 0,
|
progressRatio: 0,
|
||||||
feedbackContent: '',
|
feedbackContent: '',
|
||||||
hasDelayEvent: 0,
|
hasDelayEvent: '0',
|
||||||
delayEventReason: '',
|
delayEventReason: '',
|
||||||
delayEventType: []
|
delayEventType: []
|
||||||
},
|
},
|
||||||
@ -243,6 +243,7 @@
|
|||||||
},
|
},
|
||||||
//新增保存
|
//新增保存
|
||||||
addSaveBtn() {
|
addSaveBtn() {
|
||||||
|
console.log(this.form,111222);
|
||||||
if (this.form.uploadDate == "") {
|
if (this.form.uploadDate == "") {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "请选择上报时间",
|
title: "请选择上报时间",
|
||||||
@ -250,6 +251,7 @@
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if(this.form.hasDelayEvent !== '0'){
|
||||||
if(!this.form.delayEventReason){
|
if(!this.form.delayEventReason){
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "请输入延期误工原因",
|
title: "请输入延期误工原因",
|
||||||
@ -264,6 +266,7 @@
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
}
|
||||||
let data = JSON.parse(JSON.stringify(this.form));
|
let data = JSON.parse(JSON.stringify(this.form));
|
||||||
data.projectSn = this.projectSn;
|
data.projectSn = this.projectSn;
|
||||||
data.taskProgressId = String(this.id)
|
data.taskProgressId = String(this.id)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user