Commit fbcdd059 authored by danfuman's avatar danfuman

修改

parent 22f3a24d
......@@ -36,7 +36,7 @@
<el-input type="text" placeholder="请输入" v-model="queryParam.creditCode"></el-input>
</el-form-item>
<div class="popbot">
<div class="wordprimary" @click="toct">前往城投平台寻找客户线索></div>
<div class="wordprimary" style="display: inline-block" @click="toct">前往城投平台寻找客户线索></div>
<div class="btn btn_cancel h32" @click="resetForm('ruleForm')">返回</div>
<div class="btn btn_primary h32" @click="submitForm('ruleForm')">添加</div>
</div>
......@@ -84,8 +84,6 @@
created() {
this.prvinceTree()
this.getDictType()
console.log(this.dialogVisible)
console.log('1111111111')
},
computed: {},
methods:{
......@@ -116,7 +114,7 @@
cityId:'',
districtId:'',
},
this.dialogVisible = false
this.$emit("handleCancel",false)
this.showlist = false
},
getAddr(obj){
......@@ -223,7 +221,7 @@
addCustomer(this.queryParam).then(result=>{
if(result.code == 200){
this.$message.success('添加成功!')
this.dialogVisible = false
this.$emit("handleCancel",false)
this.resetForm('ruleForm')
}else{
this.$message.error(result.msg)
......@@ -234,7 +232,7 @@
});
},
toct(){
this.dialogVisible = false
this.$emit("handleCancel",false)
this.$router.push({path:'/macro/urban'})
},
//输入数字
......
......@@ -182,7 +182,7 @@
</div>
</div>
</div>
<AddCustom :data="data" v-if="data.open"></AddCustom>
<AddCustom :data="data" v-if="data.open" @handleCancel="handleCancel"></AddCustom>
</div>
</template>
......@@ -574,6 +574,9 @@
handleAdd(){
this.data.open=true
},
handleCancel(isshow){
this.data.open=isshow
},
}
}
</script>
......
......@@ -34,8 +34,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://47.104.91.229:9099/prod-api`,//测试
target: `http://localhost`,//测试
target: `http://47.104.91.229:9099/prod-api`,//测试
// target: `http://localhost`,//测试
// target: `http://122.9.160.122:9011`, //线上
// target: `http://192.168.0.165:9098`,//施
// target: `http://192.168.60.6:9098`,//谭
......
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