apply-clients 3.4.89-16 → 3.4.89-17

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.4.89-16",
3
+ "version": "3.4.89-17",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,246 +1,246 @@
1
- <template>
2
- <div class="flex-row">
3
- <div style="height: 95%" class="basic-main" >
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-3">
9
- <label class="font_normal_body">用户名称:</label>
10
- <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
11
- v-on:keyup.enter="$parent.$parent.search()"
12
- condition="a.f_user_name like '%{}%'">
13
- </div>
14
- <div class="form-group col-sm-3">
15
- <label class="font_normal_body">用户编号:</label>
16
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
17
- v-on:keyup.enter="$parent.$parent.search()"
18
- condition="a.f_userinfo_code like '%{}%'">
19
- </div>
20
- <div class="form-group col-sm-3">
21
- <label class="font_normal_body">合同编号:</label>
22
- <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
23
- v-on:keyup.enter="$parent.$parent.search()"
24
- condition="a.f_contract_number like '%{}%'">
25
- </div>
26
- <div class="form-group col-sm-3">
27
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
28
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
29
- v-on:keyup.enter="$parent.$parent.search()"
30
- condition="a.f_address like '%{}%'">
31
- </div>
32
- <!-- <div class="form-group col-sm-3">-->
33
- <!-- <label class="font_normal_body">工程编号:</label>-->
34
- <!-- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
35
- <!-- v-on:keyup.enter="$parent.$parent.search()"-->
36
- <!-- condition="a.f_apply_num like '%{}%'">-->
37
- <!-- </div>-->
38
- <div class="form-group col-sm-3 button-range">
39
- <div style="float: right" class="button_spacing"
40
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
41
- @click="$parent.$parent.hidden()"></div>
42
- <div style="float: right" class="button_spacing"
43
- :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
44
- @click="$parent.$parent.hiddenr()"></div>
45
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
46
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
47
- <export-excel :data="$parent.$parent.getConditions"
48
- :field="$parent.$parent.getfield"
49
- sqlurl="rs/logic/applyExportfile"
50
- sql-name="applyMaterialuser"
51
- template-name='材料查看'
52
- :choose-col="true"></export-excel>
53
- </div>
54
- </div>
55
- <div class="row" v-show="$parent.$parent.criteriaShow">
56
-
57
- <div class="form-group col-sm-3">
58
- <label class="font_normal_body">审&nbsp;核&nbsp;人:</label>
59
- <input type="text" style="width: 60%" class="input_search" placeholder='审核人' v-model="model.defoper"
60
- v-on:keyup.enter="$parent.$parent.search()"
61
- >
62
- </div>
63
- <div class="form-group col-sm-3">
64
- <label class="font_normal_body">报建类型:</label>
65
- <v-select
66
- v-model="model.f_apply_type"
67
- placeholder='报建类型'
68
- condition="f_apply_type = '{}'"
69
- :value.sync="model.f_apply_type"
70
- :options='$appdata.getParam("报建类型")'
71
- class="select select_list"
72
- :value-single="true"
73
- close-on-select ></v-select>
74
- </div>
75
- <div class="form-group col-sm-3">
76
- <label for="startDate" class="font_normal_body">开始时间:</label>
77
- <datepicker id="startDate" placeholder="开始日期"
78
- style="width: 60%!important;"
79
- v-model="model.startDate"
80
- :value.sync="model.startDate"
81
- :format="'yyyy-MM-dd 00:00:00'"
82
- :show-reset-button="true"
83
- >
84
- </datepicker>
85
- </div>
86
- <div class="form-group col-sm-3">
87
- <label for="endDate" class="font_normal_body">结束时间:</label>
88
- <datepicker id="endDate" placeholder="结束日期"
89
- style="width: 60%!important;"
90
- v-model="model.endDate"
91
- :value.sync="model.endDate"
92
- :format="'yyyy-MM-dd 23:59:59'"
93
- :show-reset-button="true"
94
- >
95
- </datepicker>
96
- </div>
97
- <div class="form-group col-sm-3">
98
- <label class="font_normal_body">组织机构:</label>
99
- <res-select
100
- restype='organization'
101
- :initresid='$parent.$parent.curorgid'
102
- @res-select="$parent.$parent.getorg"
103
- is-mul="false"
104
- ></res-select>
105
- </div>
106
- </div>
107
- </div>
108
- </criteria>
109
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
110
- <template partial='head'>
111
- <tr>
112
- <th>序号</th>
113
- <!-- <th>工程编号</th>-->
114
- <th>合同编号</th>
115
- <th>用户编号</th>
116
- <th>用户名称</th>
117
- <th>地址</th>
118
- <th>财务审核时间</th>
119
- <th>审核人</th>
120
- <th>报建类型</th>
121
- <th>材料数量</th>
122
- </tr>
123
- </template>
124
- <template partial='body'>
125
- <tr >
126
- <td style="text-align: center;">
127
- <nobr><font>{{$index+1}}</font></nobr>
128
- </td>
129
- <!-- <td style="text-align: center;">-->
130
- <!-- <nobr><font>{{row.f_apply_num}}</font></nobr>-->
131
- <!-- </td>-->
132
- <td style="text-align: center;">
133
- <nobr><font>{{row.f_contract_number}}</font></nobr>
134
- </td>
135
- <td style="text-align: center;">
136
- <nobr><font>{{row.f_userinfo_code}}</font></nobr>
137
- </td>
138
- <td style="text-align: center;">
139
- <nobr><font>{{row.f_user_name}}</font></nobr>
140
- </td>
141
- <td style="text-align: center;">
142
- <nobr><font>{{row.f_address}}</font></nobr>
143
- </td>
144
- <td style="text-align: center;">
145
- <nobr><font>{{row.defdate}}</font></nobr>
146
- </td>
147
- <td style="text-align: center;">
148
- <nobr><font>{{row.defoper}}</font></nobr>
149
- </td>
150
- <td style="text-align: center;">
151
- <nobr><font>{{row.f_apply_type}}</font></nobr>
152
- </td>
153
- <td style="text-align: center;">
154
- <nobr><font>{{row.materialnum}}</font></nobr>
155
- </td>
156
- </tr>
157
- </template>
158
- </data-grid>
159
- </criteria-paged>
160
- </div>
161
-
162
- </div>
163
- </template>
164
-
165
- <script>
166
- import {PagedList} from 'vue-client'
167
- export default {
168
- title: '材料明细',
169
- data () {
170
- return {
171
- model: new PagedList('rs/sql/applyMaterialuser', 30, null),
172
- curorgid: [this.$login.f.orgid],
173
- criteriaShow: false,
174
- orgid: '',
175
- getfield: {
176
- 'f_contract_number': '合同编号',
177
- 'f_userinfo_code': '用户编号',
178
- 'f_user_name': '用户名称',
179
- 'f_address': '地址',
180
- 'defdate': '财务审核时间',
181
- 'defoper': '审核人',
182
- 'f_apply_type': '报建类型',
183
- 'materialnum': '材料数量'
184
- }
185
- }
186
- },
187
- ready () {
188
- // 调用查询
189
- this.search()
190
- },
191
- methods: {
192
- clear () {
193
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
194
- this.$refs.cp.$refs.cri.model[key] = ''
195
- })
196
- },
197
- searchCondition (args) {
198
- args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
199
- let condvalue = '1=1'
200
- if (args.model.defoper) {
201
- condvalue += ` and defoper like '%${args.model.defoper}%'`
202
- }
203
- if (args.model.startDate) {
204
- condvalue += ` and defdate >= '${args.model.startDate}'`
205
- }
206
- if (args.model.endDate) {
207
- condvalue += ` and defdate <= '${args.model.endDate}'`
208
- }
209
- this.model.search(args.condition, args.model, condvalue)
210
- },
211
- // 查询
212
- search () {
213
- this.$refs.cp.$refs.cri.search()
214
- },
215
- getorg (val) {
216
- if (val.length <= 0) {
217
- return
218
- }
219
- this.curorgid = val
220
- this.search()
221
- },
222
- hiddenr () {
223
- this.$parent.showItem = !this.$parent.showItem
224
- },
225
- hidden () {
226
- this.criteriaShow = !this.criteriaShow
227
- }
228
- },
229
- computed: {
230
- getConditions () {
231
- return {
232
- condition: this.model.condition,
233
- condValue: "1 = 1"
234
- }
235
- },
236
- getCondition () {
237
- return {
238
- condition: this.model.condition
239
- }
240
- }
241
- }
242
- }
243
- </script>
244
-
245
- <style scoped>
246
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div style="height: 95%" class="basic-main" >
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">用户名称:</label>
10
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
11
+ v-on:keyup.enter="$parent.$parent.search()"
12
+ condition="a.f_user_name like '%{}%'">
13
+ </div>
14
+ <div class="form-group col-sm-3">
15
+ <label class="font_normal_body">用户编号:</label>
16
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
17
+ v-on:keyup.enter="$parent.$parent.search()"
18
+ condition="a.f_userinfo_code like '%{}%'">
19
+ </div>
20
+ <div class="form-group col-sm-3">
21
+ <label class="font_normal_body">合同编号:</label>
22
+ <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
23
+ v-on:keyup.enter="$parent.$parent.search()"
24
+ condition="a.f_contract_number like '%{}%'">
25
+ </div>
26
+ <div class="form-group col-sm-3">
27
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
28
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
29
+ v-on:keyup.enter="$parent.$parent.search()"
30
+ condition="a.f_address like '%{}%'">
31
+ </div>
32
+ <!-- <div class="form-group col-sm-3">-->
33
+ <!-- <label class="font_normal_body">工程编号:</label>-->
34
+ <!-- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
35
+ <!-- v-on:keyup.enter="$parent.$parent.search()"-->
36
+ <!-- condition="a.f_apply_num like '%{}%'">-->
37
+ <!-- </div>-->
38
+ <div class="form-group col-sm-3 button-range">
39
+ <div style="float: right" class="button_spacing"
40
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
41
+ @click="$parent.$parent.hidden()"></div>
42
+ <div style="float: right" class="button_spacing"
43
+ :class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
44
+ @click="$parent.$parent.hiddenr()"></div>
45
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
46
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
47
+ <export-excel :data="$parent.$parent.getConditions"
48
+ :field="$parent.$parent.getfield"
49
+ sqlurl="rs/logic/applyExportfile"
50
+ sql-name="applyMaterialuser"
51
+ template-name='材料查看'
52
+ :choose-col="true"></export-excel>
53
+ </div>
54
+ </div>
55
+ <div class="row" v-show="$parent.$parent.criteriaShow">
56
+
57
+ <div class="form-group col-sm-3">
58
+ <label class="font_normal_body">审&nbsp;核&nbsp;人:</label>
59
+ <input type="text" style="width: 60%" class="input_search" placeholder='审核人' v-model="model.defoper"
60
+ v-on:keyup.enter="$parent.$parent.search()"
61
+ >
62
+ </div>
63
+ <div class="form-group col-sm-3">
64
+ <label class="font_normal_body">报建类型:</label>
65
+ <v-select
66
+ v-model="model.f_apply_type"
67
+ placeholder='报建类型'
68
+ condition="f_apply_type = '{}'"
69
+ :value.sync="model.f_apply_type"
70
+ :options='$appdata.getParam("报建类型")'
71
+ class="select select_list"
72
+ :value-single="true"
73
+ close-on-select ></v-select>
74
+ </div>
75
+ <div class="form-group col-sm-3">
76
+ <label for="startDate" class="font_normal_body">开始时间:</label>
77
+ <datepicker id="startDate" placeholder="开始日期"
78
+ style="width: 60%!important;"
79
+ v-model="model.startDate"
80
+ :value.sync="model.startDate"
81
+ :format="'yyyy-MM-dd 00:00:00'"
82
+ :show-reset-button="true"
83
+ >
84
+ </datepicker>
85
+ </div>
86
+ <div class="form-group col-sm-3">
87
+ <label for="endDate" class="font_normal_body">结束时间:</label>
88
+ <datepicker id="endDate" placeholder="结束日期"
89
+ style="width: 60%!important;"
90
+ v-model="model.endDate"
91
+ :value.sync="model.endDate"
92
+ :format="'yyyy-MM-dd 23:59:59'"
93
+ :show-reset-button="true"
94
+ >
95
+ </datepicker>
96
+ </div>
97
+ <div class="form-group col-sm-3">
98
+ <label class="font_normal_body">组织机构:</label>
99
+ <res-select
100
+ restype='organization'
101
+ :initresid='$parent.$parent.curorgid'
102
+ @res-select="$parent.$parent.getorg"
103
+ is-mul="false"
104
+ ></res-select>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </criteria>
109
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
110
+ <template partial='head'>
111
+ <tr>
112
+ <th>序号</th>
113
+ <!-- <th>工程编号</th>-->
114
+ <th>合同编号</th>
115
+ <th>用户编号</th>
116
+ <th>用户名称</th>
117
+ <th>地址</th>
118
+ <th>财务审核时间</th>
119
+ <th>审核人</th>
120
+ <th>报建类型</th>
121
+ <th>材料数量</th>
122
+ </tr>
123
+ </template>
124
+ <template partial='body'>
125
+ <tr >
126
+ <td style="text-align: center;">
127
+ <nobr><font>{{$index+1}}</font></nobr>
128
+ </td>
129
+ <!-- <td style="text-align: center;">-->
130
+ <!-- <nobr><font>{{row.f_apply_num}}</font></nobr>-->
131
+ <!-- </td>-->
132
+ <td style="text-align: center;">
133
+ <nobr><font>{{row.f_contract_number}}</font></nobr>
134
+ </td>
135
+ <td style="text-align: center;">
136
+ <nobr><font>{{row.f_userinfo_code}}</font></nobr>
137
+ </td>
138
+ <td style="text-align: center;">
139
+ <nobr><font>{{row.f_user_name}}</font></nobr>
140
+ </td>
141
+ <td style="text-align: center;">
142
+ <nobr><font>{{row.f_address}}</font></nobr>
143
+ </td>
144
+ <td style="text-align: center;">
145
+ <nobr><font>{{row.defdate}}</font></nobr>
146
+ </td>
147
+ <td style="text-align: center;">
148
+ <nobr><font>{{row.defoper}}</font></nobr>
149
+ </td>
150
+ <td style="text-align: center;">
151
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
152
+ </td>
153
+ <td style="text-align: center;">
154
+ <nobr><font>{{row.materialnum}}</font></nobr>
155
+ </td>
156
+ </tr>
157
+ </template>
158
+ </data-grid>
159
+ </criteria-paged>
160
+ </div>
161
+
162
+ </div>
163
+ </template>
164
+
165
+ <script>
166
+ import {PagedList} from 'vue-client'
167
+ export default {
168
+ title: '材料明细',
169
+ data () {
170
+ return {
171
+ model: new PagedList('rs/sql/applyMaterialuser', 30, null),
172
+ curorgid: [this.$login.f.orgid],
173
+ criteriaShow: false,
174
+ orgid: '',
175
+ getfield: {
176
+ 'f_contract_number': '合同编号',
177
+ 'f_userinfo_code': '用户编号',
178
+ 'f_user_name': '用户名称',
179
+ 'f_address': '地址',
180
+ 'defdate': '财务审核时间',
181
+ 'defoper': '审核人',
182
+ 'f_apply_type': '报建类型',
183
+ 'materialnum': '材料数量'
184
+ }
185
+ }
186
+ },
187
+ ready () {
188
+ // 调用查询
189
+ this.search()
190
+ },
191
+ methods: {
192
+ clear () {
193
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
194
+ this.$refs.cp.$refs.cri.model[key] = ''
195
+ })
196
+ },
197
+ searchCondition (args) {
198
+ args.condition = args.condition + ` and ma.f_orgid = '${this.curorgid[0]}'`
199
+ let condvalue = '1=1'
200
+ if (args.model.defoper) {
201
+ condvalue += ` and defoper like '%${args.model.defoper}%'`
202
+ }
203
+ if (args.model.startDate) {
204
+ condvalue += ` and defdate >= '${args.model.startDate}'`
205
+ }
206
+ if (args.model.endDate) {
207
+ condvalue += ` and defdate <= '${args.model.endDate}'`
208
+ }
209
+ this.model.search(args.condition, args.model, condvalue)
210
+ },
211
+ // 查询
212
+ search () {
213
+ this.$refs.cp.$refs.cri.search()
214
+ },
215
+ getorg (val) {
216
+ if (val.length <= 0) {
217
+ return
218
+ }
219
+ this.curorgid = val
220
+ this.search()
221
+ },
222
+ hiddenr () {
223
+ this.$parent.showItem = !this.$parent.showItem
224
+ },
225
+ hidden () {
226
+ this.criteriaShow = !this.criteriaShow
227
+ }
228
+ },
229
+ computed: {
230
+ getConditions () {
231
+ return {
232
+ condition: this.model.condition,
233
+ condValue: this.model.condValue
234
+ }
235
+ },
236
+ getCondition () {
237
+ return {
238
+ condition: this.model.condition
239
+ }
240
+ }
241
+ }
242
+ }
243
+ </script>
244
+
245
+ <style scoped>
246
+ </style>
@@ -860,7 +860,7 @@
860
860
  'POST',
861
861
  `rs/sql/apply_singleTable`,
862
862
  {data: data},
863
- {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
863
+ {resolveMsg: null, rejectMsg: '查询缴费记录失败!!!'}
864
864
  )
865
865
  if(res.data.length<=0){
866
866
  this.$showMessage('材料费用未收取,请收费')