Commit 03fc6a2c authored by 吴冠's avatar 吴冠

审核后续

parent 470b556c
...@@ -801,6 +801,10 @@ export default { ...@@ -801,6 +801,10 @@ export default {
}; };
return { return {
proId:'',
citId:'',
disId:'',
comType:'',
comId:'', comId:'',
Verification:true, Verification:true,
timer:60, timer:60,
...@@ -1111,6 +1115,10 @@ export default { ...@@ -1111,6 +1115,10 @@ export default {
this.perfectForm.registeredCapital = data.registeredCapital this.perfectForm.registeredCapital = data.registeredCapital
this.perfectForm.businessScope = data.businessScope this.perfectForm.businessScope = data.businessScope
this.comId = data.id/* 储存公司Id */ this.comId = data.id/* 储存公司Id */
this.comType = data.type /* 采购商或供应商 */
this.proId = data.provinceId
this.citId = data.cityId
this.disId = data.districtId
for(let item of data.fileList){ for(let item of data.fileList){
item.url=item.fileUrl item.url=item.fileUrl
item.name=item.fileName item.name=item.fileName
...@@ -1233,7 +1241,11 @@ export default { ...@@ -1233,7 +1241,11 @@ export default {
perfectForm.fileList = file; perfectForm.fileList = file;
/* 如果是审核失败后请求 则请求编辑接口 */ /* 如果是审核失败后请求 则请求编辑接口 */
if(Cookies.get("auditStatus")==1){ if(Cookies.get("auditStatus")==1){
perfectForm.type = this.comType
perfectForm.id = this.comId perfectForm.id = this.comId
perfectForm.provinceId = this.proId
perfectForm.cityId = this.citId
perfectForm.districtId = this.disId
var { data, code, msg } = await getPutInfo(perfectForm); var { data, code, msg } = await getPutInfo(perfectForm);
if (code === 200) { if (code === 200) {
this.$message.success(msg); this.$message.success(msg);
......
...@@ -8,8 +8,8 @@ import requestUrl from '../utils/Domain.js' ...@@ -8,8 +8,8 @@ import requestUrl from '../utils/Domain.js'
// 创建axios实例 // 创建axios实例
const service = axios.create({ const service = axios.create({
baseURL:'http://60.205.251.80:8082/apis', /* baseURL:'http://60.205.251.80:8082/apis', */
/* baseURL: 'http://192.168.3.35:8085/apis', */ baseURL: 'http://192.168.3.35:8085/apis',
timeout: 35000 // 请求超时时间 timeout: 35000 // 请求超时时间
}) })
......
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