e55b87b5 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 6e3e34a1 6eed5e65
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-28 15:45:56 4 * @LastEditTime: 2023-08-22 16:58:24
5 --> 5 -->
6 <template> 6 <template>
7 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> 7 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
23 </el-col> 23 </el-col>
24 </el-row> 24 </el-row>
25 25
26 <lb-table :column="tableData.columns" @row-dblclick="handleRowClick" ref="table" @selection-change="handleSelectionChange" :data="tableData.data" 26 <lb-table :column="tableData.columns" @row-dblclick="handleRowClick" ref="table" @selection-change="handleSelectionChange"
27 :data="tableData.data"
27 :pagination="false" 28 :pagination="false"
28 :calcHeight="300"> 29 :calcHeight="300">
29 </lb-table> 30 </lb-table>
...@@ -115,15 +116,20 @@ ...@@ -115,15 +116,20 @@
115 }) 116 })
116 }, 117 },
117 methods: { 118 methods: {
118 //列表初始化
119 /** 119 /**
120 * @description: 列表初始化 120 * @description: 列表初始化
121 * @author: renchao 121 * @author: renchao
122 */ 122 */
123 loadGrid () { 123 loadGrid () {
124 let that = this
124 getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { 125 getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => {
125 if (res.code === 200) { 126 if (res.code === 200) {
126 this.tableData.data = res.result.list; 127 this.tableData.data = res.result.list;
128 this.$nextTick(() => {
129 this.tableData.data.forEach(item => {
130 that.$refs.table.toggleRowSelection(item)
131 })
132 })
127 this.ruleForm.fzrmc = res.result.fzrmc 133 this.ruleForm.fzrmc = res.result.fzrmc
128 this.ruleForm.fzsj = res.result.fzsj 134 this.ruleForm.fzsj = res.result.fzsj
129 this.ruleForm.fzsl = res.result.fzsl 135 this.ruleForm.fzsl = res.result.fzsl
......