Commit 68a921f4 authored by 吴冠's avatar 吴冠

11.05

parent cf2aa8a0
......@@ -87,6 +87,10 @@ export default {
},
getDistrict() {
this.$emit('senddistrictId', this.districtId)
},
/* 给id传中文值 */
init(){
}
}
}
......
......@@ -17,13 +17,14 @@
</div>
</div>
</template>
<script>
import {getMessagephone} from '@/common/list.js'
export default {
mounted(){
getMessagephone()
console.log("111111111111")
getMessagephone().then(res => {
this.footList[3].list[0].name=`客服联系电话 : ${res.data.phone}`
this.footList[3].list[1].name=`电子邮箱 : ${res.data.email}`
});
},
data() {
return {
......@@ -54,20 +55,13 @@ import {getMessagephone} from '@/common/list.js'
/* */
{
title: "联系方式",
list: [{name:"客服联系电话 : 13810057696"}, {name:"电子邮箱: 13810057696@139.com"},]
list: [{name:"客服联系电话 : "}, {name:"电子邮箱: "},]
},
]
}
},
mothods:{
async getMessagephone(){
console.log("111111111111")
const {data} = await getMessagephone()
console.log(data)
console.log("111111111111")
this.footList[3].list[0].name=`客服联系电话 : ${data.phone}`
this.footList[3].list[1].name=`电子邮箱 : ${data.email}`
}
}
}
</script>
......
......@@ -1116,11 +1116,32 @@ export default {
this.perfectForm.businessScope = data.businessScope
this.comId = data.id/* 储存公司Id */
this.form.type=data.type
if(this.form.type==1){
this.form.type='采购商'
}else{
this.from.type="供应商"
}
console.log(data.type+'11111111111')
this.comType = data.type /* 采购商或供应商 */
this.proId = data.provinceId
this.citId = data.cityId
this.disId = data.districtId
/* if(this.form.provinceId=this.proId){
this.form.provinceId = sessionStorage.getItem("proName")
}
if(this.form.cityId=this.citId){
this.form.provinceId = sessionStorage.getItem("cityName")
}
if(this.form.districtId=this.disId){
this.form.provinceId = sessionStorage.getItem("disName")
} */
this.adminform.name = data.contacts.userName
this.adminform.idNumber = data.contacts.idNumber
this.adminform.email = data.contacts.email
this.adminform.phonenumber = data.contacts.phoneNumber
for(let item of data.fileList){
item.url=item.fileUrl
item.name=item.fileName
......@@ -1251,6 +1272,10 @@ export default {
var { data, code, msg } = await getPutInfo(perfectForm);
if (code === 200) {
this.$message.success(msg);
/* sessionStorage.setItem("proName",this.form.provinceId)
sessionStorage.setItem("cityName",this.form.cityId)
sessionStorage.setItem("disName",this.form.districtId) */
this.active++;
}else{
this.$message.error(error)
......
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