sale-client 3.4.156 → 3.4.157

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/package.json +1 -1
  2. package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -1
  3. package/src/components/charge/ChargeOper.vue +230 -230
  4. package/src/components/meterBook/MeterManger.vue +61 -61
  5. package/src/components/revenue/HandManager/MeterBookList.vue +488 -488
  6. package/src/components/revenue/HandManager/MeterBookUser.vue +722 -722
  7. package/src/components/revenue/HandManager/OverdueSet.vue +45 -45
  8. package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +348 -348
  9. package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +407 -407
  10. package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +638 -638
  11. package/src/components/revenue/comprehen/handAudit/MeterReadAudit.vue +342 -342
  12. package/src/filiale/{weinan → WEINAN}/AutomaticPurse.vue +0 -0
  13. package/src/filiale/{weinan → WEINAN}/CardList.vue +0 -0
  14. package/src/filiale/{weinan → WEINAN}/CardMeterCenter.vue +0 -0
  15. package/src/filiale/{weinan → WEINAN}/CardMeterChargeCancel.vue +0 -0
  16. package/src/filiale/{weinan → WEINAN}/ChangeMeter.vue +0 -0
  17. package/src/filiale/{weinan → WEINAN}/ChargeList.vue +0 -0
  18. package/src/filiale/{weinan → WEINAN}/ChargeManageNew.vue +0 -0
  19. package/src/filiale/{weinan → WEINAN}/ChargeQueryUser.vue +0 -0
  20. package/src/filiale/{weinan → WEINAN}/ChargeRecordQuery.vue +0 -0
  21. package/src/filiale/{weinan → WEINAN}/DisableManage.vue +0 -0
  22. package/src/filiale/{weinan → WEINAN}/EnableManage.vue +0 -0
  23. package/src/filiale/{weinan → WEINAN}/FileAddressManage.vue +0 -0
  24. package/src/filiale/{weinan → WEINAN}/FileUserAddress.vue +0 -0
  25. package/src/filiale/{weinan → WEINAN}/HighMeter.vue +0 -0
  26. package/src/filiale/{weinan → WEINAN}/IOTMeterCenter.vue +0 -0
  27. package/src/filiale/{weinan → WEINAN}/MachineMeterCenter.vue +0 -0
  28. package/src/filiale/{weinan → WEINAN}/MeterMessage.vue +0 -0
  29. package/src/filiale/{weinan → WEINAN}/MeterinfoTest.vue +0 -0
  30. package/src/filiale/{weinan → WEINAN}/OffGasAddGas.vue +0 -0
  31. package/src/filiale/{weinan → WEINAN}/OtherGas.vue +0 -0
  32. package/src/filiale/{weinan → WEINAN}/OverUseCharge.vue +0 -0
  33. package/src/filiale/{weinan → WEINAN}/RecordCancel.vue +0 -0
  34. package/src/filiale/{weinan → WEINAN}/RecordQueryUser.vue +0 -0
  35. package/src/filiale/{weinan → WEINAN}/ReplaceCardManage.vue +0 -0
  36. package/src/filiale/{weinan → WEINAN}/ShowCardSellGas.vue +0 -0
  37. package/src/filiale/{weinan → WEINAN}/Stairinfo.vue +0 -0
  38. package/src/filiale/{weinan → WEINAN}/TransferManage.vue +0 -0
  39. package/src/filiale/{weinan → WEINAN}/UserBaseInfoNew.vue +0 -0
  40. package/src/filiale/{weinan → WEINAN}/UserEssentialInfoTest.vue +0 -0
  41. package/src/filiale/{weinan → WEINAN}/UserGeneralInfoTest.vue +0 -0
  42. package/src/filiale/{weinan → WEINAN}/UserInfoDetailManageNew.vue +0 -0
  43. package/src/filiale/{weinan → WEINAN}/Userinfo.vue +0 -0
  44. package/src/filiale/{weinan → WEINAN}/gasmove.vue +0 -0
  45. package/src/filiale/{weinan → WEINAN}/meterinfodetail.vue +0 -0
  46. package/src/filiale/{weinan → WEINAN}/plugins/FileManageService.js +0 -0
  47. package/src/filiale/{weinan → WEINAN}/plugins/getTimeService.js +0 -0
  48. package/src/filiale/{weinan → WEINAN}/sale.js +0 -0
  49. package/src/filiale/{weinan → WEINAN}/sale.js~Stashed changes +0 -0
  50. package/src/filiale/{weinan → WEINAN}/static/mainicon//347/237/251/345/275/2421828.png +0 -0
  51. package/src/filiale/qianneng/CardList.vue +490 -490
  52. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +994 -994
  53. package/src/filiale/qianneng/FilesManage/UserEssentialInfoTest.vue +322 -322
  54. package/src/filiale/qianneng/FilesManageNew/UserEssentialInfoTest.vue +318 -318
  55. package/src/filiale/qianneng/MeterMessage.vue +192 -192
  56. package/src/filiale/qianneng/machine/MachineMeterCenter.vue +730 -730
  57. package/src/filiale/qianneng/revenue/ChargeManage.vue +306 -306
  58. package/src/filiale/qianneng/revenue/comprehen/closeaccount/Batchmanage.vue +58 -58
  59. package/src/filiale/qianneng/sale.js +49 -49
  60. package/src/filiale/zhongyi/ChargeRecordQuery.vue +100 -0
  61. package/src/filiale/zhongyi/refund/IOTRefund.vue +244 -0
  62. package/src/filiale/zhongyi/refund/RefundManage.vue +28 -0
  63. package/src/filiale/zhongyi/refund/machineRefund.vue +200 -0
  64. package/src/filiale/zhongyi/sale.js +5 -1
  65. package/src/main.js +23 -23
  66. package/yarn-error.log +8859 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.4.156",
3
+ "version": "3.4.157",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -388,7 +388,7 @@ export default {
388
388
  this.data.baseinfo.base.f_cost_type = this.data.baseinfo.base.f_cost_type ? [this.data.baseinfo.base.f_cost_type] : '现金缴费'
389
389
  this.data.baseinfo.base.f_bz_type = this.data.baseinfo.base.f_bz_type ? [this.data.baseinfo.base.f_bz_type] : ''
390
390
 
391
- this.data.baseinfo.base.f_paper_type = this.data.baseinfo.base.f_paper_type ? [this.data.baseinfo.base.f_paper_type] : '国税发票'
391
+ this.data.baseinfo.base.f_paper_type = this.data.baseinfo.base.f_paper_type ? [this.data.baseinfo.base.f_paper_type] : '电子发票'
392
392
  this.data.baseinfo.bank.f_bank_name = this.data.baseinfo.bank.f_bank_name ? [this.data.baseinfo.bank.f_bank_name] : '中国银行'
393
393
  this.data.baseinfo.base.f_people_num = this.data.baseinfo.base.f_people_num ? this.data.baseinfo.base.f_people_num : (this.peopleNum ? this.peopleNum : 0)
394
394
 
@@ -1,230 +1,230 @@
1
- <template>
2
- <div class="form-inline" style="height: auto">
3
- <div class="form-group" v-for="btn in operBtns">
4
- <button :id="btn.name" type="button" :style="btn.name=='其他欠费' ?'color:red':'color:black'" :class="[($index === 0) ? 'btn btn-click' : 'btn btn-un-click']" @click="business(btn)" :disabled="noButton" ><span :style="btn.name=='其他欠费' ?'color:red':'color:black'">{{btn.name}}</span></button>
5
-
6
- </div>
7
- </div>
8
- <div v-show="isBusiness" style="height: auto" class="select-overspread">
9
- <route v-ref:route></route>
10
- </div>
11
- </template>
12
-
13
- <script>
14
- import { HttpResetClass } from 'vue-client'
15
- let getNewmetermsg = async function (self, row) {
16
- if (row.f_userfiles_id && row.f_userfiles_id.length > 0) {
17
- // 获取用户信息
18
- let getUser = await self.$resetpost('rs/sql/sale_getUser', {
19
- data: {
20
- condition: `u.f_userfiles_id='${row.f_userfiles_id}' `,
21
- orderitem: `u.f_userfiles_id Desc`
22
- }
23
- }, {resolveMsg: '读卡新的用户成功', rejectMsg: '读卡新的用户失败'})
24
- if (getUser.data.length > 0) {
25
- await self.$showAlert('换表成功', 'success', 200)
26
- self.data = getUser.data[0]
27
- }
28
- }
29
- }
30
- let getBtnsGen = async function (self) {
31
- let http = new HttpResetClass()
32
- let param = {
33
- f_userfiles_id: self.data.f_userfiles_id
34
- }
35
- if (self.cardInfo) {
36
- param.cardInfo = self.cardInfo
37
- }
38
- let res = await http.load('POST', 'rs/logic/getOperBtns', {
39
- data: param
40
- }, {
41
- resolveMsg: null,
42
- rejectMsg: '获取业务按钮失败!!'
43
- })
44
- let getBtns = res.data
45
- console.log('获取的业务按钮', getBtns)
46
- console.log('有没有用户信息', self.data)
47
- if (self.$login.r.length === 0) {
48
- self.$showAlert('您没有相关的业务操作权限, 请联系管理员!!', 'warning', 2000)
49
- } else {
50
- self.temp = []
51
- for (let i = 0; i < getBtns.length; i++) {
52
- if (self.$login.r.includes(getBtns[i].name)) {
53
- // 进行权限验证
54
- self.temp.push(getBtns[i])
55
- }
56
- }
57
- // 如果有未写卡记录,添加线下写卡按钮
58
- if (self.data.unWriteSell) {
59
- if (self.data.unWriteSell.length > 0) {
60
- self.temp.push({name: '线下写卡',
61
- value: {
62
- 'weight': 0,
63
- 'routeName': 'un-write-card-center'
64
- }})
65
- }
66
- }
67
- if (self.data.f_user_nature == '单位') {
68
- self.temp.push({name: '维管收费',
69
- value: {
70
- 'weight': 5,
71
- 'routeName': 'repair-charge'
72
- }})
73
- }
74
- if (self.data.f_meter_type == '物联网表') {
75
- if (self.data.f_hascard == '是') {
76
- if (self.data.f_whether_hairpin == '未发') {
77
- if(self.data.f_share_times != '' && self.data.f_share_times == '是' && self.data.f_times>0){
78
- self.temp.push({
79
- name: '补卡',
80
- value: {
81
- 'weight': 2,
82
- 'routeName': 'replace-card-manage'
83
- }
84
- })
85
- }else{
86
- }
87
-
88
- }
89
- }
90
- }
91
- // 如果卡上有气,添加购气撤销按钮
92
- if (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase == '是')) {
93
- self.temp.push({name: '购气撤销',
94
- value: {
95
- 'weight': 0,
96
- 'routeName': 'card-meter-charge-cancel'
97
- }})
98
- }
99
- /* // 如果是预备户,删除发卡售气按钮
100
- if (self.data.f_user_state == '预备') {
101
- self.temp.splice(self.temp.findIndex(item => item.name === '发卡售气'), 1)
102
- } */
103
-
104
- // 根据权重将业务按钮排序
105
- self.operBtns = self.temp.sort((a, b) => {
106
- return a.value.weight - b.value.weight
107
- })
108
-
109
- // 当有调价补差时,只展示调价补差按钮
110
- let adjustSenders = self.operBtns.find((row) => {
111
- return row.name == '调价补差'
112
- })
113
- if (adjustSenders) {
114
- self.operBtns = []
115
- self.operBtns.push(adjustSenders)
116
- }
117
-
118
- if (self.operBtns.length > 0) {
119
- self.isBusiness = true
120
- self.$refs.route.init(self.operBtns[0].value.routeName, {row: self.data, cardData: self.cardInfo})
121
- self.styleChange(self.operBtns[0])
122
- }
123
- }
124
- }
125
-
126
- export default {
127
- title: '业务操作',
128
- data () {
129
- return {
130
- operBtns: [],
131
- isBusiness: false,
132
- noButton: false // 业务请求时禁止按钮点击
133
- }
134
- },
135
- props: ['data', 'cardInfo'],
136
- ready () {
137
- getBtnsGen(this)
138
- console.log('data,cardInfo', this.data, this.cardInfo)
139
-
140
- },
141
- methods: {
142
- business (btn) {
143
- // // 处理按钮样式
144
- // this.styleChange(btn.name)
145
- // this.isBusiness = true
146
- // this.$refs.route.init(btn.value.routeName, {row: this.data, cardData: this.cardInfo})
147
- if(this.$refs.route.cards.length>0){
148
- if(this.$refs.route.cards[0].title == '增值服务管理'){
149
- this.$showMessage('切换页面后,当前页面数据会丢失,是否切换?',['confirm','cancel']).then(res=>{
150
- if(res == 'cancel'){
151
- return;
152
- }else{
153
- // 处理按钮样式
154
- this.styleChange(btn.name)
155
- this.isBusiness = true
156
- this.$refs.route.init(btn.value.routeName, {row: this.data, cardData: this.cardInfo})
157
- }
158
- })
159
- }else{
160
- // 处理按钮样式
161
- this.styleChange(btn.name)
162
- this.isBusiness = true
163
- this.$refs.route.init(btn.value.routeName, {row: this.data, cardData: this.cardInfo})
164
- }
165
- }
166
- },
167
-
168
- styleChange (name) {
169
- this.operBtns.forEach((res) => {
170
- if (res.name === name) {
171
- if (document.getElementById(res.name)) {
172
- document.getElementById(res.name).style.backgroundColor = '#6aa6e2'
173
- document.getElementById(res.name).style.color = 'white'
174
- }
175
- } else {
176
- if (document.getElementById(res.name)) {
177
- document.getElementById(res.name).style.backgroundColor = 'white'
178
- document.getElementById(res.name).style.color = 'black'
179
- }
180
- }
181
- })
182
- }
183
- },
184
- watch: {
185
- 'data' () {
186
- getBtnsGen(this)
187
- }
188
- },
189
- events: {
190
- 'no-button' () {
191
- this.noButton = true
192
- },
193
- 'has-button' () {
194
- this.noButton = false
195
- },
196
- 'get-new-row' (row) {
197
- console.log('xxxxxx', row)
198
- // 发生换表成功
199
- getNewmetermsg(this, row)
200
- },
201
- 'button-specifies' (buttonObj, data) {
202
- console.log('指定按钮。。', buttonObj)
203
- // buttonObj 格式: {name:'机表收费', value: 'machine-meter-center'}
204
- if (buttonObj) {
205
- this.styleChange(buttonObj.name)
206
- this.$refs.route.init(buttonObj.value, {row: data})
207
- }
208
- }
209
- }
210
- }
211
- </script>
212
-
213
- <style scoped>
214
-
215
- .btn-click{
216
- background-color: #6aa6e2;
217
- border-radius: 5px;
218
- color: white;
219
- /*border-color: black;*/
220
- border: solid 1px #c7c7c7;
221
- }
222
-
223
- .btn-un-click{
224
- background-color: white;
225
- border-radius: 5px;
226
- color: black;
227
- /*border-color: black;*/
228
- border: solid 1px #c7c7c7;
229
- }
230
- </style>
1
+ <template>
2
+ <div class="form-inline" style="height: auto">
3
+ <div class="form-group" v-for="btn in operBtns">
4
+ <button :id="btn.name" type="button" :style="btn.name=='其他欠费' ?'color:red':'color:black'" :class="[($index === 0) ? 'btn btn-click' : 'btn btn-un-click']" @click="business(btn)" :disabled="noButton" ><span :style="btn.name=='其他欠费' ?'color:red':'color:black'">{{btn.name}}</span></button>
5
+
6
+ </div>
7
+ </div>
8
+ <div v-show="isBusiness" style="height: auto" class="select-overspread">
9
+ <route v-ref:route></route>
10
+ </div>
11
+ </template>
12
+
13
+ <script>
14
+ import { HttpResetClass } from 'vue-client'
15
+ let getNewmetermsg = async function (self, row) {
16
+ if (row.f_userfiles_id && row.f_userfiles_id.length > 0) {
17
+ // 获取用户信息
18
+ let getUser = await self.$resetpost('rs/sql/sale_getUser', {
19
+ data: {
20
+ condition: `u.f_userfiles_id='${row.f_userfiles_id}' `,
21
+ orderitem: `u.f_userfiles_id Desc`
22
+ }
23
+ }, {resolveMsg: '读卡新的用户成功', rejectMsg: '读卡新的用户失败'})
24
+ if (getUser.data.length > 0) {
25
+ await self.$showAlert('换表成功', 'success', 200)
26
+ self.data = getUser.data[0]
27
+ }
28
+ }
29
+ }
30
+ let getBtnsGen = async function (self) {
31
+ let http = new HttpResetClass()
32
+ let param = {
33
+ f_userfiles_id: self.data.f_userfiles_id
34
+ }
35
+ if (self.cardInfo) {
36
+ param.cardInfo = self.cardInfo
37
+ }
38
+ let res = await http.load('POST', 'rs/logic/getOperBtns', {
39
+ data: param
40
+ }, {
41
+ resolveMsg: null,
42
+ rejectMsg: '获取业务按钮失败!!'
43
+ })
44
+ let getBtns = res.data
45
+ console.log('获取的业务按钮', getBtns)
46
+ console.log('有没有用户信息', self.data)
47
+ if (self.$login.r.length === 0) {
48
+ self.$showAlert('您没有相关的业务操作权限, 请联系管理员!!', 'warning', 2000)
49
+ } else {
50
+ self.temp = []
51
+ for (let i = 0; i < getBtns.length; i++) {
52
+ if (self.$login.r.includes(getBtns[i].name)) {
53
+ // 进行权限验证
54
+ self.temp.push(getBtns[i])
55
+ }
56
+ }
57
+ // 如果有未写卡记录,添加线下写卡按钮
58
+ if (self.data.unWriteSell) {
59
+ if (self.data.unWriteSell.length > 0) {
60
+ self.temp.push({name: '线下写卡',
61
+ value: {
62
+ 'weight': 0,
63
+ 'routeName': 'un-write-card-center'
64
+ }})
65
+ }
66
+ }
67
+ if (self.data.f_user_nature == '单位') {
68
+ self.temp.push({name: '维管收费',
69
+ value: {
70
+ 'weight': 5,
71
+ 'routeName': 'repair-charge'
72
+ }})
73
+ }
74
+ if (self.data.f_meter_type == '物联网表') {
75
+ if (self.data.f_hascard == '是') {
76
+ if (self.data.f_whether_hairpin == '未发') {
77
+ if(self.data.f_share_times != '' && self.data.f_share_times == '是' && self.data.f_times>0){
78
+ self.temp.push({
79
+ name: '补卡',
80
+ value: {
81
+ 'weight': 2,
82
+ 'routeName': 'replace-card-manage'
83
+ }
84
+ })
85
+ }else{
86
+ }
87
+
88
+ }
89
+ }
90
+ }
91
+ // 如果卡上有气,添加购气撤销按钮
92
+ if (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase == '是')) {
93
+ self.temp.push({name: '购气撤销',
94
+ value: {
95
+ 'weight': 0,
96
+ 'routeName': 'card-meter-charge-cancel'
97
+ }})
98
+ }
99
+ /* // 如果是预备户,删除发卡售气按钮
100
+ if (self.data.f_user_state == '预备') {
101
+ self.temp.splice(self.temp.findIndex(item => item.name === '发卡售气'), 1)
102
+ } */
103
+
104
+ // 根据权重将业务按钮排序
105
+ self.operBtns = self.temp.sort((a, b) => {
106
+ return a.value.weight - b.value.weight
107
+ })
108
+
109
+ // 当有调价补差时,只展示调价补差按钮
110
+ let adjustSenders = self.operBtns.find((row) => {
111
+ return row.name == '调价补差'
112
+ })
113
+ if (adjustSenders) {
114
+ self.operBtns = []
115
+ self.operBtns.push(adjustSenders)
116
+ }
117
+
118
+ if (self.operBtns.length > 0) {
119
+ self.isBusiness = true
120
+ self.$refs.route.init(self.operBtns[0].value.routeName, {row: self.data, cardData: self.cardInfo})
121
+ self.styleChange(self.operBtns[0])
122
+ }
123
+ }
124
+ }
125
+
126
+ export default {
127
+ title: '业务操作',
128
+ data () {
129
+ return {
130
+ operBtns: [],
131
+ isBusiness: false,
132
+ noButton: false // 业务请求时禁止按钮点击
133
+ }
134
+ },
135
+ props: ['data', 'cardInfo'],
136
+ ready () {
137
+ getBtnsGen(this)
138
+ console.log('data,cardInfo', this.data, this.cardInfo)
139
+
140
+ },
141
+ methods: {
142
+ business (btn) {
143
+ // // 处理按钮样式
144
+ // this.styleChange(btn.name)
145
+ // this.isBusiness = true
146
+ // this.$refs.route.init(btn.value.routeName, {row: this.data, cardData: this.cardInfo})
147
+ if(this.$refs.route.cards.length>0){
148
+ if(this.$refs.route.cards[0].title == '增值服务管理'){
149
+ this.$showMessage('切换页面后,当前页面数据会丢失,是否切换?',['confirm','cancel']).then(res=>{
150
+ if(res == 'cancel'){
151
+ return;
152
+ }else{
153
+ // 处理按钮样式
154
+ this.styleChange(btn.name)
155
+ this.isBusiness = true
156
+ this.$refs.route.init(btn.value.routeName, {row: this.data, cardData: this.cardInfo})
157
+ }
158
+ })
159
+ }else{
160
+ // 处理按钮样式
161
+ this.styleChange(btn.name)
162
+ this.isBusiness = true
163
+ this.$refs.route.init(btn.value.routeName, {row: this.data, cardData: this.cardInfo})
164
+ }
165
+ }
166
+ },
167
+
168
+ styleChange (name) {
169
+ this.operBtns.forEach((res) => {
170
+ if (res.name === name) {
171
+ if (document.getElementById(res.name)) {
172
+ document.getElementById(res.name).style.backgroundColor = '#6aa6e2'
173
+ document.getElementById(res.name).style.color = 'white'
174
+ }
175
+ } else {
176
+ if (document.getElementById(res.name)) {
177
+ document.getElementById(res.name).style.backgroundColor = 'white'
178
+ document.getElementById(res.name).style.color = 'black'
179
+ }
180
+ }
181
+ })
182
+ }
183
+ },
184
+ watch: {
185
+ 'data' () {
186
+ getBtnsGen(this)
187
+ }
188
+ },
189
+ events: {
190
+ 'no-button' () {
191
+ this.noButton = true
192
+ },
193
+ 'has-button' () {
194
+ this.noButton = false
195
+ },
196
+ 'get-new-row' (row) {
197
+ console.log('xxxxxx', row)
198
+ // 发生换表成功
199
+ getNewmetermsg(this, row)
200
+ },
201
+ 'button-specifies' (buttonObj, data) {
202
+ console.log('指定按钮。。', buttonObj)
203
+ // buttonObj 格式: {name:'机表收费', value: 'machine-meter-center'}
204
+ if (buttonObj) {
205
+ this.styleChange(buttonObj.name)
206
+ this.$refs.route.init(buttonObj.value, {row: data})
207
+ }
208
+ }
209
+ }
210
+ }
211
+ </script>
212
+
213
+ <style scoped>
214
+
215
+ .btn-click{
216
+ background-color: #6aa6e2;
217
+ border-radius: 5px;
218
+ color: white;
219
+ /*border-color: black;*/
220
+ border: solid 1px #c7c7c7;
221
+ }
222
+
223
+ .btn-un-click{
224
+ background-color: white;
225
+ border-radius: 5px;
226
+ color: black;
227
+ /*border-color: black;*/
228
+ border: solid 1px #c7c7c7;
229
+ }
230
+ </style>
@@ -1,61 +1,61 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div :class="{'basic-main':!meterShow,'binary-left':meterShow}">
4
- <meter-list @select-changed="selected" v-ref:arealist :style="style" :f_filialeids.sync="f_filialeids" :refresh="refresh"></meter-list>
5
- </div>
6
- <div v-if="meterShow" style="width: 60%" class="binary-right">
7
- <div class="flex">
8
- <meter-msg v-ref:addareamsg :bookinfo="bookinfo"></meter-msg>
9
- </div>
10
- </div>
11
- <div v-if="addShow" style="width: 60%" class="binary-right">
12
- <div class="flex">
13
- <add-meter-book v-ref:addareamsg :changeinfo="changeinfo" :dowhat="dowhat"></add-meter-book>
14
- </div>
15
- </div>
16
- </div>
17
- </template>
18
-
19
- <script>
20
- export default {
21
- title: '表册管理',
22
- components: {
23
- },
24
- data () {
25
- return {
26
- // 分公司id串
27
- width: '100%',
28
- f_filialeids: this.$login.f.f_orgids,
29
- meterShow: false,
30
- addShow: false,
31
- bookinfo: {},
32
- style: 'col-sm-2 ',
33
- changeinfo: {},
34
- dowhat: '',
35
- refresh: 1
36
- }
37
- },
38
- ready () {
39
-
40
- },
41
- props: {
42
-
43
- },
44
- methods: {
45
- selected (obj) {
46
- this.style = 'col-sm-3 '
47
- this.bookinfo = obj.val
48
- this.dowhat = 'add'
49
- this.meterShow = true
50
- this.addShow = false
51
- },
52
- refresh () {
53
- this.meterShow = false
54
- }
55
- },
56
- events: {
57
-
58
- }
59
- }
60
- </script>
61
-
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div :class="{'basic-main':!meterShow,'binary-left':meterShow}">
4
+ <meter-list @select-changed="selected" v-ref:arealist :style="style" :f_filialeids.sync="f_filialeids" :refresh="refresh"></meter-list>
5
+ </div>
6
+ <div v-if="meterShow" style="width: 60%" class="binary-right">
7
+ <div class="flex">
8
+ <meter-msg v-ref:addareamsg :bookinfo="bookinfo"></meter-msg>
9
+ </div>
10
+ </div>
11
+ <div v-if="addShow" style="width: 60%" class="binary-right">
12
+ <div class="flex">
13
+ <add-meter-book v-ref:addareamsg :changeinfo="changeinfo" :dowhat="dowhat"></add-meter-book>
14
+ </div>
15
+ </div>
16
+ </div>
17
+ </template>
18
+
19
+ <script>
20
+ export default {
21
+ title: '表册管理',
22
+ components: {
23
+ },
24
+ data () {
25
+ return {
26
+ // 分公司id串
27
+ width: '100%',
28
+ f_filialeids: this.$login.f.f_orgids,
29
+ meterShow: false,
30
+ addShow: false,
31
+ bookinfo: {},
32
+ style: 'col-sm-2 ',
33
+ changeinfo: {},
34
+ dowhat: '',
35
+ refresh: 1
36
+ }
37
+ },
38
+ ready () {
39
+
40
+ },
41
+ props: {
42
+
43
+ },
44
+ methods: {
45
+ selected (obj) {
46
+ this.style = 'col-sm-3 '
47
+ this.bookinfo = obj.val
48
+ this.dowhat = 'add'
49
+ this.meterShow = true
50
+ this.addShow = false
51
+ },
52
+ refresh () {
53
+ this.meterShow = false
54
+ }
55
+ },
56
+ events: {
57
+
58
+ }
59
+ }
60
+ </script>
61
+