Commit f62e0d92 by 尹亚亭

111

parent c76de4d9
......@@ -112,15 +112,16 @@ export default {
{
value: "个体商户",
label: "个体商户"
},
{
value: "个人独资企业",
label: "个人独资企业"
},
{
value: "有限合伙企业",
label: "有限合伙企业"
}
// ,
// {
// value: "个人独资企业",
// label: "个人独资企业"
// },
// {
// value: "有限合伙企业",
// label: "有限合伙企业"
// }
];
this.tissue = [
{
......@@ -142,11 +143,12 @@ export default {
{
value: "个体商户",
label: "个体商户"
},
{
value: "个人独资企业",
label: "个人独资企业"
}
// ,
// {
// value: "个人独资企业",
// label: "个人独资企业"
// }
];
this.tissue = [
{
......@@ -197,7 +199,7 @@ export default {
needNo: "N202002141324bupnr8L",
// needNo: this.$route.query.needNo,
solutionContent: {
bizType: "companyreg_cloud", // 注册类型:
bizType: "esp.companyreg_cloud", // 注册类型:
solution: {
// 公司注册方案
companyName: "", //公司名称
......
......@@ -117,6 +117,7 @@
</template>
<script>
export default {
props: ["no"],
data() {
return {
name: "",
......
......@@ -186,6 +186,7 @@
<script>
import req from "axios";
export default {
props: ["needNo", "solutionNo"],
data() {
return {
name: "",
......@@ -280,13 +281,19 @@ export default {
}
},
created() {
console.log(
"传递过来的needNo:",
this.needNo,
"\nsolutionNo:",
this.solutionNo
);
req
.post(
"/api/web/action/icapi/springBoard",
{
actionType: "getProgrammeInfoByNeedNo",
actionBody: {
needNo: "N202002141324bupnr8L"
needNo: this.needNo
}
},
{
......@@ -297,7 +304,16 @@ export default {
}
)
.then(res => {
console.log("获取详情", res);
console.log("获取详情", res.data);
if (res.data.status == 0) {
let thisMsg = res.data.data.filter((item, index) => {
return item.solutionNo == this.solutionNo;
});
console.log("点击的这条数据:", thisMsg);
} else {
this.$message(res.data.msg);
console.log("获取详情失败", res.data);
}
});
}
};
......
......@@ -424,7 +424,6 @@ export default {
this.notes
);
// this.$emit("companyAddDone", this.passCompanyDialog);
req
.post(
"/api/web/action/icapi/springBoard",
......@@ -434,7 +433,7 @@ export default {
needNo: "N202002141324bupnr8L",
// needNo: this.$route.query.needNo,
solutionContent: {
bizType: "companyreg", // 注册类型:
bizType: "esp.companyreg", // 注册类型:
solution: {
// 公司注册方案
companyName: this.name, //公司名称
......
......@@ -6,10 +6,9 @@
<el-dialog title="公司注册方案" :visible.sync="companyAddDialog" width="60%" center>
<companysub @companyAddDone="closeCompanyAddDialog" />
</el-dialog>
<el-dialog title="公司注册方案" :visible.sync="companyDetailDialog" width="60%" center>
<Companydetail :no="detailsNeedNo" />
<el-dialog title="公司注册方案详情" :visible.sync="companyDetailDialog" width="60%" center>
<Companydetail :needNo="detailsNeedNo" :solutionNo="itemRowNo" />
</el-dialog>
<div class="company-find">
<div class="box">
<div>方案编号:</div>
......@@ -139,10 +138,10 @@
</el-tab-pane>
<el-tab-pane label="云上公司注册" name="2">
<el-dialog title="云上公司注册方案" :visible.sync="cloudCompanyAddDialog" width="60%" center>
<Cloudcompany @cloudAddDone="closeCloudCompanyAddDialog" :no="detailsNeedNo"></Cloudcompany>
<Cloudcompany @cloudAddDone="closeCloudCompanyAddDialog"></Cloudcompany>
</el-dialog>
<el-dialog title="云上公司注册方案" :visible.sync="cloudDetailDialog" width="60%" center>
<clouddetails :no="detailsNeedNo"></clouddetails>
<el-dialog title="云上公司注册方案详情" :visible.sync="cloudDetailDialog" width="60%" center>
<clouddetails :needNo="detailsNeedNo" :solutionNo="itemRowNo"></clouddetails>
</el-dialog>
<div class="company-find">
<div class="box">
......@@ -287,6 +286,7 @@ export default {
},
data() {
return {
itemRowNo: "", // 传递过去的点击的那条数据的方案编号
haveChoosedTab: 1, // 选中的Tab标签的名字,来判定详情是显示 公司详情 或 云公司详情
companyAddDialog: false, // 公司注册对话框
cloudCompanyAddDialog: false, // 云公司注册对话框
......@@ -466,6 +466,7 @@ export default {
toDetails(idx, row) {
console.log(row, "////////////////////////////");
this.detailsNeedNo = row.needNo;
this.itemRowNo = row.solutionNo;
if (this.haveChoosedTab == 1) {
this.companyDetailDialog = 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