style:证书领取模块功能得完善
Showing
1 changed file
with
9 additions
and
3 deletions
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> |
... | @@ -114,15 +115,20 @@ | ... | @@ -114,15 +115,20 @@ |
114 | }) | 115 | }) |
115 | }, | 116 | }, |
116 | methods: { | 117 | methods: { |
117 | //列表初始化 | ||
118 | /** | 118 | /** |
119 | * @description: 列表初始化 | 119 | * @description: 列表初始化 |
120 | * @author: renchao | 120 | * @author: renchao |
121 | */ | 121 | */ |
122 | loadGrid () { | 122 | loadGrid () { |
123 | let that = this | ||
123 | getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { | 124 | getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { |
124 | if (res.code === 200) { | 125 | if (res.code === 200) { |
125 | this.tableData.data = res.result.list; | 126 | this.tableData.data = res.result.list; |
127 | this.$nextTick(() => { | ||
128 | this.tableData.data.forEach(item => { | ||
129 | that.$refs.table.toggleRowSelection(item) | ||
130 | }) | ||
131 | }) | ||
126 | this.ruleForm.fzrmc = res.result.fzrmc | 132 | this.ruleForm.fzrmc = res.result.fzrmc |
127 | this.ruleForm.fzsj = res.result.fzsj | 133 | this.ruleForm.fzsj = res.result.fzsj |
128 | this.ruleForm.fzsl = res.result.fzsl | 134 | this.ruleForm.fzsl = res.result.fzsl | ... | ... |
-
Please register or sign in to post a comment