apply-clients 5.0.35-34 → 5.0.35-37

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.
@@ -8,13 +8,10 @@
8
8
  <button type="button" class="btn btn-success" @click='$parent.$parent.showQuery=!$parent.$parent.showQuery'>
9
9
  打印
10
10
  </button>
11
- <export-excel :data="$parent.$parent.getCondition"
12
- :field="$parent.$parent.getfield"
13
- sqlurl="rs/logic/exportfile"
14
- sql-name="checkuserReport"
15
- template-name='报装统计导出'
16
- :choose-col="true"></export-excel>
17
- <button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()" style="margin-left:10%">
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%">
18
15
  <span class="glyphicon glyphicon-search"></span>查询
19
16
  </button>
20
17
  </div>
@@ -23,12 +20,12 @@
23
20
  <data-grid :model="model" partial='list' v-ref:grid class="list_area" is-fixed='false'>
24
21
  <template partial='head'>
25
22
  <tr>
26
- <th colspan="6"><h4>报装人员勘察 安装 通气 统计查询</h4></th>
23
+ <th colspan="7"><h4>报装人员勘察 安装 通气 统计查询</h4></th>
27
24
  </tr>
28
25
  <tr>
29
26
  <th colspan="1" rowspan="2">报装人员</th>
30
27
  <th colspan="2">个人报建</th>
31
- <th colspan="3">集体报建</th>
28
+ <th colspan="4">集体报建</th>
32
29
  </tr>
33
30
  <tr class="title">
34
31
  <th>
@@ -43,6 +40,9 @@
43
40
  <th>
44
41
  <nobr>安装</nobr>
45
42
  </th>
43
+ <th>
44
+ <nobr>验收</nobr>
45
+ </th>
46
46
  <th>
47
47
  <nobr>通气</nobr>
48
48
  </th>
@@ -65,7 +65,9 @@
65
65
  <td style="text-align: center;">
66
66
  <nobr>{{row.jconstruction_unit}}</nobr>
67
67
  </td>
68
-
68
+ <td style="text-align: center;">
69
+ <nobr>{{row.checking_name}}</nobr>
70
+ </td>
69
71
  <td style="text-align: center;">
70
72
  <nobr>{{row.jgas_name}}</nobr>
71
73
  </td>
@@ -73,6 +75,16 @@
73
75
  </template>
74
76
  </data-grid>
75
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>
76
88
  </div>
77
89
  <modal :show.sync="showQuery" v-ref:modal :large="true" :backdrop="false" title="打印预览">
78
90
  <header slot="modal-header" class="modal-header">
@@ -110,7 +122,7 @@
110
122
  import * as Util from '../../Util'
111
123
 
112
124
  export default {
113
- title: '报建统计',
125
+ title: '报建统计报表',
114
126
  data() {
115
127
  return {
116
128
  usertype: this.$appdata.getParam('用户类型'),
@@ -123,6 +135,7 @@
123
135
  }),
124
136
  condition: '',
125
137
  showQuery:false,
138
+ total: new PagedList('rs/sql/checkuserReportTotal', 999999, {orderitem: '`sumname`'}),
126
139
  showstopinfoflag:false,
127
140
  stopremarks:"",
128
141
  getfield: {
@@ -131,6 +144,7 @@
131
144
  'gconstruction_unit': '个体报建安装次数',
132
145
  'jsurvey_name': '集体报建踏勘次数',
133
146
  'jconstruction_unit': '集体报建安装次数',
147
+ 'checking_name': '集体报建验收次数',
134
148
  'jgas_name': '集体报建通气次数'
135
149
  }
136
150
  }
@@ -138,20 +152,13 @@
138
152
  ready() {
139
153
  this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
140
154
  this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
141
- this.$refs.cp.$refs.cri.search()
155
+ this.search()
156
+
142
157
  },
143
158
  methods: {
144
159
  print () {
145
160
  this.$refs.print.$refs.print.PrintTable()
146
161
  },
147
- getCondition() {
148
- return {
149
- condition: this.$refs.cp.$refs.cri.condition,
150
- data: {
151
- orgid: this.$login.f.orgid
152
- }
153
- }
154
- },
155
162
  stopinfoshow(index){
156
163
  this.showstopinfoflag = true;
157
164
  let remakrs = this.model.rows[index].f_stop_remarks;
@@ -165,6 +172,14 @@
165
172
  this.$refs.cp.pager = false
166
173
  this.$dispatch('showbtn', row)
167
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
+ },
168
183
  showpager() {
169
184
  this.$refs.cp.pager = true
170
185
  this.$dispatch('hiddenbtn')
@@ -172,6 +187,11 @@
172
187
  closestopinfo(){
173
188
  this.showstopinfoflag = close;
174
189
  }
190
+ },
191
+ computed: {
192
+ getCondition() {
193
+ return {condition: `1=1`}
194
+ }
175
195
  }
176
196
  }
177
197
  </script>
@@ -21,12 +21,12 @@
21
21
  <div id="print">
22
22
  <table border="1">
23
23
  <tr>
24
- <th colspan="6"><h4>报装人员勘察 安装 通气 统计查询</h4></th>
24
+ <th colspan="7"><h4>报装人员勘察 安装 通气 统计查询</h4></th>
25
25
  </tr>
26
26
  <tr>
27
27
  <th colspan="1" rowspan="2" class="cen">报装人员</th>
28
28
  <th colspan="2" class="cen">个人报建</th>
29
- <th colspan="3" class="cen">集体报建</th>
29
+ <th colspan="4" class="cen">集体报建</th>
30
30
  </tr>
31
31
  <tr class="title">
32
32
  <th class="cen">
@@ -41,6 +41,9 @@
41
41
  <th class="cen">
42
42
  <nobr>安装</nobr>
43
43
  </th>
44
+ <th class="cen">
45
+ <nobr>验收</nobr>
46
+ </th>
44
47
  <th class="cen">
45
48
  <nobr>通气</nobr>
46
49
  </th>
@@ -51,6 +54,7 @@
51
54
  <td>{{ item.gconstruction_unit }}</td>
52
55
  <td>{{ item.jsurvey_name }}</td>
53
56
  <td>{{ item.jconstruction_unit }}</td>
57
+ <td>{{ item.checking_name }}</td>
54
58
  <td>{{ item.jgas_name }}</td>
55
59
  </tr>
56
60
  <tr v-for="item in supplement">
@@ -60,6 +64,7 @@
60
64
  <td></td>
61
65
  <td></td>
62
66
  <td></td>
67
+ <td></td>
63
68
  </tr>
64
69
  </table>
65
70
  </div>