style:发起申请
Showing
17 changed files
with
46 additions
and
43 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 16:02:39 | 4 | * @LastEditTime: 2023-05-25 10:42:50 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -72,9 +72,9 @@ | ... | @@ -72,9 +72,9 @@ |
72 | watch: { | 72 | watch: { |
73 | isRefresh: { | 73 | isRefresh: { |
74 | handler (newVal, oldVal) { | 74 | handler (newVal, oldVal) { |
75 | console.log(newVal, 'newVal'); | ||
76 | if (newVal) this.loadBdcdylist() | 75 | if (newVal) this.loadBdcdylist() |
77 | } | 76 | }, |
77 | immediate: true | ||
78 | } | 78 | } |
79 | }, | 79 | }, |
80 | methods: { | 80 | methods: { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 15:48:34 | 4 | * @LastEditTime: 2023-05-25 10:18:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -90,7 +90,8 @@ | ... | @@ -90,7 +90,8 @@ |
90 | isRefresh: { | 90 | isRefresh: { |
91 | handler (newVal, oldVal) { | 91 | handler (newVal, oldVal) { |
92 | if (newVal) this.loadBdcdylist() | 92 | if (newVal) this.loadBdcdylist() |
93 | } | 93 | }, |
94 | immediate: true | ||
94 | } | 95 | } |
95 | }, | 96 | }, |
96 | methods: { | 97 | methods: { | ... | ... |
... | @@ -35,17 +35,6 @@ export default { | ... | @@ -35,17 +35,6 @@ export default { |
35 | slsq: {} | 35 | slsq: {} |
36 | } | 36 | } |
37 | }, | 37 | }, |
38 | computed: { | ||
39 | ...mapGetters(['isRefresh']) | ||
40 | }, | ||
41 | watch: { | ||
42 | isRefresh: { | ||
43 | handler (newVal, oldVal) { | ||
44 | if (newVal) this.loadBdcdylist() | ||
45 | }, | ||
46 | immediate: true | ||
47 | } | ||
48 | }, | ||
49 | mounted () { | 38 | mounted () { |
50 | this.flowInitParam(); | 39 | this.flowInitParam(); |
51 | }, | 40 | }, | ... | ... |
... | @@ -120,7 +120,8 @@ | ... | @@ -120,7 +120,8 @@ |
120 | } else { | 120 | } else { |
121 | this.$message.error(res.message); | 121 | this.$message.error(res.message); |
122 | } | 122 | } |
123 | }); | 123 | this.$popupCacel() |
124 | }) | ||
124 | }, | 125 | }, |
125 | handleSelectionChange (val) { | 126 | handleSelectionChange (val) { |
126 | val.forEach((item, index) => { | 127 | val.forEach((item, index) => { | ... | ... |
... | @@ -134,7 +134,8 @@ | ... | @@ -134,7 +134,8 @@ |
134 | } else { | 134 | } else { |
135 | this.$alert(res.message); | 135 | this.$alert(res.message); |
136 | } | 136 | } |
137 | }); | 137 | this.$popupCacel() |
138 | }) | ||
138 | }, | 139 | }, |
139 | handleSelectionChange (val) { | 140 | handleSelectionChange (val) { |
140 | val.forEach((item, index) => { | 141 | val.forEach((item, index) => { | ... | ... |
... | @@ -111,7 +111,8 @@ | ... | @@ -111,7 +111,8 @@ |
111 | } else { | 111 | } else { |
112 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
113 | } | 113 | } |
114 | }); | 114 | this.$popupCacel() |
115 | }) | ||
115 | }, | 116 | }, |
116 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
117 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
... | @@ -106,13 +106,13 @@ | ... | @@ -106,13 +106,13 @@ |
106 | if (!this.isJump) { | 106 | if (!this.isJump) { |
107 | this.jump(res.result, this.sqywInfo.djywbm); | 107 | this.jump(res.result, this.sqywInfo.djywbm); |
108 | } else { | 108 | } else { |
109 | this.$popupCacel() | ||
110 | store.dispatch('user/refreshPage', true); | 109 | store.dispatch('user/refreshPage', true); |
111 | } | 110 | } |
112 | } else { | 111 | } else { |
113 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
114 | } | 113 | } |
115 | }); | 114 | this.$popupCacel() |
115 | }) | ||
116 | }, | 116 | }, |
117 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
118 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
... | @@ -119,7 +119,8 @@ | ... | @@ -119,7 +119,8 @@ |
119 | } else { | 119 | } else { |
120 | this.$message.error(res.message); | 120 | this.$message.error(res.message); |
121 | } | 121 | } |
122 | }); | 122 | this.$popupCacel() |
123 | }) | ||
123 | }, | 124 | }, |
124 | handleSelectionChange (val) { | 125 | handleSelectionChange (val) { |
125 | val.forEach((item, index) => { | 126 | val.forEach((item, index) => { | ... | ... |
... | @@ -27,7 +27,7 @@ | ... | @@ -27,7 +27,7 @@ |
27 | </div> | 27 | </div> |
28 | <!-- 表格 --> | 28 | <!-- 表格 --> |
29 | <div class="from-clues-content loadingtext"> | 29 | <div class="from-clues-content loadingtext"> |
30 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | 30 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" |
31 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" | 31 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" |
32 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | 32 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" |
33 | :data="tableData.data"> | 33 | :data="tableData.data"> |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 46 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
47 | import table from "@/utils/mixin/table"; | 47 | import table from "@/utils/mixin/table"; |
48 | import jump from "./mixin/jump"; | 48 | import jump from "./mixin/jump"; |
49 | import { startBusinessFlow, selectZdjbxx} from "@/api/ywbl.js"; | 49 | import { startBusinessFlow, selectZdjbxx } from "@/api/ywbl.js"; |
50 | export default { | 50 | export default { |
51 | mixins: [table, jump], | 51 | mixins: [table, jump], |
52 | props: { | 52 | props: { |
... | @@ -56,12 +56,12 @@ | ... | @@ -56,12 +56,12 @@ |
56 | data () { | 56 | data () { |
57 | return { | 57 | return { |
58 | queryForm: defaultParameters.defaultParameters(), | 58 | queryForm: defaultParameters.defaultParameters(), |
59 | tableData: { | 59 | tableData: { |
60 | total: 0, | 60 | total: 0, |
61 | columns: datas.columns(), | 61 | columns: datas.columns(), |
62 | data: [], | 62 | data: [], |
63 | }, | 63 | }, |
64 | radioVal: "", | 64 | radioVal: "", |
65 | bdcdysz: [], | 65 | bdcdysz: [], |
66 | bsmSqyw: | 66 | bsmSqyw: |
67 | this.sqywInfo.nodetype === "djlx" | 67 | this.sqywInfo.nodetype === "djlx" |
... | @@ -82,19 +82,19 @@ | ... | @@ -82,19 +82,19 @@ |
82 | let { total, records } = res.result; | 82 | let { total, records } = res.result; |
83 | this.tableData.total = total; | 83 | this.tableData.total = total; |
84 | this.tableData.data = records; | 84 | this.tableData.data = records; |
85 | // this.tableData.columns.splice(0, 1,{ | 85 | // this.tableData.columns.splice(0, 1,{ |
86 | // label: '选择', | 86 | // label: '选择', |
87 | // width: '50px', | 87 | // width: '50px', |
88 | // render: (h, scope) => { | 88 | // render: (h, scope) => { |
89 | // return ( | 89 | // return ( |
90 | // <div class="orgColumn"> | 90 | // <div class="orgColumn"> |
91 | // <el-radio v-model={this.radioVal} label={scope.row.bdcdyh}> | 91 | // <el-radio v-model={this.radioVal} label={scope.row.bdcdyh}> |
92 | //   | 92 | //   |
93 | // </el-radio> | 93 | // </el-radio> |
94 | // </div> | 94 | // </div> |
95 | // ) | 95 | // ) |
96 | // } | 96 | // } |
97 | // }) | 97 | // }) |
98 | } | 98 | } |
99 | }); | 99 | }); |
100 | }, | 100 | }, |
... | @@ -124,7 +124,8 @@ | ... | @@ -124,7 +124,8 @@ |
124 | } else { | 124 | } else { |
125 | this.$alert(res.message); | 125 | this.$alert(res.message); |
126 | } | 126 | } |
127 | }); | 127 | this.$popupCacel() |
128 | }) | ||
128 | }, | 129 | }, |
129 | handleSelectionChange (val) { | 130 | handleSelectionChange (val) { |
130 | this.bdcdysz = val; | 131 | this.bdcdysz = val; | ... | ... |
... | @@ -111,7 +111,8 @@ | ... | @@ -111,7 +111,8 @@ |
111 | } else { | 111 | } else { |
112 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
113 | } | 113 | } |
114 | }); | 114 | this.$popupCacel() |
115 | }) | ||
115 | }, | 116 | }, |
116 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
117 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
... | @@ -111,7 +111,8 @@ | ... | @@ -111,7 +111,8 @@ |
111 | } else { | 111 | } else { |
112 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
113 | } | 113 | } |
114 | }); | 114 | this.$popupCacel() |
115 | }) | ||
115 | }, | 116 | }, |
116 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
117 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
... | @@ -111,7 +111,8 @@ | ... | @@ -111,7 +111,8 @@ |
111 | } else { | 111 | } else { |
112 | this.$message.error(res.message); | 112 | this.$message.error(res.message); |
113 | } | 113 | } |
114 | }); | 114 | this.$popupCacel() |
115 | }) | ||
115 | }, | 116 | }, |
116 | handleSelectionChange (val) { | 117 | handleSelectionChange (val) { |
117 | val.forEach((item, index) => { | 118 | val.forEach((item, index) => { | ... | ... |
-
Please register or sign in to post a comment