Commit 08b2bd03 authored by 远方不远's avatar 远方不远

hy

parent ec5d9c16
...@@ -144,12 +144,12 @@ ...@@ -144,12 +144,12 @@
</div> </div>
<div class=" table-item-jf" v-if="tableData.length>0"> <div class=" table-item-jf" v-if="tableData.length>0">
<el-table :data="tableData" :header-cell-style="{ background:'#F0F3FA'}" element-loading-text="Loading" border highlight-current-row> <el-table :data="tableData" :header-cell-style="{ background:'#F0F3FA'}" element-loading-text="Loading" border highlight-current-row>
<el-table-column type="index" label="序号" width="60"> <el-table-column type="index" label="序号" fixed width="60">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{(pageNum - 1) *20 + scope.$index + 1}}</span> <span>{{(pageNum - 1) *20 + scope.$index + 1}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="公司名称" width="430" > <el-table-column label="公司名称" fixed width="430" >
<template slot-scope="scope"> <template slot-scope="scope">
<div class="renling"> <div class="renling">
<router-link :to="`/enterprise/${encodeStr(scope.row.companyId)}`" tag="a" class="list-titel-a" v-html="scope.row.companyName" ></router-link> <router-link :to="`/enterprise/${encodeStr(scope.row.companyId)}`" tag="a" class="list-titel-a" v-html="scope.row.companyName" ></router-link>
...@@ -599,6 +599,7 @@ export default { ...@@ -599,6 +599,7 @@ export default {
cityIds = [], cityIds = [],
areaIds = []; areaIds = [];
this.domicile = []; this.domicile = [];
console.log(arr);
for (var i in arr) { for (var i in arr) {
if (arr[i].parent) { if (arr[i].parent) {
if (!arr[i].parent.checked) { if (!arr[i].parent.checked) {
...@@ -825,7 +826,7 @@ export default { ...@@ -825,7 +826,7 @@ export default {
delete params.provinceIds delete params.provinceIds
} }
if(data.cityIds.length>0){ if(data.cityIds.length>0){
params['cityIds'] = data.provinceIds; params['cityIds'] = data.cityIds;
}else{ }else{
delete params.cityIds delete params.cityIds
} }
......
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