style:登记薄渲染功能的完善
Showing
12 changed files
with
52 additions
and
64 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-22 09:49:24 | 4 | * @LastEditTime: 2023-10-09 10:50:50 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -63,10 +63,9 @@ | ... | @@ -63,10 +63,9 @@ |
| 63 | } | 63 | } |
| 64 | }); | 64 | }); |
| 65 | if (this.tableData.length < datas.columns().emptycolNum) { | 65 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 66 | this.emptycolNum = | 66 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length |
| 67 | datas.columns().emptycolNum - this.tableData.length; | ||
| 68 | } else { | 67 | } else { |
| 69 | this.emptycolNum = 0; | 68 | this.$refs.djbDetail.emptycolNum = 0 |
| 70 | } | 69 | } |
| 71 | } | 70 | } |
| 72 | }) | 71 | }) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-10-09 10:31:04 | 4 | * @LastEditTime: 2023-10-09 10:44:26 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -57,10 +57,9 @@ | ... | @@ -57,10 +57,9 @@ |
| 57 | item.dybdclx = getDictLeabel(item.dybdclx, "A27"); | 57 | item.dybdclx = getDictLeabel(item.dybdclx, "A27"); |
| 58 | }); | 58 | }); |
| 59 | if (this.tableData.length < datas.columns().emptycolNum) { | 59 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 60 | this.emptycolNum = | 60 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length; |
| 61 | datas.columns().emptycolNum - this.tableData.length; | ||
| 62 | } else { | 61 | } else { |
| 63 | this.emptycolNum = 0; | 62 | this.$refs.djbDetail.emptycolNum = 0 |
| 64 | } | 63 | } |
| 65 | } | 64 | } |
| 66 | }) | 65 | }) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-09-22 09:50:28 | 4 | * @LastEditTime: 2023-10-09 10:44:45 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -53,10 +53,9 @@ | ... | @@ -53,10 +53,9 @@ |
| 53 | item.dybdclx = getDictLeabel(item.dybdclx, "A27"); | 53 | item.dybdclx = getDictLeabel(item.dybdclx, "A27"); |
| 54 | }); | 54 | }); |
| 55 | if (this.tableData.length < datas.columns().emptycolNum) { | 55 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 56 | this.emptycolNum = | 56 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length; |
| 57 | datas.columns().emptycolNum - this.tableData.length; | ||
| 58 | } else { | 57 | } else { |
| 59 | this.emptycolNum = 0; | 58 | this.$refs.djbDetail.emptycolNum = 0 |
| 60 | } | 59 | } |
| 61 | } | 60 | } |
| 62 | }) | 61 | }) | ... | ... |
| ... | @@ -67,12 +67,11 @@ | ... | @@ -67,12 +67,11 @@ |
| 67 | if (res.code === 200) { | 67 | if (res.code === 200) { |
| 68 | this.info = res.result; | 68 | this.info = res.result; |
| 69 | } | 69 | } |
| 70 | }); | 70 | }) |
| 71 | }, | 71 | } |
| 72 | }, | 72 | } |
| 73 | }; | 73 | } |
| 74 | </script> | 74 | </script> |
| 75 | |||
| 76 | <style lang="scss" scoped> | 75 | <style lang="scss" scoped> |
| 77 | .djbfm { | 76 | .djbfm { |
| 78 | width: 100%; | 77 | width: 100%; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-09-22 09:49:44 | 4 | * @LastEditTime: 2023-10-09 10:46:18 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -55,10 +55,9 @@ | ... | @@ -55,10 +55,9 @@ |
| 55 | item.sjlx = getSjlx(item.sjlx); | 55 | item.sjlx = getSjlx(item.sjlx); |
| 56 | }); | 56 | }); |
| 57 | if (this.tableData.length < datas.columns().emptycolNum) { | 57 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 58 | this.emptycolNum = | 58 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length; |
| 59 | datas.columns().emptycolNum - this.tableData.length; | ||
| 60 | } else { | 59 | } else { |
| 61 | this.emptycolNum = 0; | 60 | this.$refs.djbDetail.emptycolNum = 0 |
| 62 | } | 61 | } |
| 63 | } | 62 | } |
| 64 | }) | 63 | }) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-09-22 09:49:31 | 4 | * @LastEditTime: 2023-10-09 10:46:58 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -53,10 +53,9 @@ | ... | @@ -53,10 +53,9 @@ |
| 53 | item.sjlx = getSjlx(item.sjlx); | 53 | item.sjlx = getSjlx(item.sjlx); |
| 54 | }); | 54 | }); |
| 55 | if (this.tableData.length < datas.columns().emptycolNum) { | 55 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 56 | this.emptycolNum = | 56 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length; |
| 57 | datas.columns().emptycolNum - this.tableData.length; | ||
| 58 | } else { | 57 | } else { |
| 59 | this.emptycolNum = 0; | 58 | this.$refs.djbDetail.emptycolNum = 0 |
| 60 | } | 59 | } |
| 61 | } | 60 | } |
| 62 | }) | 61 | }) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-09-22 09:53:54 | 4 | * @LastEditTime: 2023-10-09 10:48:11 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -62,13 +62,12 @@ | ... | @@ -62,13 +62,12 @@ |
| 62 | item.qy = getDictLeabel(item.qy, "A52"); | 62 | item.qy = getDictLeabel(item.qy, "A52"); |
| 63 | }); | 63 | }); |
| 64 | if (this.tableData.length < datas.columns().emptycolNum) { | 64 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 65 | this.emptycolNum = | 65 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length |
| 66 | datas.columns().emptycolNum - this.tableData.length; | ||
| 67 | } else { | 66 | } else { |
| 68 | this.emptycolNum = 0; | 67 | this.$refs.djbDetail.emptycolNum = 0 |
| 69 | } | 68 | } |
| 70 | } | 69 | } |
| 71 | }); | 70 | }) |
| 72 | } | 71 | } |
| 73 | } | 72 | } |
| 74 | } | 73 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-09-22 09:53:31 | 4 | * @LastEditTime: 2023-10-09 10:52:16 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -65,10 +65,9 @@ | ... | @@ -65,10 +65,9 @@ |
| 65 | item.sjlx = getSjlx(item.sjlx); | 65 | item.sjlx = getSjlx(item.sjlx); |
| 66 | }); | 66 | }); |
| 67 | if (this.tableData.length < datas.columns().emptycolNum) { | 67 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 68 | this.emptycolNum = | 68 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length |
| 69 | datas.columns().emptycolNum - this.tableData.length; | ||
| 70 | } else { | 69 | } else { |
| 71 | this.emptycolNum = 0 | 70 | this.$refs.djbDetail.emptycolNum = 0 |
| 72 | } | 71 | } |
| 73 | } | 72 | } |
| 74 | }) | 73 | }) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-09-22 09:53:19 | 4 | * @LastEditTime: 2023-10-09 10:48:55 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -55,16 +55,15 @@ | ... | @@ -55,16 +55,15 @@ |
| 55 | item.sjlx = getSjlx(item.sjlx); | 55 | item.sjlx = getSjlx(item.sjlx); |
| 56 | }); | 56 | }); |
| 57 | if (this.tableData.length < datas.columns().emptycolNum) { | 57 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 58 | this.emptycolNum = | 58 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length |
| 59 | datas.columns().emptycolNum - this.tableData.length; | ||
| 60 | } else { | 59 | } else { |
| 61 | this.emptycolNum = 0; | 60 | this.$refs.djbDetail.emptycolNum = 0 |
| 62 | } | 61 | } |
| 63 | } | 62 | } |
| 64 | }); | 63 | }) |
| 65 | } | 64 | } |
| 66 | }, | 65 | } |
| 67 | }; | 66 | } |
| 68 | </script> | 67 | </script> |
| 69 | 68 | ||
| 70 | <style lang="scss" scoped> | 69 | <style lang="scss" scoped> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-09-18 13:06:42 | 4 | * @LastEditTime: 2023-10-09 10:54:12 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -63,10 +63,9 @@ | ... | @@ -63,10 +63,9 @@ |
| 63 | item.sjlx = getSjlx(item.sjlx); | 63 | item.sjlx = getSjlx(item.sjlx); |
| 64 | }); | 64 | }); |
| 65 | if (this.tableData.length < datas.columns().emptycolNum) { | 65 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 66 | this.emptycolNum = | 66 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length |
| 67 | datas.columns().emptycolNum - this.tableData.length; | ||
| 68 | } else { | 67 | } else { |
| 69 | this.emptycolNum = 0; | 68 | this.$refs.djbDetail.emptycolNum = 0 |
| 70 | } | 69 | } |
| 71 | } | 70 | } |
| 72 | }) | 71 | }) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-09-22 09:52:50 | 4 | * @LastEditTime: 2023-10-09 10:49:37 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -57,10 +57,9 @@ | ... | @@ -57,10 +57,9 @@ |
| 57 | item.dybdclx = getDictLeabel(item.dybdclx, "A27"); | 57 | item.dybdclx = getDictLeabel(item.dybdclx, "A27"); |
| 58 | }); | 58 | }); |
| 59 | if (this.tableData.length < datas.columns().emptycolNum) { | 59 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 60 | this.emptycolNum = | 60 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length |
| 61 | datas.columns().emptycolNum - this.tableData.length; | ||
| 62 | } else { | 61 | } else { |
| 63 | this.emptycolNum = 0 | 62 | this.$refs.djbDetail.emptycolNum = 0 |
| 64 | } | 63 | } |
| 65 | } | 64 | } |
| 66 | }) | 65 | }) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-09-22 09:52:37 | 4 | * @LastEditTime: 2023-10-09 10:53:14 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| 8 | <djbDetail :title="title" :shows="shows" :propsParam="propsParam" | 8 | <djbDetail :title="title" ref="djbDetail" :shows="shows" :propsParam="propsParam" |
| 9 | :columns="columns" :tableData="tableData" /> | 9 | :columns="columns" :tableData="tableData" /> |
| 10 | </div> | 10 | </div> |
| 11 | </template> | 11 | </template> |
| ... | @@ -56,10 +56,9 @@ | ... | @@ -56,10 +56,9 @@ |
| 56 | item.dybdclx = getDictLeabel(item.dybdclx, "A27"); | 56 | item.dybdclx = getDictLeabel(item.dybdclx, "A27"); |
| 57 | }); | 57 | }); |
| 58 | if (this.tableData.length < datas.columns().emptycolNum) { | 58 | if (this.tableData.length < datas.columns().emptycolNum) { |
| 59 | this.emptycolNum = | 59 | this.$refs.djbDetail.emptycolNum = datas.columns().emptycolNum - this.tableData.length |
| 60 | datas.columns().emptycolNum - this.tableData.length; | ||
| 61 | } else { | 60 | } else { |
| 62 | this.emptycolNum = 0; | 61 | this.$refs.djbDetail.emptycolNum = 0 |
| 63 | } | 62 | } |
| 64 | } | 63 | } |
| 65 | }) | 64 | }) | ... | ... |
-
Please register or sign in to post a comment