flx:修改承包商入场

This commit is contained in:
X_Rian 2024-09-23 18:13:46 +08:00
parent e9f5c7b005
commit dc85cf93b6
5 changed files with 28 additions and 15 deletions

View File

@ -174,7 +174,7 @@ if (process.env.NODE_ENV == "development") {
// axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地 // axios.defaults.baseURL = 'http://192.168.34.221:28888/' //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地 // axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.221:28890/' //郭圣雄本地 // axios.defaults.baseURL = 'http://192.168.34.221:28890/' //郭圣雄本地
axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地 // axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地 // axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
// axios.defaults.baseURL = 'http://182.90.224.237:51234/' //郭圣雄远程 // axios.defaults.baseURL = 'http://182.90.224.237:51234/' //郭圣雄远程
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程 // axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
@ -187,7 +187,7 @@ if (process.env.NODE_ENV == "development") {
// axios.defaults.baseURL = 'http://47.93.215.234:9809/'//鞍钢正式地址(弃用) // axios.defaults.baseURL = 'http://47.93.215.234:9809/'//鞍钢正式地址(弃用)
// axios.defaults.baseURL = 'http://42.180.188.17:9809/' //鞍钢正式地址 // axios.defaults.baseURL = 'http://42.180.188.17:9809/' //鞍钢正式地址
// axios.defaults.baseURL = 'http://47.93.215.234:11211/'//鞍钢测试地址(弃用) // axios.defaults.baseURL = 'http://47.93.215.234:11211/'//鞍钢测试地址(弃用)
// axios.defaults.baseURL = 'http://42.180.188.17:11211/' //鞍钢测试地址 axios.defaults.baseURL = 'http://42.180.188.17:11211/' //鞍钢测试地址
// axios.defaults.baseURL = 'http://8.136.222.164:8808/' //中科安信正式地址 // axios.defaults.baseURL = 'http://8.136.222.164:8808/' //中科安信正式地址
// axios.defaults.baseURL = 'http://1.13.185.209:9820/' //中科佳成正式地址 // axios.defaults.baseURL = 'http://1.13.185.209:9820/' //中科佳成正式地址
// axios.defaults.baseURL = 'http://192.168.9.249:9820/' //四川网城正式地址 // axios.defaults.baseURL = 'http://192.168.9.249:9820/' //四川网城正式地址

View File

@ -2779,10 +2779,13 @@ export default {
} }
const result = { const result = {
...this.replyData, ...this.replyData,
violatorId: this.replyData.violatorId.join(","), // violatorId: this.replyData.violatorId.join(","),
qualityId: valId, qualityId: valId,
createUser: this.userIdInfo, createUser: this.userIdInfo,
} }
if(type == 1 && statusType == 2) {
result.violatorId = this.replyData.violatorId.join(",");
}
console.log("整改提交的表单数据:::", result); console.log("整改提交的表单数据:::", result);
addQualityRectifyRecordApi(result).then((res) => { addQualityRectifyRecordApi(result).then((res) => {
if (res.code == 200) { if (res.code == 200) {

View File

@ -1311,10 +1311,13 @@ loadPersonList(sn) {
} }
const result = { const result = {
...this.replyData, ...this.replyData,
violatorId: this.replyData.violatorId.join(","), // violatorId: this.replyData.violatorId.join(","),
qualityId: valId, qualityId: valId,
createUser: this.userIdInfo, createUser: this.userIdInfo,
} }
if(type == 1 && statusType == 2) {
result.violatorId = this.replyData.violatorId.join(",");
}
console.log('整改提交的表单数据:::', this.replyData); console.log('整改提交的表单数据:::', this.replyData);
addQualityRectifyRecordApi(result).then(res => { addQualityRectifyRecordApi(result).then(res => {
if (res.code == 200) { if (res.code == 200) {

View File

@ -2755,10 +2755,13 @@ export default {
} }
const result = { const result = {
...this.replyData, ...this.replyData,
violatorId: this.replyData.violatorId.join(","), // violatorId: this.replyData.violatorId.join(","),
qualityId: valId, qualityId: valId,
createUser: this.userIdInfo, createUser: this.userIdInfo,
} }
if(type == 1 && statusType == 2) {
result.violatorId = this.replyData.violatorId.join(",");
}
console.log("整改提交的表单数据:::", result); console.log("整改提交的表单数据:::", result);
addSafeQualityRectifyRecordApi(result).then((res) => { addSafeQualityRectifyRecordApi(result).then((res) => {
if (res.code == 200) { if (res.code == 200) {

View File

@ -1311,11 +1311,15 @@ if (this.replyData.violatorId == "" && type == 1 && statusType == 2) {
} }
const result = { const result = {
...this.replyData, ...this.replyData,
violatorId: this.replyData.violatorId.join(","), // violatorId: this.replyData.violatorId.join(","),
qualityId: valId, qualityId: valId,
createUser: this.userIdInfo, createUser: this.userIdInfo,
} }
if(type == 1 && statusType == 2) {
result.violatorId = this.replyData.violatorId.join(",");
}
console.log('整改提交的表单数据:::', this.replyData); console.log('整改提交的表单数据:::', this.replyData);
addSafeQualityRectifyRecordApi(result).then(res => { addSafeQualityRectifyRecordApi(result).then(res => {