Commit fbcdd059 authored by danfuman's avatar danfuman

修改

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