Commit 663ba86d by 刘泽奇

Merge branch 'channel-access' of gitlab.gongsibao.com:jiangyong/zhichan into channel-access

parents da67a106 62487c0b
...@@ -79,6 +79,7 @@ import req from "axios"; ...@@ -79,6 +79,7 @@ import req from "axios";
export default { export default {
data() { data() {
return { return {
passCloudAddDialog: false,
name: "", name: "",
region: "", region: "",
gardenValue: "", gardenValue: "",
...@@ -175,6 +176,7 @@ export default { ...@@ -175,6 +176,7 @@ export default {
} }
console.log( console.log(
this.passCloudAddDialog,
"按提交按钮的提交前的参数:", "按提交按钮的提交前的参数:",
"注册园区:", "注册园区:",
this.gardenValue, this.gardenValue,
...@@ -185,7 +187,7 @@ export default { ...@@ -185,7 +187,7 @@ export default {
"方案备注:", "方案备注:",
this.notes this.notes
); );
// this.$emit("cloudAddDone", this.passCloudAddDialog);
req req
.post( .post(
"/api/web/action/icapi/springBoard", "/api/web/action/icapi/springBoard",
...@@ -196,20 +198,20 @@ export default { ...@@ -196,20 +198,20 @@ export default {
needNo: this.$route.query.needNo, needNo: this.$route.query.needNo,
solutionContent: { solutionContent: {
bizType: "companyreg_cloud", // 注册类型: bizType: "companyreg_cloud", // 注册类型:
notes: this.notes, // 方案备注
solution: { solution: {
// 公司注册方案 // 公司注册方案
entName: "", //公司名称 companyName: "", //公司名称
province: "", // 注册地区:省 city: "", // 注册地区:省
city: "", // 注册地区:市 area: "", // 注册地区:市
taxpayerType: "", // 纳税人类型 companyCategory: "", // 纳税人类型
entNature: "", // 公司性质 companyType: "", // 公司性质
organizationType: "", // 组织类型 orgType: "", // 组织类型
industry: "", // 从事行业 industryType: "", // 从事行业
businessScope: "", // 经营范围 scope: "", // 经营范围
// 云上公司注册方案 // 云上公司注册方案
regPark: this.gardenValue, // 注册园区 remark: this.notes, // 方案备注
regType: park: this.gardenValue, // 注册园区
registerType:
this.natureValue == "个体商户" this.natureValue == "个体商户"
? "person" ? "person"
: this.natureValue == "个人独资企业" : this.natureValue == "个人独资企业"
...@@ -239,6 +241,7 @@ export default { ...@@ -239,6 +241,7 @@ export default {
this.natureValue = ""; this.natureValue = "";
this.tissueValue = ""; this.tissueValue = "";
this.notes = ""; this.notes = "";
this.$emit("cloudAddDone", this.passCloudAddDialog);
} else { } else {
this.$message("公司注册方案提交失败"); this.$message("公司注册方案提交失败");
} }
......
...@@ -125,6 +125,7 @@ import req from "axios"; ...@@ -125,6 +125,7 @@ import req from "axios";
export default { export default {
data() { data() {
return { return {
passCompanyDialog: false, // 传递到父组件,关闭对话框
name: "", name: "",
cities: [], // 省对应的城市区域集合 实现联动 cities: [], // 省对应的城市区域集合 实现联动
options: [ options: [
...@@ -422,6 +423,7 @@ export default { ...@@ -422,6 +423,7 @@ export default {
"方案备注:", "方案备注:",
this.notes this.notes
); );
this.$emit("companyAddDone", this.passCompanyDialog);
req req
.post( .post(
...@@ -433,20 +435,20 @@ export default { ...@@ -433,20 +435,20 @@ export default {
needNo: this.$route.query.needNo, needNo: this.$route.query.needNo,
solutionContent: { solutionContent: {
bizType: "companyreg", // 注册类型: bizType: "companyreg", // 注册类型:
notes: this.notes, // 方案备注
solution: { solution: {
// 公司注册方案 // 公司注册方案
entName: this.name, //公司名称 companyName: this.name, //公司名称
province: this.region, // 注册地区:省 city: this.region, // 注册地区:省
city: this.value, // 注册地区:市 area: this.value, // 注册地区:市
taxpayerType: this.taxpayerValue, // 纳税人类型 companyCategory: this.taxpayerValue, // 纳税人类型
entNature: this.natureValue, // 公司性质 companyType: this.natureValue, // 公司性质
organizationType: this.tissueValue, // 组织类型 orgType: this.tissueValue, // 组织类型
industry: this.industryValue, // 从事行业 industryType: this.industryValue, // 从事行业
businessScope: this.scope, // 经营范围 scope: this.scope, // 经营范围
remark: this.notes, // 方案备注
// 云上公司注册方案 // 云上公司注册方案
regPark: "", // 注册园区 park: "", // 注册园区
regType: "", // 注册类型 registerType: "", // 注册类型
productType: "" // 产品类型 productType: "" // 产品类型
} }
} }
...@@ -474,6 +476,7 @@ export default { ...@@ -474,6 +476,7 @@ export default {
this.industryValue = ""; this.industryValue = "";
this.scope = ""; this.scope = "";
this.notes = ""; this.notes = "";
// this.$emit("companyAddDone", this.passCompanyDialog);
} else { } else {
this.$message("公司注册方案提交失败"); this.$message("公司注册方案提交失败");
} }
......
...@@ -123,7 +123,11 @@ ...@@ -123,7 +123,11 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table><<<<<<< HEAD
<el-dialog title="公司注册方案" :visible.sync="companyDetailDialog" width="60%" center>
<Companydetail @companyAddDone="closeCompanyAddDialog" />
</el-dialog>=======
>>>>>>> f76e22315d3770da5c3fcd6e691517a2bf887691
</div> </div>
<div class="block"> <div class="block">
<el-pagination <el-pagination
...@@ -138,10 +142,12 @@ ...@@ -138,10 +142,12 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="云上公司注册" name="2"> <el-tab-pane label="云上公司注册" name="2">
<el-dialog title="云上公司注册方案" :visible.sync="cloudCompanyAddDialog" width="60%" center> <el-dialog title="云上公司注册方案" :visible.sync="cloudCompanyAddDialog" width="60%" center>
<<<<<<< HEAD
<Cloudcompany @cloudAddDone="closeCloudCompanyAddDialog"></Cloudcompany>=======
<Cloudcompany></Cloudcompany> <Cloudcompany></Cloudcompany>
</el-dialog> </el-dialog>
<el-dialog title="云上公司注册方案" :visible.sync="cloudDetailDialog" width="60%" center> <el-dialog title="云上公司注册方案" :visible.sync="cloudDetailDialog" width="60%" center>
<Clouddetails :no="detailsNeedNo"></Clouddetails> <Clouddetails :no="detailsNeedNo"></Clouddetails>>>>>>>> f76e22315d3770da5c3fcd6e691517a2bf887691
</el-dialog> </el-dialog>
<div class="company-find"> <div class="company-find">
<div class="box"> <div class="box">
...@@ -456,6 +462,13 @@ export default { ...@@ -456,6 +462,13 @@ export default {
}; };
}, },
methods: { methods: {
closeCompanyAddDialog(childPassedClose) {
console.log(childPassedClose);
this.companyAddDialog = childPassedClose;
},
closeCloudCompanyAddDialog(childPassedClose) {
this.cloudCompanyAddDialog = childPassedClose;
},
addCompany() { addCompany() {
console.log("公司注册--添加--详情--test"); console.log("公司注册--添加--详情--test");
this.companyAddDialog = true; this.companyAddDialog = true;
......
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