Commit 5619739e by 尹亚亭

111

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