Commit f62e0d92 by 尹亚亭

111

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