apply-clients 3.1.60 → 3.1.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
}
|
|
1048
1048
|
}
|
|
1049
1049
|
// 给后台存工改接口所需的附件
|
|
1050
|
-
|
|
1050
|
+
if(this.data.defname=='方案确认'){
|
|
1051
1051
|
let http = new HttpResetClass()
|
|
1052
1052
|
await http.load('POST', 'rs/sql/singleTable', {
|
|
1053
1053
|
data: {
|
|
@@ -1058,38 +1058,9 @@
|
|
|
1058
1058
|
.then(async (res1) => {
|
|
1059
1059
|
if(res1.data.length>0){
|
|
1060
1060
|
model.url=res1.data[0].f_downloadpath
|
|
1061
|
-
model = Object.assign({}, this.selectdata, model)
|
|
1062
|
-
let http = new HttpResetClass()
|
|
1063
|
-
let requestData = {
|
|
1064
|
-
tables: this.data.tables,
|
|
1065
|
-
start_activity: this.$workflow_vue.start_activity,
|
|
1066
|
-
model: model,
|
|
1067
|
-
loginUser: this.$login.f,
|
|
1068
|
-
workflow_xmlfilename: this.$workflow_vue.workflow_xmlfilename
|
|
1069
|
-
}
|
|
1070
|
-
// 下发,提交,保存,退回通用业务后台处理logic
|
|
1071
|
-
let url = 'rs/logic/ApplyProductService'
|
|
1072
|
-
|
|
1073
|
-
let res2 = await http.load('POST', url, {data: requestData}, {resolveMsg: null, rejectMsg: '数据保存失败'})
|
|
1074
|
-
if (res2.data.code == 200) {
|
|
1075
|
-
model = res2.data.model
|
|
1076
|
-
|
|
1077
|
-
this.showview = false
|
|
1078
|
-
// 特殊处理
|
|
1079
|
-
this.$dispatch('close')
|
|
1080
|
-
this.initializtion()
|
|
1081
|
-
|
|
1082
|
-
} else {
|
|
1083
|
-
if (res2.data.msg) {
|
|
1084
|
-
this.$showMessage(res2.data.msg)
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
}else{
|
|
1088
|
-
this.$showMessage("请上传附件!")
|
|
1089
|
-
return
|
|
1090
1061
|
}
|
|
1091
1062
|
})
|
|
1092
|
-
|
|
1063
|
+
}
|
|
1093
1064
|
// 修改提交数据
|
|
1094
1065
|
model = Object.assign({}, this.selectdata, model)
|
|
1095
1066
|
let http = new HttpResetClass()
|
|
@@ -1117,7 +1088,6 @@
|
|
|
1117
1088
|
this.$showMessage(res.data.msg)
|
|
1118
1089
|
}
|
|
1119
1090
|
}
|
|
1120
|
-
//}
|
|
1121
1091
|
},
|
|
1122
1092
|
// 失去焦点出触发事件
|
|
1123
1093
|
async 'check'(index) {
|