apply-clients 7.1.36-yuchuan-2 → 7.1.36-yuchuan-3

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 (61) hide show
  1. package/build/dev-server.js +7 -3
  2. package/package.json +3 -3
  3. package/src/AndroidApp.vue +35 -35
  4. package/src/apply.js +12 -1
  5. package/src/applyAndroid.js +87 -83
  6. package/src/components/android/AppUpload.vue +15 -0
  7. package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
  8. package/src/components/android/Process/AppExplorationUser.vue +2 -2
  9. package/src/components/android/Process/AppServiceControl.vue +1410 -1397
  10. package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -334
  11. package/src/components/android/Task/Build/BuildTsak.vue +7 -4
  12. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -432
  13. package/src/components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue +237 -0
  14. package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -64
  15. package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -64
  16. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +11 -7
  17. package/src/components/android/Task/UpBuild/UpBuildDui.vue +5 -2
  18. package/src/components/android/Task/UpBuild/UpBuildTsak.vue +5 -2
  19. package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -98
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +943 -606
  21. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +8 -7
  22. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -235
  23. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -323
  24. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +10 -9
  25. package/src/components/product/Function/InstallInfoSelect.vue +371 -370
  26. package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
  27. package/src/components/product/Ignition/IgnitionList.vue +236 -236
  28. package/src/components/product/Ignition/IgnitionListManage.vue +403 -204
  29. package/src/components/product/Ignition/IgnitionRecord.vue +14 -13
  30. package/src/components/product/List/ShowAllActivity.vue +455 -0
  31. package/src/components/product/List/ShowDevices.vue +279 -279
  32. package/src/components/product/Print/BuildOrder/buildOrderList.vue +9 -8
  33. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +6 -0
  34. package/src/components/product/Process/ExplorationSelect.vue +591 -581
  35. package/src/components/product/Process/ExplorationUser.vue +158 -158
  36. package/src/components/product/Process/New1ExplorationUser.vue +201 -0
  37. package/src/components/product/Process/New2ExplorationUser.vue +163 -0
  38. package/src/components/product/Process/NewExplorationSelect.vue +586 -0
  39. package/src/components/product/Process/NewExplorationUser.vue +219 -184
  40. package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -587
  41. package/src/components/product/Process/Processes/InstallationDetails.vue +80 -7
  42. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -224
  43. package/src/components/product/Process/Processes/newDevicesManagement.vue +26 -1
  44. package/src/components/product/Process/Processes/newInstallationDetails.vue +1 -36
  45. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  46. package/src/components/product/Process/Service/ServiceControl.vue +2166 -2162
  47. package/src/components/product/Report/ReportItems.vue +85 -79
  48. package/src/components/product/Report/apply-stair-kaifa.vue +0 -1
  49. package/src/components/product/Report/gongchengbu.vue +199 -0
  50. package/src/components/product/ServiceView.vue +644 -644
  51. package/src/components/product/Stop/StopApplyList.vue +8 -8
  52. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -594
  53. package/src/components/product/Supervisory/SupervisoryList.vue +539 -537
  54. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +114 -0
  55. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +541 -0
  56. package/src/main.js +27 -27
  57. package/dist-android.7z +0 -0
  58. package/dist.7z +0 -0
  59. package/rebel.xml +0 -16
  60. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -207
  61. package/yarn-error.log +0 -9976
@@ -1,79 +1,85 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="baobiao">
4
- <tab-button v-ref:list :active="0">
5
- <tabs header="市场开发部月度报表">
6
- <apply-stair-kaifa v-ref:paperfeimain></apply-stair-kaifa>
7
- </tabs>
8
- <tabs header="每月安装收入明细表">
9
- <apply-stair-anzhuang v-ref:papermain></apply-stair-anzhuang>
10
- </tabs>
11
- <tabs header="用户管理部通气月报表">
12
- <apply-stair-tongqi v-ref:paperfeimain></apply-stair-tongqi>
13
- </tabs>
14
- <tabs header="用户管理部未通气月报表">
15
- <apply-stair-wtongqi v-ref:paperfeimain></apply-stair-wtongqi>
16
- </tabs>
17
- </tab-button>
18
- </div>
19
- </div>
20
- </template>
21
- <script>
22
- import Vue from 'vue'
23
- import {HttpResetClass} from 'vue-client'
24
- export default {
25
- title: '报表明细',
26
- data () {
27
- return {
28
- showRight: false,
29
- type: null,
30
- selectdata: null,
31
- show: []
32
- }
33
- },
34
- methods: {
35
- },
36
- events: {
37
- 'handleOrder' (type, row) {
38
- this.showRight = false
39
-
40
- this.type = type
41
- this.selectdata = row
42
-
43
- this.$nextTick(() => {
44
- this.showRight = true
45
- })
46
- },
47
- 'search' () {
48
- this.selectdata = null
49
- this.showRight = false
50
- this.type = null
51
-
52
- this.$refs.query.$refs.cp.$refs.cri.search()
53
- }
54
- },
55
- watch: {
56
- }
57
- }
58
- </script>
59
- <style>
60
- .baobiao {
61
- padding: 1%;
62
- margin: 1%;
63
- width: 99%;
64
- height: auto;
65
- background-color: #ffffff;
66
- border-radius: 14px;
67
- box-shadow: 0px 1px 10px 0px rgba(2, 56, 104, 0.13);
68
- }
69
-
70
- .baobiao-right {
71
- padding: 1%;
72
- margin: 1% 1% 1% 0;
73
- width: 58%;
74
- height: auto;
75
- background-color: #ffffff;
76
- box-shadow: 0px 1px 10px 0px rgba(2, 56, 104, 0.13);
77
- border-radius: 14px;
78
- }
79
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="baobiao">
4
+ <tab-button v-ref:list :active="0">
5
+ <tabs header="市场开发部月度报表" v-if="gettRolesnames('市场部报装')">
6
+ <apply-stair-kaifa v-ref:paperfeimain></apply-stair-kaifa>
7
+ </tabs>
8
+ <tabs header="每月安装收入明细表" v-if="gettRolesnames('营业厅报装')">
9
+ <apply-stair-anzhuang v-ref:papermain></apply-stair-anzhuang>
10
+ </tabs>
11
+ <tabs header="用户管理部通气月报表" v-if="gettRolesnames('用户管理部报装')">
12
+ <apply-stair-tongqi v-ref:paperfeimain></apply-stair-tongqi>
13
+ </tabs>
14
+ <tabs header="用户管理部未通气月报表" v-if="gettRolesnames('用户管理部报装')">
15
+ <apply-stair-wtongqi v-ref:paperfeimain></apply-stair-wtongqi>
16
+ </tabs>
17
+ <tabs header="工程部安装户数月报表" v-if="gettRolesnames('工程部派工')">
18
+ <apply-gongchengbu v-ref:paperfeimain></apply-gongchengbu>
19
+ </tabs>
20
+ </tab-button>
21
+ </div>
22
+ </div>
23
+ </template>
24
+ <script>
25
+ import Vue from 'vue'
26
+ import {HttpResetClass} from 'vue-client'
27
+ export default {
28
+ title: '报表明细',
29
+ data () {
30
+ return {
31
+ showRight: false,
32
+ type: null,
33
+ selectdata: null,
34
+ show: []
35
+ }
36
+ },
37
+ methods: {
38
+ gettRolesnames (str) {
39
+ return this.$login.f.rolesnames.includes(str)
40
+ }
41
+ },
42
+ events: {
43
+ 'handleOrder' (type, row) {
44
+ this.showRight = false
45
+
46
+ this.type = type
47
+ this.selectdata = row
48
+
49
+ this.$nextTick(() => {
50
+ this.showRight = true
51
+ })
52
+ },
53
+ 'search' () {
54
+ this.selectdata = null
55
+ this.showRight = false
56
+ this.type = null
57
+
58
+ this.$refs.query.$refs.cp.$refs.cri.search()
59
+ }
60
+ },
61
+ watch: {
62
+ }
63
+ }
64
+ </script>
65
+ <style>
66
+ .baobiao {
67
+ padding: 1%;
68
+ margin: 1%;
69
+ width: 99%;
70
+ height: auto;
71
+ background-color: #ffffff;
72
+ border-radius: 14px;
73
+ box-shadow: 0px 1px 10px 0px rgba(2, 56, 104, 0.13);
74
+ }
75
+
76
+ .baobiao-right {
77
+ padding: 1%;
78
+ margin: 1% 1% 1% 0;
79
+ width: 58%;
80
+ height: auto;
81
+ background-color: #ffffff;
82
+ box-shadow: 0px 1px 10px 0px rgba(2, 56, 104, 0.13);
83
+ border-radius: 14px;
84
+ }
85
+ </style>
@@ -77,7 +77,6 @@
77
77
 
78
78
  <script>
79
79
  import { DataModel } from 'vue-client'
80
- import co from 'co'
81
80
  export default {
82
81
  title: '市场开发部月度报表',
83
82
  props: ['data'],
@@ -0,0 +1,199 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-2">
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd HH:mm:ss'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-2">
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd HH:mm:ss'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div>
27
+
28
+ </div>
29
+ <div class="span" style="float:right;">
30
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
31
+ <report-print id='gasprice4' top='1cm' left='0' width='100%' height='100%' :preview="true"></report-print>
32
+ <report-excel id='gasprice4'></report-excel>
33
+ </div>
34
+ </div>
35
+ </criteria>
36
+ <div partial='list' v-el:handcollect id='gasprice4' style="overflow-y: scroll">
37
+ <table class='tableprint' style="margin: 0px auto">
38
+ <thead>
39
+ <tr>
40
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
41
+ <h3 style="text-align: center">工程部安装户数月度报表</h3>
42
+ </th>
43
+ </tr>
44
+ <tr>
45
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
46
+ 开始时间:{{ model.model.startDate }}&nbsp;&nbsp;&nbsp;
47
+ 结束时间:{{ model.model.endDate }}
48
+ </th>
49
+ </tr>
50
+ <tr>
51
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
52
+ 打印时间:{{ $parent.printTime }}
53
+ </th>
54
+ </tr>
55
+ <tr>
56
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
57
+ <div>
58
+ <span v-show="$parent.orgname.trim()!=''">公司:{{ $parent.orgname }}</span>
59
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{ $parent.depname }}</span>
60
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{ $parent.operatorname }}</span>
61
+ </div>
62
+ </th>
63
+ </tr>
64
+ </thead>
65
+ </table>
66
+ <table class='tableprint' style="margin: 0px auto">
67
+ <tbody>
68
+ <tr>
69
+ <td class="tdcenter report-primary" width="100" height="60" rowspan="2">类别\项目</td>
70
+ <td class="tdcenter report-primary" width="300" height="30" colspan="3">用户报装</td>
71
+ </tr>
72
+ <tr>
73
+ <td class="tdcenter report-primary" width="100" height="30">报建性质</td>
74
+ <td class="tdcenter report-primary" width="100" height="30">煤改用户</td>
75
+ <td class="tdcenter report-primary" width="100" height="30">普通用户</td>
76
+ </tr>
77
+ <tr>
78
+ <td class="tdcenter bg-info" width="100" height="60" rowspan="2">民用用户</td>
79
+ <td class="tdcenter bg-info" width="100" height="30">{{ model.data.minYong[0] ? model.data.minYong[0].f_apply_nature:'小区' }}</td>
80
+ <td class="tdcenter bg-info" width="100" height="30">
81
+ {{ model.data.minYong[0] ? model.data.minYong[0].meigai_hetong_housecount ? model.data.minYong[0].meigai_hetong_housecount : '0' :'0' }}
82
+ </td>
83
+ <td class="tdcenter bg-info" width="100" height="30">
84
+ {{ model.data.minYong[0] ? model.data.minYong[0].putong_hetong_housecount ? model.data.minYong[0].putong_hetong_housecount : '0' :'0' }}
85
+ </td>
86
+ </tr>
87
+ <tr>
88
+ <td class="tdcenter bg-info" width="100" height="30">{{ model.data.minYong[1] ? model.data.minYong[1].f_apply_nature:'散户' }}</td>
89
+ <td class="tdcenter bg-info" width="100" height="30">
90
+ {{ model.data.minYong[1] ? model.data.minYong[1].meigai_hetong_housecount ? model.data.minYong[1].meigai_hetong_housecount : '0' :'0' }}
91
+ </td>
92
+ <td class="tdcenter bg-info" width="100" height="30">
93
+ {{ model.data.minYong[1] ? model.data.minYong[1].putong_hetong_housecount ? model.data.minYong[1].putong_hetong_housecount : '0' :'0' }}
94
+ </td>
95
+ </tr>
96
+ <tr>
97
+ <td class="tdcenter bg-info" width="100" height="30">非居用户</td>
98
+ <td class="tdcenter bg-info" width="100" height="30">{{ model.data.feiMinYong[0] ? model.data.feiMinYong[0].f_apply_nature:'商业' }}</td>
99
+ <td class="tdcenter bg-info" width="100" height="30">
100
+ {{ model.data.feiMinYong[0] ? model.data.feiMinYong[0].meigai_hetong_housecount ? model.data.feiMinYong[0].meigai_hetong_housecount : '0' : '0' }}
101
+ </td>
102
+ <td class="tdcenter bg-info" width="100" height="30">
103
+ {{ model.data.feiMinYong[0] ? model.data.feiMinYong[0].putong_hetong_housecount ? model.data.feiMinYong[0].putong_hetong_housecount : '0' :'0' }}
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <td class="tdcenter bg-info" width="100" height="30">合计</td>
108
+ <td class="tdcenter bg-info" width="100" height="30">0</td>
109
+ <td class="tdcenter bg-info" width="100" height="30">{{ $parent.sumMeiGai }}</td>
110
+ <td class="tdcenter bg-info" width="100" height="30">{{ $parent.sumPuTong }}</td>
111
+ </tr>
112
+ <tr>
113
+ <td class="tdcenter report-primary" width="100" height="30" colspan="2">设备名称</td>
114
+ <td class="tdcenter report-primary" width="100" height="30" colspan="1">设备数量</td>
115
+ <td class="tdcenter report-primary" width="100" height="30" colspan="1">设备吨位</td>
116
+ </tr>
117
+ <tr style="text-align: center;" v-for="i in model.data.sheBei.length">
118
+ <td class="tdcenter bg-info" width="100" height="30" colspan="2">{{$parent.model.data.sheBei[i].f_devices_type}}</td>
119
+ <td class="tdcenter bg-info" width="100" height="30" colspan="1">{{$parent.model.data.sheBei[i].f_devices_num}}</td>
120
+ <td class="tdcenter bg-info" width="100" height="30" colspan="1">{{$parent.model.data.sheBei[i].f_devices_tonnage}}</td>
121
+ </tr>
122
+ </tbody>
123
+ <tfoot>
124
+ </tfoot>
125
+ </table>
126
+ </div>
127
+ </criteria-paged>
128
+ </div>
129
+ </template>
130
+
131
+ <script>
132
+ import {DataModel} from 'vue-client'
133
+
134
+ export default {
135
+ title: '工程部安装户数月度报表',
136
+ props: ['data'],
137
+ data() {
138
+ return {
139
+ printTime: this.$login.toStandardTimeString(),
140
+ depresid: [],
141
+ userresid: [],
142
+ f_orgid: this.$login.f.orgid,
143
+ f_depid: this.$login.f.depids,
144
+ f_operatorid: this.$login.f.id,
145
+ operatorid: [],
146
+ depid: [],
147
+ orgname: '',
148
+ depname: '',
149
+ operatorname: '',
150
+ f_inputtor: [],
151
+ f_user_type: '',
152
+ orgCondtionStr: '1=1',
153
+ model: new DataModel('rs/logic/getGongCheng', {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
154
+ reportStr: null,
155
+ spans: 0,
156
+ sumMeiGai: 0,
157
+ sumPuTong: 0
158
+ }
159
+ },
160
+ ready() {
161
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
162
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
163
+ },
164
+ methods: {
165
+ searchData() {
166
+ this.$refs.paged.$refs.criteria.search()
167
+ },
168
+ selfSearch(args) {
169
+ let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
170
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
171
+ this.$refs.paged.search(args)
172
+ },
173
+ getRes(obj) {
174
+ this.orgname = obj.res[0]
175
+ // this.depresid = obj.resids
176
+ this.f_orgid = obj.resids
177
+ }
178
+ },
179
+ watch: {
180
+ 'model.data' (val) {
181
+ for (let i = 0; i < val.minYong.length; i++) {
182
+ this.sumMeiGai += val.minYong[i].meigai_hetong_housecount
183
+ this.sumPuTong += val.minYong[i].putong_hetong_housecount
184
+ }
185
+ for (let i = 0; i < val.feiMinYong.length; i++) {
186
+ this.sumMeiGai += val.feiMinYong[i].meigai_hetong_housecount
187
+ this.sumPuTong += val.feiMinYong[i].putong_hetong_housecount
188
+ }
189
+ console.log('当前显示' + this.sumMeiGai + '传参' + this.sumPuTong)
190
+ }
191
+ },
192
+ computed: {}
193
+ }
194
+ </script>
195
+ <style scoped>
196
+ .noborder {
197
+ border: none;
198
+ }
199
+ </style>