apply-clients 5.0.35-7 → 5.0.35-73

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 (51) hide show
  1. package/.eslintrc.js +16 -16
  2. package/package.json +3 -3
  3. package/src/AndroidApp.vue +28 -28
  4. package/src/android.js +1 -1
  5. package/src/apply.js +14 -1
  6. package/src/components/app_apply/ApplyDownList.vue +168 -168
  7. package/src/components/app_apply/ApplyInfo.vue +56 -56
  8. package/src/components/app_apply/ApplyListUpload.vue +268 -268
  9. package/src/components/app_apply/ApplyToDoList.vue +2582 -4
  10. package/src/components/app_apply/Gongcheng.vue +3614 -0
  11. package/src/components/app_apply/OneToMany.vue +194 -0
  12. package/src/components/app_apply/PlaceControler.vue +299 -256
  13. package/src/components/app_apply/ServiceControl.vue +410 -15
  14. package/src/components/app_apply/ServiceView.vue +383 -383
  15. package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -109
  16. package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -100
  17. package/src/components/app_apply/ezhou/MinYong.vue +92 -92
  18. package/src/components/app_apply/ezhou/ServiceView.vue +396 -208
  19. package/src/components/image/doc.jpg +0 -0
  20. package/src/components/image/dwg.png +0 -0
  21. package/src/components/image/dxf.png +0 -0
  22. package/src/components/image/excel.jpg +0 -0
  23. package/src/components/image/pdf.jpg +0 -0
  24. package/src/components/product/Common/ApplyValidateBill.vue +13 -6
  25. package/src/components/product/Common/PrintBill.vue +7 -6
  26. package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -0
  27. package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -0
  28. package/src/components/product/EngineeringManagement/EngineeringSelect.vue +588 -0
  29. package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
  30. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +130 -0
  31. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +350 -0
  32. package/src/components/product/Function/InstallInfoSelect.vue +255 -254
  33. package/src/components/product/Function/Service/FunctionServiceControl.vue +37 -1
  34. package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
  35. package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
  36. package/src/components/product/Function/functions/InstallFee.vue +570 -345
  37. package/src/components/product/Process/ExplorationSelect.vue +640 -636
  38. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +2 -5
  39. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +123 -37
  40. package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
  41. package/src/components/product/Process/Processes/Service/ServiceControl.vue +2150 -1808
  42. package/src/components/product/ServiceView.vue +16 -6
  43. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +53 -6
  44. package/src/components/product/Supervisory/SupervisoryList.vue +350 -349
  45. package/src/components/product/applyReport/ApplyReport.vue +205 -0
  46. package/src/components/product/applyReport/PrintApplyReport.vue +116 -0
  47. package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -280
  48. package/src/ezhouAndroid.js +13 -10
  49. package/src/index.js +8 -8
  50. package/src/main.js +32 -32
  51. package/src/plugins/commonService.js +11 -7
@@ -0,0 +1,205 @@
1
+ <template>
2
+ <div class="d1 flex">
3
+ <div class="left col-sm-12">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
6
+ <form novalidate class="" partial>
7
+ <div class="row">
8
+ <button type="button" class="btn btn-success" @click='$parent.$parent.showQuery=!$parent.$parent.showQuery'>
9
+ 打印
10
+ </button>
11
+ <export-excel :data="$parent.$parent.getCondition"
12
+ :field="$parent.$parent.getfield"
13
+ sqlurl="rs/logic/saleExport" sql-name="checkuserReport" template-name='报装统计导出' :choose-col="true"></export-excel>
14
+ <button class="btn btn-primary btn-sm" type="button" @click="$parent.$parent.search(),$parent.$parent.showpager()" style="margin-left:10%">
15
+ <span class="glyphicon glyphicon-search"></span>查询
16
+ </button>
17
+ </div>
18
+ </form>
19
+ </criteria>
20
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area" is-fixed='false'>
21
+ <template partial='head'>
22
+ <tr>
23
+ <th colspan="7"><h4>报装人员勘察 安装 通气 统计查询</h4></th>
24
+ </tr>
25
+ <tr>
26
+ <th colspan="1" rowspan="2">报装人员</th>
27
+ <th colspan="2">个人报建</th>
28
+ <th colspan="4">集体报建</th>
29
+ </tr>
30
+ <tr class="title">
31
+ <th>
32
+ <nobr>踏勘</nobr>
33
+ </th>
34
+ <th>
35
+ <nobr>安装</nobr>
36
+ </th>
37
+ <th>
38
+ <nobr>踏勘</nobr>
39
+ </th>
40
+ <th>
41
+ <nobr>安装</nobr>
42
+ </th>
43
+ <th>
44
+ <nobr>验收</nobr>
45
+ </th>
46
+ <th>
47
+ <nobr>通气</nobr>
48
+ </th>
49
+ </tr>
50
+ </template>
51
+ <template partial='body'>
52
+ <tr>
53
+ <td style="text-align: center;">
54
+ <nobr>{{row.username}}</nobr>
55
+ </td>
56
+ <td style="text-align: center;">
57
+ <nobr>{{row.gsurvey_name}}</nobr>
58
+ </td>
59
+ <td style="text-align: center;">
60
+ <nobr>{{row.gconstruction_unit}}</nobr>
61
+ </td>
62
+ <td style="text-align: center;">
63
+ <nobr>{{row.jsurvey_name}}</nobr>
64
+ </td>
65
+ <td style="text-align: center;">
66
+ <nobr>{{row.jconstruction_unit}}</nobr>
67
+ </td>
68
+ <td style="text-align: center;">
69
+ <nobr>{{row.checking_name}}</nobr>
70
+ </td>
71
+ <td style="text-align: center;">
72
+ <nobr>{{row.jgas_name}}</nobr>
73
+ </td>
74
+ </tr>
75
+ </template>
76
+ </data-grid>
77
+ </criteria-paged>
78
+ <div class="flex" style="height: 10%">
79
+ <div novalidate class="form-inline auto" partial>
80
+ <p class="bg-info text-center" style="padding: 8px;font-size: 20px">个体报建
81
+ 勘踏合计:<span style="color: red">{{total.rows[0].sumgname}}</span>次,安装合计:<span style="color: red">{{total.rows[0].sumgunit}}</span>次,
82
+ 集体报建 勘踏合计:<span style="color: red">{{total.rows[0].sumname}}</span>次,安装合计:<span style="color: red">{{total.rows[0].sumjunit}}</span>次,
83
+ 验收合计:<span style="color: red">{{total.rows[0].sumgcname}}</span>次,
84
+ 通气合计:<span style="color: red">{{total.rows[0].sunjname}}</span>次
85
+ </p>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ <modal :show.sync="showQuery" v-ref:modal :large="true" :backdrop="false" title="打印预览">
90
+ <header slot="modal-header" class="modal-header">
91
+ <button type="button" class="close" @click="showQuery = !showQuery"><span>&times;</span></button>
92
+ <h4 class="modal-title">打印预览</h4>
93
+ </header>
94
+ <article slot="modal-body" class="modal-body clearfix">
95
+ <print-report-order :purchase-records="purchaseRecords" :report="model.rows" v-ref:print></print-report-order>
96
+ </article>
97
+ <footer slot="modal-footer" class="modal-footer">
98
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
99
+ </footer>
100
+ </modal>
101
+ </div>
102
+ </template>
103
+ <script>
104
+ Date.prototype.Format = function (fmt) {
105
+ var o = {
106
+ "M+": this.getMonth() + 1, //月份
107
+ "d+": this.getDate(), //日
108
+ "H+": this.getHours(), //小时
109
+ "m+": this.getMinutes(), //分
110
+ "s+": this.getSeconds(), //秒
111
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
+ "S": this.getMilliseconds() //毫秒
113
+ };
114
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
+ for (var k in o)
116
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
+ return fmt;
118
+ }
119
+ import {
120
+ PagedList
121
+ } from 'vue-client'
122
+ import * as Util from '../../Util'
123
+
124
+ export default {
125
+ title: '报建统计报表',
126
+ data() {
127
+ return {
128
+ usertype: this.$appdata.getParam('用户类型'),
129
+ showbtn: false,
130
+ model: new PagedList('rs/sql/checkuserReport', 20, {
131
+ data: {
132
+ id: this.$login.f.id,
133
+ fengongsi: this.$login.f.f_fengongsi,
134
+ }
135
+ }),
136
+ condition: '',
137
+ showQuery:false,
138
+ total: new PagedList('rs/sql/checkuserReportTotal', 999999, {orderitem: '`sumname`'}),
139
+ showstopinfoflag:false,
140
+ stopremarks:"",
141
+ getfield: {
142
+ 'username': '报装人员',
143
+ 'gsurvey_name': '个体报建踏勘次数',
144
+ 'gconstruction_unit': '个体报建安装次数',
145
+ 'jsurvey_name': '集体报建踏勘次数',
146
+ 'jconstruction_unit': '集体报建安装次数',
147
+ 'checking_name': '集体报建验收次数',
148
+ 'jgas_name': '集体报建通气次数'
149
+ }
150
+ }
151
+ },
152
+ ready() {
153
+ this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
154
+ this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
155
+ this.search()
156
+
157
+ },
158
+ methods: {
159
+ print () {
160
+ this.$refs.print.$refs.print.PrintTable()
161
+ },
162
+ stopinfoshow(index){
163
+ this.showstopinfoflag = true;
164
+ let remakrs = this.model.rows[index].f_stop_remarks;
165
+ console.log(JSON.stringify(remakrs))
166
+ console.log(remakrs)
167
+
168
+ this.stopremarks= remakrs;
169
+ },
170
+ clifun(row) {
171
+ this.$refs.cp.$refs.grid.model.rows = [row]
172
+ this.$refs.cp.pager = false
173
+ this.$dispatch('showbtn', row)
174
+ },
175
+ search () {
176
+ let condition = "1=1"
177
+ // debugger
178
+ // let condition = args.condition
179
+ debugger
180
+ this.model.search()
181
+ this.total.search()
182
+ },
183
+ showpager() {
184
+ this.$refs.cp.pager = true
185
+ this.$dispatch('hiddenbtn')
186
+ },
187
+ closestopinfo(){
188
+ this.showstopinfoflag = close;
189
+ }
190
+ },
191
+ computed: {
192
+ getCondition() {
193
+ return {condition: `1=1`}
194
+ }
195
+ }
196
+ }
197
+ </script>
198
+ <style scoped>
199
+ label {
200
+ display: flex;
201
+ justify-content:center;
202
+ align-items:Center;
203
+ padding-top: 8px;
204
+ }
205
+ </style>
@@ -0,0 +1,116 @@
1
+ <template>
2
+ <style id="style">
3
+ td{
4
+ height: 30px;
5
+ padding: 0px;
6
+ text-align: center;
7
+ }
8
+ .cen{
9
+ text-align: center;
10
+ }
11
+ table{
12
+ margin: auto;
13
+ width: 100%;
14
+ border-collapse:collapse;
15
+ border: 1px solid black;
16
+ }
17
+ h1,h2,h3,h4,h5,h6 {
18
+ text-align: center;
19
+ }
20
+ </style>
21
+ <div id="print">
22
+ <table border="1">
23
+ <tr>
24
+ <th colspan="7"><h4>报装人员勘察 安装 通气 统计查询</h4></th>
25
+ </tr>
26
+ <tr>
27
+ <th colspan="1" rowspan="2" class="cen">报装人员</th>
28
+ <th colspan="2" class="cen">个人报建</th>
29
+ <th colspan="4" class="cen">集体报建</th>
30
+ </tr>
31
+ <tr class="title">
32
+ <th class="cen">
33
+ <nobr>踏勘</nobr>
34
+ </th>
35
+ <th class="cen">
36
+ <nobr>安装</nobr>
37
+ </th>
38
+ <th class="cen">
39
+ <nobr>踏勘</nobr>
40
+ </th>
41
+ <th class="cen">
42
+ <nobr>安装</nobr>
43
+ </th>
44
+ <th class="cen">
45
+ <nobr>验收</nobr>
46
+ </th>
47
+ <th class="cen">
48
+ <nobr>通气</nobr>
49
+ </th>
50
+ </tr>
51
+ <tr v-for="item in report">
52
+ <td>{{item.username}}</td>
53
+ <td>{{ item.gsurvey_name }}</td>
54
+ <td>{{ item.gconstruction_unit }}</td>
55
+ <td>{{ item.jsurvey_name }}</td>
56
+ <td>{{ item.jconstruction_unit }}</td>
57
+ <td>{{ item.checking_name }}</td>
58
+ <td>{{ item.jgas_name }}</td>
59
+ </tr>
60
+ <tr v-for="item in supplement">
61
+ <td></td>
62
+ <td></td>
63
+ <td></td>
64
+ <td></td>
65
+ <td></td>
66
+ <td></td>
67
+ <td></td>
68
+ </tr>
69
+ </table>
70
+ </div>
71
+
72
+ <print-element v-show="false" v-ref:print id='print' styleid='style'
73
+ top='10' left='60' width='100%' height='100%'>
74
+ </print-element>
75
+ </template>
76
+
77
+ <script>
78
+ Date.prototype.Format = function (fmt) {
79
+ var o = {
80
+ "M+": this.getMonth() + 1, //月份
81
+ "d+": this.getDate(), //日
82
+ "H+": this.getHours(), //小时
83
+ "m+": this.getMinutes(), //分
84
+ "s+": this.getSeconds(), //秒
85
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
86
+ "S": this.getMilliseconds() //毫秒
87
+ };
88
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
89
+ for (var k in o)
90
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
91
+ return fmt;
92
+ }
93
+ export default {
94
+ title: '打印统计单',
95
+ props: ['report'],
96
+ data () {
97
+ return {}
98
+ },
99
+ ready () {
100
+ },
101
+ methods: {
102
+ },
103
+ computed: {
104
+ supplement () {
105
+ if (this.material.length < 10) {
106
+ return 10 - this.material.length
107
+ }
108
+ return 0
109
+ }
110
+ }
111
+ }
112
+ </script>
113
+
114
+ <style scoped>
115
+
116
+ </style>