Commit f76e2231 by 刘泽奇

123

parent 555a596d
......@@ -6,6 +6,9 @@
<el-dialog title="公司注册方案" :visible.sync="companyAddDialog" width="60%" center>
<companysub />
</el-dialog>
<el-dialog title="公司注册方案" :visible.sync="companyDetailDialog" width="60%" center>
<Companydetail :no="detailsNeedNo"></Companydetail>
</el-dialog>
<div class="company-find">
<div class="box">
<div>方案编号:</div>
......@@ -118,9 +121,6 @@
</template>
</el-table-column>
</el-table>
<el-dialog title="公司注册方案" :visible.sync="companyDetailDialog" width="60%" center>
<Companydetail />
</el-dialog>
</div>
<div class="block">
<el-pagination
......@@ -135,7 +135,10 @@
</el-tab-pane>
<el-tab-pane label="云上公司注册" name="2">
<el-dialog title="云上公司注册方案" :visible.sync="cloudCompanyAddDialog" width="60%" center>
<Cloudcompany />
<Cloudcompany></Cloudcompany>
</el-dialog>
<el-dialog title="云上公司注册方案" :visible.sync="cloudDetailDialog" width="60%" center>
<Clouddetails :no="detailsNeedNo"></Clouddetails>
</el-dialog>
<div class="company-find">
<div class="box">
......@@ -247,9 +250,6 @@
</template>
</el-table-column>
</el-table>
<el-dialog title="云上公司注册方案" :visible.sync="cloudDetailDialog" width="60%" center>
<Clouddetails />
</el-dialog>
</div>
<div class="block">
<el-pagination
......@@ -353,7 +353,6 @@ export default {
value: "广州",
label: "广州"
}
],
scheme: "",
schemeOptions: [
......@@ -443,8 +442,11 @@ export default {
currentPage1: 1,
currentPage2: 1,
cloudData: [],
dataCount: 1
dataCount: 1,
// 获取详情数据
detailsData: {},
baseURL: "",
detailsNeedNo: ""
};
},
methods: {
......@@ -473,7 +475,8 @@ export default {
console.log(idx, row);
},
toDetails(idx, row) {
console.log(row);
console.log(row, "////////////////////////////");
this.detailsNeedNo = row.needNo;
if (this.haveChoosedTab == 1) {
this.companyDetailDialog = true;
}
......@@ -504,18 +507,10 @@ export default {
}
},
getListData() {
let baseURL = "";
if (process.env.NODE_ENV == "development") {
//开发环境
baseURL = "/api/web/action/icapi/springBoard";
} else if (process.env.NODE_ENV == "production") {
//生产环境
baseURL = "/web/action/icapi/springBoard";
}
if (this.activeName == "1") {
req
.post(
baseURL,
this.baseURL,
{
actionType: "getProgrammeListByUser",
actionBody: {
......@@ -526,20 +521,21 @@ export default {
bizType: "companyreg",
orderNo: this.serviceNo || "",
status: this.scheme || "",
entName: this.entName || "",
city: this.city,
taxpayerType: this.taxpayer || "",
organizationType: this.tissue || ""
companyName: this.entName || "",
area: this.city,
companyCategory: this.taxpayer || "",
orgType: this.tissue || ""
}
},
{
headers: {
token: "3260d5a2452441dd93ecc7ecb35f6dc0",
userpin: "39fcf7bc5f6c4e55a1f85d750e37316b"
userpin: "7c00bdd9dde04c59a50a0a45788b9a59"
}
}
)
.then(res => {
console.log(res.data.msg);
console.log(res.data.data);
if (res.data.status == 0) {
let dataList = [];
......@@ -547,17 +543,18 @@ export default {
res.data.data.map((item, index) => {
dataItem.solutionNo = item.solutionNo || "---";
dataItem.orderNo = item.orderNo || "---";
dataItem.needNo = item.needNo || "---";
dataItem.status = item.status || "---";
dataItem.statusName = item.statusName || "---";
dataItem.entName =
item.solutionContent.solution.entName || "---";
item.solutionContent.solution.companyName || "---";
dataItem.organizationType =
item.solutionContent.solution.organizationType || "---";
item.solutionContent.solution.orgType || "---";
dataItem.entNature =
item.solutionContent.solution.entNature || "---";
item.solutionContent.solution.companyType || "---";
dataItem.taxpayerType =
item.solutionContent.solution.taxpayerType || "---";
dataItem.city = item.solutionContent.solution.province || "---";
item.solutionContent.solution.companyCategory || "---";
dataItem.city = item.solutionContent.solution.area || "---";
dataList.push(dataItem);
dataItem = {};
});
......@@ -571,7 +568,7 @@ export default {
} else if (this.activeName == "2") {
req
.post(
baseURL,
this.baseURL,
{
actionType: "getProgrammeListByUser",
actionBody: {
......@@ -579,22 +576,23 @@ export default {
pageSize: "20",
needNo: "",
solutionNo: this.cSchemeNo || "", //方案编号
entName: this.cEntName || "",
companyName: this.cEntName || "",
bizType: "companyreg_cloud",
orderNo: this.cServiceNo || "", //服务单号
status: this.cScheme || "", //方案状态
regPark: this.regPark || "", //注册园区
regType: this.pType || "" //产品类型
park: this.regPark || "", //注册园区
productType: this.pType || "" //产品类型
}
},
{
headers: {
token: "3260d5a2452441dd93ecc7ecb35f6dc0",
userpin: "39fcf7bc5f6c4e55a1f85d750e37316b"
userpin: "7c00bdd9dde04c59a50a0a45788b9a59"
}
}
)
.then(res => {
console.log(res);
console.log(res.data.data);
if (res.data.status == 0) {
let dataList = [];
......@@ -602,12 +600,12 @@ export default {
res.data.data.map((item, index) => {
dataItem.solutionNo = item.solutionNo || "---";
dataItem.orderNo = item.orderNo || "---";
dataItem.needNo = item.needNo || "---";
dataItem.status = item.status || "---";
dataItem.statusName = item.statusName || "---";
dataItem.regPark =
item.solutionContent.solution.regPark || "---";
dataItem.regPark = item.solutionContent.solution.park || "---";
dataItem.regType =
item.solutionContent.solution.regType || "---";
item.solutionContent.solution.registerType || "---";
dataItem.productType =
item.solutionContent.solution.productType || "---";
dataList.push(dataItem);
......@@ -626,6 +624,13 @@ export default {
},
watch: {},
created() {
if (process.env.NODE_ENV == "development") {
//开发环境
this.baseURL = "/api/web/action/icapi/springBoard";
} else if (process.env.NODE_ENV == "production") {
//生产环境
this.baseURL = "/web/action/icapi/springBoard";
}
console.log(JSON.parse(this.$route.query.data));
},
mounted() {
......
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