apply-clients 7.1.36-yuchuan-13 → 7.1.36-yuchuan-16

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 (69) hide show
  1. package/android.html +28 -28
  2. package/build/dev-server.js +10 -28
  3. package/index.html +39 -39
  4. package/package.json +2 -2
  5. package/src/apply.js +1 -0
  6. package/src/applyAndroid.js +97 -97
  7. package/src/components/android/AppSign.vue +0 -1
  8. package/src/components/android/AppUpload.vue +275 -275
  9. package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
  10. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +1 -1
  11. package/src/components/android/Process/AppExplorationUser.vue +2 -2
  12. package/src/components/android/Process/AppServiceControl.vue +6 -6
  13. package/src/components/android/Process/Processes/AppInstallationDetails.vue +2 -2
  14. package/src/components/android/Sign/AppSignTask.vue +1 -1
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +1 -1
  16. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +2 -2
  17. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +2 -2
  18. package/src/components/android/Task/yiban/AppShowDone.vue +2 -2
  19. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  20. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  21. package/src/components/android/newPackage/customerServiceManager.vue +1 -1
  22. package/src/components/android/newPackage/projectPrice.vue +1 -1
  23. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
  24. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  25. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  26. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +2 -2
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +1 -1
  28. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  29. package/src/components/product/ApplyMap/AMapLocation.vue +870 -870
  30. package/src/components/product/ApplyMap/AmapUtil.js +37 -37
  31. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  32. package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -212
  33. package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -82
  34. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  35. package/src/components/product/Function/InstallFunction.vue +1 -1
  36. package/src/components/product/Function/InstallInfoSelect.vue +2 -2
  37. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  38. package/src/components/product/GongJianPush/ApplyPushList.vue +191 -191
  39. package/src/components/product/GongJianPush/ApplyPushManage.vue +91 -91
  40. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  41. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  42. package/src/components/product/List/OldShowDevices.vue +2 -2
  43. package/src/components/product/List/ShowAllActivity.vue +2 -2
  44. package/src/components/product/List/ShowDevices.vue +2 -2
  45. package/src/components/product/Process/ExplorationSelect.vue +2 -2
  46. package/src/components/product/Process/ExplorationUser.vue +1 -1
  47. package/src/components/product/Process/New1ExplorationUser.vue +2 -2
  48. package/src/components/product/Process/NewExplorationSelect.vue +2 -2
  49. package/src/components/product/Process/NewExplorationUser.vue +1 -1
  50. package/src/components/product/Process/Processes/InstallationDetails.vue +4 -4
  51. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  52. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  53. package/src/components/product/Process/Processes/chargeManagement.vue +704 -704
  54. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  55. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  56. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +2 -2
  57. package/src/components/product/Process/Processes/selectOldUserinfo.vue +2 -2
  58. package/src/components/product/Process/Processes/selectUserinfo.vue +3 -3
  59. package/src/components/product/Process/Service/ServiceControl.vue +6 -6
  60. package/src/components/product/ServiceView.vue +644 -644
  61. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  62. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +1 -1
  63. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  64. package/src/components/product/Supervisory/SupervisoryList.vue +2 -2
  65. package/src/components/product/Supervisory/SupervisoryhCart.vue +119 -119
  66. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +2 -2
  67. package/src/components/product/VueUtils/ApplyUpload.vue +285 -294
  68. package/src/components/product/records/AdjustmentRecordList.vue +162 -162
  69. package/src/main.js +27 -27
@@ -1,191 +1,191 @@
1
- <template>
2
- <criteria-paged :model="model" v-ref:paged>
3
- <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.searchCondition'>
4
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
5
- <div class="col-sm-2">
6
- <label class="font_normal_body">客户名称</label>
7
- <input type="text" class="input_search" style="width:60%"
8
- v-model="model.f_user_name"
9
- placeholder='客户名称'
10
- :size="model.f_user_name ? model.f_user_name.length : 6"
11
- condition="f_user_name like '%{}%'">
12
- </div>
13
- <div class="col-sm-2">
14
- <label class="font_normal_body">工程编号</label>
15
- <input type="text" class="input_search" style="width:60%"
16
- v-model="model.f_project_code"
17
- placeholder='工程编号'
18
- :size="model.f_project_code ? model.f_project_code.length : 10"
19
- condition="f_project_code like '%{}%'">
20
- </div>
21
- <div class="col-sm-2">
22
- <label class="font_normal_body">联系电话</label>
23
- <input type="text" class="input_search" style="width:60%"
24
- v-model="model.f_phone"
25
- placeholder='联系电话'
26
- :size="model.f_phone ? model.f_phone.length : 11"
27
- condition="f_phone like '%{}%'">
28
- </div>
29
- <div class="col-sm-2">
30
- <label class="font_normal_body">用户地址</label>
31
- <input type="text" class="input_search" style="width:60%"
32
- v-model="model.f_project_address"
33
- placeholder='用户地址'
34
- :size="model.f_project_address ? model.f_project_address.length : 11"
35
- condition="f_project_address like '%{}%'">
36
- </div>
37
- <div class="col-sm-2">
38
- <label class="font_normal_body">报建类型</label>
39
- <v-select :value.sync="model.f_apply_type" v-model="model.f_apply_type"
40
- placeholder='报建类型'
41
- value-single="true"
42
- :options='$parent.$parent.applyType'
43
- close-on-select
44
- condition="f_apply_type = '{}'"
45
- ></v-select>
46
- </div>
47
- <div class="col-sm-2">
48
- <label class="font_normal_body">报建来源</label>
49
- <v-select :value.sync="model.f_apply_source" v-model="model.f_apply_source"
50
- placeholder='报建来源'
51
- value-single="true"
52
- :options='$parent.$parent.applySource'
53
- close-on-select
54
- condition="f_apply_source = '{}'"
55
- ></v-select>
56
- </div>
57
- <div class="col-sm-2">
58
- <label class="font_normal_body">状态</label>
59
- <v-select :value.sync="model.f_process_state" v-model="model.f_process_state"
60
- placeholder='状态'
61
- value-single="true"
62
- :options='$parent.$parent.processState'
63
- close-on-select
64
- condition="f_process_state = '{}'"
65
- ></v-select>
66
- </div>
67
- <div class="form-group col-sm-2">
68
- <label for="startDate" class="font_normal_body">开始时间</label>
69
- <datepicker id="startDate" placeholder="开始日期"
70
- style="width: 60%!important;"
71
- v-model="model.startDate"
72
- :value.sync="model.startDate"
73
- :format="'yyyy-MM-dd 00:00:00'"
74
- :show-reset-button="true"
75
- condition="f_orderdate >= '{}'">
76
- </datepicker>
77
- </div>
78
- <div class="form-group col-sm-2">
79
- <label for="endDate" class="font_normal_body">结束时间</label>
80
- <datepicker id="endDate" placeholder="结束日期"
81
- style="width: 60%!important;"
82
- v-model="model.endDate"
83
- :value.sync="model.endDate"
84
- :format="'yyyy-MM-dd 23:59:59'"
85
- :show-reset-button="true"
86
- condition="f_orderdate <= '{}'">
87
- </datepicker>
88
- </div>
89
- <div class="col-sm-2 form-group" style="float:right">
90
- <button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
91
- <button class="button_search button_spacing" @click="$parent.$parent.clearmsg">清空</button>
92
- <button class="button_search button_spacing" @click="$parent.$parent.idsearch()" v-el:cba>新增</button>
93
- </div>
94
- </div>
95
- </criteria>
96
- <data-grid :model="model"
97
- partial='list'
98
- style="overflow: auto"
99
- class="list_area table_sy"
100
- v-ref:grid >
101
- <template partial='head'>
102
- <tr>
103
- <th style="text-align:center"><nobr>工程编号</nobr></th>
104
- <th style="text-align:center"><nobr>客户名称</nobr></th>
105
- <th style="text-align:center"><nobr>电话</nobr></th>
106
- <th style="text-align:center"><nobr>地址</nobr></th>
107
- <th style="text-align:center"><nobr>来源</nobr></th>
108
- <th style="text-align:center"><nobr>状态</nobr></th>
109
- <th style="text-align:center"><nobr>报建类型</nobr></th>
110
- <th style="text-align:center"><nobr>土地获取方式</nobr></th>
111
- <th style="text-align:center"><nobr>建设规模及内容</nobr></th>
112
- </tr>
113
- </template>
114
- <template partial='body' style="height: 80vh">
115
- <tr>
116
- <td style="text-align:center"><nobr>{{ row.f_project_code }}</nobr></td>
117
- <td style="text-align:center"><nobr>{{ row.f_user_name }}</nobr></td>
118
- <td style="text-align:center"><nobr>{{ row.f_phone }}</nobr></td>
119
- <td style="text-align:center"><nobr>{{ row.f_project_address }}</nobr></td>
120
- <td style="text-align:center"><nobr>{{ row.f_apply_source }}</nobr></td>
121
- <td style="text-align:center"><nobr>{{ row.f_process_state }}</nobr></td>
122
- <td style="text-align:center"><nobr>{{ row.f_apply_type }}</nobr></td>
123
- <td style="text-align:center"><nobr>{{ row.f_land_acquisition_methods }}</nobr></td>
124
- <td style="text-align:center"><nobr>{{ row.f_construction_content }}</nobr></td>
125
- </tr>
126
- </template>
127
- </data-grid>
128
- </criteria-paged>
129
- </template>
130
-
131
- <script>
132
- import {PagedList} from 'vue-client'
133
-
134
- export default {
135
- title: '政府报建',
136
- data () {
137
- return {
138
- model: new PagedList('rs/sql/getApplyPushList', 30, null),
139
- row: null,
140
- applyType: [{label: '全部', value: ''}, {label: '散户', value: '散户'}, {label: '小区', value: '小区'},{label: '商业', value: '商业'},{label: '工业', value: '工业'}],
141
- applySource: [{label: '全部', value: ''}, {label: '燃气公司', value: '燃气公司'}, {label: '工建', value: '工建'}],
142
- handingLinks: [{label: '全部', value: ''}, {label: '报装申请', value: '报装申请'}, {label: '报建受理', value: '报建受理'}, {label: '现场勘察', value: '现场勘察'}, {label: '收费标准', value: '收费标准'}, {label: '报装缴费', value: '报装缴费'}, {label: '合同签订', value: '合同签订'}, {label: '设计出图', value: '设计出图'}, {label: '工程派工', value: '工程派工'}, {label: '工程队派工', value: '工程队派工'}, {label: '监理单位派工', value: '监理单位派工'}, {label: '工程施工', value: '工程施工'}, {label: '点火通气', value: '点火通气'}, {label: '完工', value: '完工'}],
143
- processState: [{label: '全部', value: ''}, {label: '受理', value: '受理'}, {label: '施工', value: '施工'}, {label: '完工', value: '完工'},
144
- criteriaShow: false,
145
- isdeal: true
146
- }
147
- },
148
- props: {
149
- id: {
150
- type: String
151
- }
152
- },
153
- ready () {
154
- this.search()
155
- },
156
- load () {
157
- },
158
- watch: {
159
- },
160
- methods: {
161
- search (args) {
162
- // this.$refs.cp.$refs.cri.search()
163
- this.$dispatch('search')
164
- },
165
- searchCondition (args) {
166
- args.condition += this.orgcondition ? this.orgcondition : ''
167
- args.tablename = 't_third_apply'
168
- console.log('看看是啥', args)
169
- this.model.search(args.condition, args.model)
170
- // this.$dispatch('search')
171
- },
172
- idsearch () {
173
- this.$emit('add', '111')
174
- },
175
- clearmsg () {
176
- this.$refs.paged.$refs.criteria.model = {}
177
- },
178
- applyDetails (self) {
179
- console.log('查看报装详情 --- ' + self)
180
- }
181
- },
182
- computed: {
183
- }
184
- }
185
- </script>
186
- <style scoped>
187
- .form-input-group label {
188
- text-align: right;
189
- width: auto;
190
- }
191
- </style>
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:paged>
3
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.searchCondition'>
4
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="col-sm-2">
6
+ <label class="font_normal_body">客户名称</label>
7
+ <input type="text" class="input_search" style="width:60%"
8
+ v-model="model.f_user_name"
9
+ placeholder='客户名称'
10
+ :size="model.f_user_name ? model.f_user_name.length : 6"
11
+ condition="f_user_name like '%{}%'">
12
+ </div>
13
+ <div class="col-sm-2">
14
+ <label class="font_normal_body">工程编号</label>
15
+ <input type="text" class="input_search" style="width:60%"
16
+ v-model="model.f_project_code"
17
+ placeholder='工程编号'
18
+ :size="model.f_project_code ? model.f_project_code.length : 10"
19
+ condition="f_project_code like '%{}%'">
20
+ </div>
21
+ <div class="col-sm-2">
22
+ <label class="font_normal_body">联系电话</label>
23
+ <input type="text" class="input_search" style="width:60%"
24
+ v-model="model.f_phone"
25
+ placeholder='联系电话'
26
+ :size="model.f_phone ? model.f_phone.length : 11"
27
+ condition="f_phone like '%{}%'">
28
+ </div>
29
+ <div class="col-sm-2">
30
+ <label class="font_normal_body">用户地址</label>
31
+ <input type="text" class="input_search" style="width:60%"
32
+ v-model="model.f_project_address"
33
+ placeholder='用户地址'
34
+ :size="model.f_project_address ? model.f_project_address.length : 11"
35
+ condition="f_project_address like '%{}%'">
36
+ </div>
37
+ <div class="col-sm-2">
38
+ <label class="font_normal_body">报建类型</label>
39
+ <v-select :value.sync="model.f_apply_type" v-model="model.f_apply_type"
40
+ placeholder='报建类型'
41
+ value-single="true"
42
+ :options='$parent.$parent.applyType'
43
+ close-on-select
44
+ condition="f_apply_type = '{}'"
45
+ ></v-select>
46
+ </div>
47
+ <div class="col-sm-2">
48
+ <label class="font_normal_body">报建来源</label>
49
+ <v-select :value.sync="model.f_apply_source" v-model="model.f_apply_source"
50
+ placeholder='报建来源'
51
+ value-single="true"
52
+ :options='$parent.$parent.applySource'
53
+ close-on-select
54
+ condition="f_apply_source = '{}'"
55
+ ></v-select>
56
+ </div>
57
+ <div class="col-sm-2">
58
+ <label class="font_normal_body">状态</label>
59
+ <v-select :value.sync="model.f_process_state" v-model="model.f_process_state"
60
+ placeholder='状态'
61
+ value-single="true"
62
+ :options='$parent.$parent.processState'
63
+ close-on-select
64
+ condition="f_process_state = '{}'"
65
+ ></v-select>
66
+ </div>
67
+ <div class="form-group col-sm-2">
68
+ <label for="startDate" class="font_normal_body">开始时间</label>
69
+ <datepicker id="startDate" placeholder="开始日期"
70
+ style="width: 60%!important;"
71
+ v-model="model.startDate"
72
+ :value.sync="model.startDate"
73
+ :format="'yyyy-MM-dd 00:00:00'"
74
+ :show-reset-button="true"
75
+ condition="f_orderdate >= '{}'">
76
+ </datepicker>
77
+ </div>
78
+ <div class="form-group col-sm-2">
79
+ <label for="endDate" class="font_normal_body">结束时间</label>
80
+ <datepicker id="endDate" placeholder="结束日期"
81
+ style="width: 60%!important;"
82
+ v-model="model.endDate"
83
+ :value.sync="model.endDate"
84
+ :format="'yyyy-MM-dd 23:59:59'"
85
+ :show-reset-button="true"
86
+ condition="f_orderdate <= '{}'">
87
+ </datepicker>
88
+ </div>
89
+ <div class="col-sm-2 form-group" style="float:right">
90
+ <button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
91
+ <button class="button_search button_spacing" @click="$parent.$parent.clearmsg">清空</button>
92
+ <button class="button_search button_spacing" @click="$parent.$parent.idsearch()" v-el:cba>新增</button>
93
+ </div>
94
+ </div>
95
+ </criteria>
96
+ <data-grid :model="model"
97
+ partial='list'
98
+ style="overflow: auto"
99
+ class="list_area table_sy"
100
+ v-ref:grid >
101
+ <template partial='head'>
102
+ <tr>
103
+ <th style="text-align:center"><nobr>工程编号</nobr></th>
104
+ <th style="text-align:center"><nobr>客户名称</nobr></th>
105
+ <th style="text-align:center"><nobr>电话</nobr></th>
106
+ <th style="text-align:center"><nobr>地址</nobr></th>
107
+ <th style="text-align:center"><nobr>来源</nobr></th>
108
+ <th style="text-align:center"><nobr>状态</nobr></th>
109
+ <th style="text-align:center"><nobr>报建类型</nobr></th>
110
+ <th style="text-align:center"><nobr>土地获取方式</nobr></th>
111
+ <th style="text-align:center"><nobr>建设规模及内容</nobr></th>
112
+ </tr>
113
+ </template>
114
+ <template partial='body' style="height: 80vh">
115
+ <tr>
116
+ <td style="text-align:center"><nobr>{{ row.f_project_code }}</nobr></td>
117
+ <td style="text-align:center"><nobr>{{ row.f_user_name }}</nobr></td>
118
+ <td style="text-align:center"><nobr>{{ row.f_phone }}</nobr></td>
119
+ <td style="text-align:center"><nobr>{{ row.f_project_address }}</nobr></td>
120
+ <td style="text-align:center"><nobr>{{ row.f_apply_source }}</nobr></td>
121
+ <td style="text-align:center"><nobr>{{ row.f_process_state }}</nobr></td>
122
+ <td style="text-align:center"><nobr>{{ row.f_apply_type }}</nobr></td>
123
+ <td style="text-align:center"><nobr>{{ row.f_land_acquisition_methods }}</nobr></td>
124
+ <td style="text-align:center"><nobr>{{ row.f_construction_content }}</nobr></td>
125
+ </tr>
126
+ </template>
127
+ </data-grid>
128
+ </criteria-paged>
129
+ </template>
130
+
131
+ <script>
132
+ import {PagedList} from 'vue-client'
133
+
134
+ export default {
135
+ title: '政府报建',
136
+ data () {
137
+ return {
138
+ model: new PagedList('rs/sql/getApplyPushList', 30, null),
139
+ row: null,
140
+ applyType: [{label: '全部', value: ''}, {label: '散户', value: '散户'}, {label: '小区', value: '小区'},{label: '商业', value: '商业'},{label: '工业', value: '工业'}],
141
+ applySource: [{label: '全部', value: ''}, {label: '燃气公司', value: '燃气公司'}, {label: '工建', value: '工建'}],
142
+ handingLinks: [{label: '全部', value: ''}, {label: '报装申请', value: '报装申请'}, {label: '报建受理', value: '报建受理'}, {label: '现场勘察', value: '现场勘察'}, {label: '收费标准', value: '收费标准'}, {label: '报装缴费', value: '报装缴费'}, {label: '合同签订', value: '合同签订'}, {label: '设计出图', value: '设计出图'}, {label: '工程派工', value: '工程派工'}, {label: '工程队派工', value: '工程队派工'}, {label: '监理单位派工', value: '监理单位派工'}, {label: '工程施工', value: '工程施工'}, {label: '点火通气', value: '点火通气'}, {label: '完工', value: '完工'}],
143
+ processState: [{label: '全部', value: ''}, {label: '受理', value: '受理'}, {label: '施工', value: '施工'}, {label: '完工', value: '完工'}],
144
+ criteriaShow: false,
145
+ isdeal: true
146
+ }
147
+ },
148
+ props: {
149
+ id: {
150
+ type: String
151
+ }
152
+ },
153
+ ready () {
154
+ this.search()
155
+ },
156
+ load () {
157
+ },
158
+ watch: {
159
+ },
160
+ methods: {
161
+ search (args) {
162
+ // this.$refs.cp.$refs.cri.search()
163
+ this.$dispatch('search')
164
+ },
165
+ searchCondition (args) {
166
+ args.condition += this.orgcondition ? this.orgcondition : ''
167
+ args.tablename = 't_third_apply'
168
+ console.log('看看是啥', args)
169
+ this.model.search(args.condition, args.model)
170
+ // this.$dispatch('search')
171
+ },
172
+ idsearch () {
173
+ this.$emit('add', '111')
174
+ },
175
+ clearmsg () {
176
+ this.$refs.paged.$refs.criteria.model = {}
177
+ },
178
+ applyDetails (self) {
179
+ console.log('查看报装详情 --- ' + self)
180
+ }
181
+ },
182
+ computed: {
183
+ }
184
+ }
185
+ </script>
186
+ <style scoped>
187
+ .form-input-group label {
188
+ text-align: right;
189
+ width: auto;
190
+ }
191
+ </style>
@@ -1,91 +1,91 @@
1
- <template>
2
- <div id="unit" class="flex-row" :class="{'binary':showItem}">
3
- <div :class="{'basic-main':!showItem,'binary-left':showItem}">
4
- <gongjian-apply-list @select-changed="idsearch" :styles="showItem?'col-sm-3':'col-sm-2'" v-if="stepControl"
5
- v-ref:jgDeviceAlarmlist @add="add"></gongjian-apply-list>
6
- </div>
7
- <div class="binary-right" v-show="showItem">
8
- <gongjian-apply-dispose :recordlist="recordlist" :model="model" :oldmodel="oldmodel"
9
- :f_distribution_state="f_distribution_state" :row="row" :rowsdata="rowsdata1"
10
- :warehousename="warehousename"
11
- ></gongjian-apply-dispose>
12
- </div>
13
- </div>
14
- </template>
15
-
16
- <script>
17
- export default {
18
- title: '政府报建',
19
- components: {},
20
- data() {
21
- return {
22
- f_alarmId: '',
23
- row: {},
24
- model: {},
25
- oldmodel: {},
26
- showItem: false,
27
- stepControl: true,
28
-
29
- // 分公司id串
30
- width: '100%',
31
- f_filialeids: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气',
32
- areaShow: false,
33
- areatype: '小区',
34
- arearow: {},
35
- style: 'col-sm-2'
36
- }
37
- },
38
- methods: {
39
- selected(obj) {
40
- this.style = 'col-sm-3 '
41
- if (obj.val && obj.val.id) {
42
- console.log('对比分公司', obj.val.f_filialeid, this.f_filialeids)
43
- if (obj.val.f_filialeid !== this.f_filialeids) {
44
- this.refresh()
45
- return
46
- }
47
- this.areaShow = true
48
- this.$refs.addareamsg.cleardara()
49
- this.$refs.addareamsg.operation = 'modify'
50
- this.$refs.addareamsg.areatype = '小区'
51
- this.$refs.addareamsg.areamodel = Object.assign({}, obj.val)
52
- if (obj.val.f_slice_area && obj.val.f_area_code) {
53
- this.$refs.addareamsg.areamodel.slice_area = [{
54
- name: this.$refs.addareamsg.areamodel.f_slice_area,
55
- code: this.$refs.addareamsg.areamodel.f_area_code
56
- }]
57
- }
58
- this.$refs.addareamsg.initdata(obj.val)
59
- }
60
- },
61
- add (a) {
62
- console.log('新增')
63
- this.showItem = true
64
- this.model = {}
65
- this.oldmodel = {}
66
- },
67
- refresh() {
68
- this.areaShow = false
69
- this.showItem = false
70
- this.$refs.arealist.$refs.paged.$refs.cri.search()
71
- },
72
- idsearch(row) {
73
- this.showItem = true
74
- this.model = JSON.parse(JSON.stringify(row.val))
75
- this.oldmodel = JSON.parse(JSON.stringify(row.val))
76
- },
77
- getAlarmData () {
78
- let data = {}
79
- }
80
- },
81
- events: {
82
- 'close'() {
83
- this.showItem = false
84
- this.$refs.stocklist.search()
85
- console.log('this.$refs', this.$refs)
86
- console.log('showitem', this.showItem)
87
- },
88
- }
89
- }
90
- </script>
91
-
1
+ <template>
2
+ <div id="unit" class="flex-row" :class="{'binary':showItem}">
3
+ <div :class="{'basic-main':!showItem,'binary-left':showItem}">
4
+ <gongjian-apply-list @select-changed="idsearch" :styles="showItem?'col-sm-3':'col-sm-2'" v-if="stepControl"
5
+ v-ref:jgDeviceAlarmlist @add="add"></gongjian-apply-list>
6
+ </div>
7
+ <div class="binary-right" v-show="showItem">
8
+ <gongjian-apply-dispose :recordlist="recordlist" :model="model" :oldmodel="oldmodel"
9
+ :f_distribution_state="f_distribution_state" :row="row" :rowsdata="rowsdata1"
10
+ :warehousename="warehousename"
11
+ ></gongjian-apply-dispose>
12
+ </div>
13
+ </div>
14
+ </template>
15
+
16
+ <script>
17
+ export default {
18
+ title: '政府报建',
19
+ components: {},
20
+ data() {
21
+ return {
22
+ f_alarmId: '',
23
+ row: {},
24
+ model: {},
25
+ oldmodel: {},
26
+ showItem: false,
27
+ stepControl: true,
28
+
29
+ // 分公司id串
30
+ width: '100%',
31
+ f_filialeids: this.$login.f.orgs,
32
+ areaShow: false,
33
+ areatype: '小区',
34
+ arearow: {},
35
+ style: 'col-sm-2'
36
+ }
37
+ },
38
+ methods: {
39
+ selected(obj) {
40
+ this.style = 'col-sm-3 '
41
+ if (obj.val && obj.val.id) {
42
+ console.log('对比分公司', obj.val.f_filialeid, this.f_filialeids)
43
+ if (obj.val.f_filialeid !== this.f_filialeids) {
44
+ this.refresh()
45
+ return
46
+ }
47
+ this.areaShow = true
48
+ this.$refs.addareamsg.cleardara()
49
+ this.$refs.addareamsg.operation = 'modify'
50
+ this.$refs.addareamsg.areatype = '小区'
51
+ this.$refs.addareamsg.areamodel = Object.assign({}, obj.val)
52
+ if (obj.val.f_slice_area && obj.val.f_area_code) {
53
+ this.$refs.addareamsg.areamodel.slice_area = [{
54
+ name: this.$refs.addareamsg.areamodel.f_slice_area,
55
+ code: this.$refs.addareamsg.areamodel.f_area_code
56
+ }]
57
+ }
58
+ this.$refs.addareamsg.initdata(obj.val)
59
+ }
60
+ },
61
+ add (a) {
62
+ console.log('新增')
63
+ this.showItem = true
64
+ this.model = {}
65
+ this.oldmodel = {}
66
+ },
67
+ refresh() {
68
+ this.areaShow = false
69
+ this.showItem = false
70
+ this.$refs.arealist.$refs.paged.$refs.cri.search()
71
+ },
72
+ idsearch(row) {
73
+ this.showItem = true
74
+ this.model = JSON.parse(JSON.stringify(row.val))
75
+ this.oldmodel = JSON.parse(JSON.stringify(row.val))
76
+ },
77
+ getAlarmData () {
78
+ let data = {}
79
+ }
80
+ },
81
+ events: {
82
+ 'close'() {
83
+ this.showItem = false
84
+ this.$refs.stocklist.search()
85
+ console.log('this.$refs', this.$refs)
86
+ console.log('showitem', this.showItem)
87
+ },
88
+ }
89
+ }
90
+ </script>
91
+