feat(jzd,jzx):界址点、线增加无数据暂时页
Showing
3 changed files
with
10 additions
and
5 deletions
| ... | @@ -31,7 +31,6 @@ const mutations = { | ... | @@ -31,7 +31,6 @@ const mutations = { |
| 31 | }, | 31 | }, |
| 32 | // 初始化 | 32 | // 初始化 |
| 33 | INIT_TABS(state) { | 33 | INIT_TABS(state) { |
| 34 | debugger | ||
| 35 | state.openTab = []; | 34 | state.openTab = []; |
| 36 | state.openTab[0] = { route: "/panel", name: "首页" } | 35 | state.openTab[0] = { route: "/panel", name: "首页" } |
| 37 | }, | 36 | }, | ... | ... |
| ... | @@ -16,7 +16,10 @@ | ... | @@ -16,7 +16,10 @@ |
| 16 | <td>界标类型</td> | 16 | <td>界标类型</td> |
| 17 | <td>界址点类型</td> | 17 | <td>界址点类型</td> |
| 18 | </tr> | 18 | </tr> |
| 19 | <tr v-for="(item,index) in jzdlist" :key="index"> | 19 | <tr v-if="jzdlist.length==0"> |
| 20 | <td colspan="7"><span style="color: #b2b2b2;">暂无数据</span></td> | ||
| 21 | </tr> | ||
| 22 | <tr v-for="(item,index) in jzdlist" :key="index" v-else> | ||
| 20 | <td><input type="checkbox" v-model="item.isCheck" @change="changeAll"/></td> | 23 | <td><input type="checkbox" v-model="item.isCheck" @change="changeAll"/></td> |
| 21 | <td><input type="text" class="formInput" v-model="item.jzdh" readonly="readonly"/></td> | 24 | <td><input type="text" class="formInput" v-model="item.jzdh" readonly="readonly"/></td> |
| 22 | <td><input type="text" class="formInput" v-model="item.sxh" readonly="readonly"/></td> | 25 | <td><input type="text" class="formInput" v-model="item.sxh" readonly="readonly"/></td> |
| ... | @@ -97,7 +100,7 @@ | ... | @@ -97,7 +100,7 @@ |
| 97 | props: {}, | 100 | props: {}, |
| 98 | data() { | 101 | data() { |
| 99 | return { | 102 | return { |
| 100 | bsm:'', | 103 | bsm: '', |
| 101 | isCheckAll: false, | 104 | isCheckAll: false, |
| 102 | centerDialogVisible: false, | 105 | centerDialogVisible: false, |
| 103 | jblx: [ | 106 | jblx: [ |
| ... | @@ -171,7 +174,7 @@ | ... | @@ -171,7 +174,7 @@ |
| 171 | res.result[i]['iszb'] = 'readonly'; | 174 | res.result[i]['iszb'] = 'readonly'; |
| 172 | res.result[i]['jzdisdisabled'] = true; | 175 | res.result[i]['jzdisdisabled'] = true; |
| 173 | } | 176 | } |
| 174 | this.isCheckAll=false; | 177 | this.isCheckAll = false; |
| 175 | this.jzdlist = res.result; | 178 | this.jzdlist = res.result; |
| 176 | }) | 179 | }) |
| 177 | }, | 180 | }, | ... | ... |
| ... | @@ -17,7 +17,10 @@ | ... | @@ -17,7 +17,10 @@ |
| 17 | <td>界限性质</td> | 17 | <td>界限性质</td> |
| 18 | <td>说明</td> | 18 | <td>说明</td> |
| 19 | </tr> | 19 | </tr> |
| 20 | <tr v-for="(item,index) in jzxlist" :key="index"> | 20 | <tr v-if="jzxlist.length==0"> |
| 21 | <td colspan="8"><span style="color: #b2b2b2;">暂无数据</span></td> | ||
| 22 | </tr> | ||
| 23 | <tr v-for="(item,index) in jzxlist" :key="index" v-else> | ||
| 21 | <td><input type="checkbox" v-model="item.isCheck" @change="changeAll"/></td> | 24 | <td><input type="checkbox" v-model="item.isCheck" @change="changeAll"/></td> |
| 22 | <td><input type="text" class="formInput" v-model="item.qdh" readonly="readonly"/></td> | 25 | <td><input type="text" class="formInput" v-model="item.qdh" readonly="readonly"/></td> |
| 23 | <td><input type="text" class="formInput" v-model="item.zdh" readonly="readonly"/></td> | 26 | <td><input type="text" class="formInput" v-model="item.zdh" readonly="readonly"/></td> | ... | ... |
-
Please register or sign in to post a comment