apply-clients 4.1.54-weinan → 4.1.56-weinan

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": "4.1.54-weinan",
3
+ "version": "4.1.56-weinan",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,251 +1,214 @@
1
- <template>
2
- <div class="p-10">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
- <div partial class="auto">
6
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
7
- <label class="">报建编号:</label>
8
- <div class="col-xs-8" >
9
- <input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
10
- </div>
11
- </div>
12
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
13
- <label class="">合同编号:</label>
14
- <div class="col-xs-8" >
15
- <input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
16
- </div>
17
- </div>
18
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
19
- <label class="">报建类型:</label>
20
- <div class="col-xs-8" >
21
- <v-select
22
- width="100%"
23
- v-model="model.f_apply_type"
24
- placeholder='报建类型'
25
- condition="u.f_apply_type = '{}'"
26
- :value.sync="model.f_apply_type"
27
- :options='$parent.$parent.applytype'
28
- class="select select_list"
29
- :value-single="true"
30
- @change="$parent.$parent.applyTypeChange()"
31
- close-on-select ></v-select>
32
- </div>
33
- </div>
34
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
35
- <label class="">办理环节:</label>
36
- <div class="col-xs-8" >
37
- <v-select
38
- width="100%"
39
- v-model="model.defname"
40
- placeholder='办理环节'
41
- condition="defname = '{}'"
42
- :value.sync="model.defname"
43
- :options='$parent.$parent.defnames'
44
- class="select select_list"
45
- :value-single="true"
46
- close-on-select ></v-select>
47
- </div>
48
- </div>
49
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
50
- <label class="">开始时间:</label>
51
- <div class="col-xs-8" >
52
- <datepicker id="startDate" placeholder="开始日期"
53
- style="width: 100%!important;"
54
- v-model="model.startDate"
55
- :value.sync="model.startDate"
56
- :format="'yyyy-MM-dd 00:00:00'"
57
- :show-reset-button="true"
58
- condition="u.f_apply_date >= '{}'">
59
- </datepicker>
60
- </div>
61
- </div>
62
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
63
- <label class="">结束时间:</label>
64
- <div class="col-xs-8" >
65
- <datepicker id="endDate" placeholder="结束日期"
66
- style="width: 100%!important;"
67
- v-model="model.endDate"
68
- :value.sync="model.endDate"
69
- :format="'yyyy-MM-dd 23:59:59'"
70
- :show-reset-button="true"
71
- condition="f_apply_date <= '{}'">
72
- </datepicker>
73
- </div>
74
- </div>
75
- <div class="row form-group text-right" style="">
76
- <button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
77
- <button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
78
- <button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
79
- </div>
80
- </div>
81
- </criteria>
82
- <list :model="model" partial='list'>
83
- <div partial class="auto app-text panel">
84
- <div class="panel-body panel-self">
85
- <div class="col-xs-12">
86
- <p class="col-xs-3 text-left font"><b>工程编号:</b></p>
87
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
88
- </div>
89
- <div class="col-xs-12">
90
- <p class="col-xs-3 text-left font"><b>项目名称:</b></p>
91
- <p class="col-xs-9 text-left input-font">{{ row.f_entry_name }}</p>
92
- </div>
93
- <div class="col-xs-12">
94
- <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
95
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
96
- </div>
97
- <div class="col-xs-12">
98
- <p class="col-xs-3 text-left font"><b>办理环节:</b></p>
99
- <p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
100
- </div>
101
- <div class="col-xs-12">
102
- <p class="col-xs-3 text-left font"><b>用户类型:</b></p>
103
- <p class="col-xs-9 text-left input-font">{{ row.f_user_type }}</p>
104
- </div>
105
- <div class="col-xs-12">
106
- <p class="col-xs-3 text-left font"><b>流程状态:</b></p>
107
- <p class="col-xs-9 text-left input-font">{{ row.f_sub_state }}</p>
108
- </div>
109
- <div class="col-xs-12">
110
- <p class="col-xs-3 text-left font"><b>报建日期:</b></p>
111
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
112
- </div>
113
-
114
-
115
- <div class="col-xs-12 text-right">
116
- <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">查看</button>
117
- </div>
118
- </div>
119
- </div>
120
- </list>
121
- </criteria-paged>
122
- </div>
123
- </template>
124
- <script>
125
- import Vue from 'vue'
126
- import { PagedList, HttpResetClass } from 'vue-client'
127
- import {isEmpty} from '../Util'
128
- export default {
129
- title: '报建流程',
130
- data () {
131
- return {
132
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/supervisory`, 20, {
133
- // model: new PagedList('rs/sql/supervisory', 20, {
134
- data: {
135
- id: Vue.user.id,
136
- orgid: Vue.user.orgid
137
- // id: '35814',
138
- // orgid: '10101'
139
- }
140
- }),
141
- criteriaShow: false,
142
- // applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
143
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型') || [] ], // 所有报建类型
144
- defnames: [{label: '全部', value: ''}],
145
- applyNatures: [{label: '全部', value: ''}] // 报建性质
146
- }
147
- },
148
- ready () {
149
- this.search()
150
- },
151
- methods: {
152
- dialNumber (phone) {
153
- this.$showMessage(`是否拨打电话:${phone}`, ['confirm']).then((res) => {
154
- if (res === 'confirm') {
155
- this.$androidUtil.makeAPhoneCall(phone)
156
- }
157
- })
158
- },
159
- clear () {
160
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
161
- this.$refs.cp.$refs.cri.model[key] = null
162
- })
163
- },
164
- // 查询
165
- search () {
166
- this.$refs.cp.$refs.cri.search()
167
- },
168
- click (row) {
169
- let _this = this
170
- this.$dispatch('gotoson', {
171
- _this: _this,
172
- title: '详情信息',
173
- safe: true
174
- })
175
- this.$goto('app-supervisory-cart', {selectdata: row}, 'self', _this.search)
176
- },
177
- applyTypeChange () {
178
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
179
- let http = new HttpResetClass()
180
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
181
- f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
182
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
183
- this.defnames = [{label: '全部', value: ''}, ...res.data]
184
-
185
- this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
186
- })
187
- } else {
188
- this.defnames = [{label: '全部', value: ''}]
189
-
190
- this.applyNatures = [{label: '全部', value: ''}]
191
- }
192
- }
193
- },
194
- events: {
195
- },
196
- watch: {
197
- }
198
- }
199
- </script>
200
- <style scoped>
201
- .panel-self{
202
- border-radius: 10px;
203
- border:1px solid #499EDF;
204
- background-color: #F8F8F8;
205
- }
206
- .font{
207
- font: 15px PingFang-SC-Medium;
208
- color: #666666;
209
- }
210
-
211
- .button_shrink_top {
212
- width: 34px;
213
- height: 34px;
214
- border: solid 1px #6aa6e2;
215
- background-size: 100%;
216
- background-image: url("../../../static/newStyle/stretch_top.png")
217
- }
218
-
219
- .button_shrink_bottom {
220
- width: 34px;
221
- height: 34px;
222
- border: solid 1px #6aa6e2;
223
- background-size: 100%;
224
- background-image: url("../../../static/newStyle/stretch_bottom.png")
225
- }
226
- </style>
227
- <style lang="less">
228
- .app-input {
229
- label {
230
- float: left;
231
- }
232
- .select {
233
- button {
234
- border: none;
235
- outline: none;
236
- text-align: left;
237
- .btn-placeholder {
238
- color: #ACA899
239
- }
240
- }
241
- }
242
- .datepicker {
243
- .form-control:focus {
244
- border: none!important;
245
- outline: none!important;
246
- -webkit-box-shadow: none;
247
- box-shadow: none;
248
- }
249
- }
250
- }
251
- </style>
1
+ <template>
2
+ <div class="p-10">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div partial class="auto">
6
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
7
+ <label class="">报建编号:</label>
8
+ <div class="col-xs-8" >
9
+ <input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
10
+ </div>
11
+ </div>
12
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
13
+ <label class="">开始时间:</label>
14
+ <div class="col-xs-8" >
15
+ <datepicker id="startDate" placeholder="开始日期"
16
+ style="width: 100%!important;"
17
+ v-model="model.startDate"
18
+ :value.sync="model.startDate"
19
+ :format="'yyyy-MM-dd 00:00:00'"
20
+ :show-reset-button="true"
21
+ condition="act.finishtime >= '{}'">
22
+ </datepicker>
23
+ </div>
24
+ </div>
25
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
26
+ <label class="">结束时间:</label>
27
+ <div class="col-xs-8" >
28
+ <datepicker id="endDate" placeholder="结束日期"
29
+ style="width: 100%!important;"
30
+ v-model="model.endDate"
31
+ :value.sync="model.endDate"
32
+ :format="'yyyy-MM-dd 23:59:59'"
33
+ :show-reset-button="true"
34
+ condition="act.finishtime <= '{}'">
35
+ </datepicker>
36
+ </div>
37
+ </div>
38
+ <div class="row form-group text-right" style="">
39
+ <button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
40
+ <button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
41
+ <button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
42
+ </div>
43
+ </div>
44
+ </criteria>
45
+ <list :model="model" partial='list'>
46
+ <div partial class="auto app-text panel">
47
+ <div class="panel-body panel-self">
48
+ <div class="col-xs-12">
49
+ <p class="col-xs-3 text-left font"><b>工程编号:</b></p>
50
+ <p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
51
+ </div>
52
+ <div class="col-xs-12">
53
+ <p class="col-xs-3 text-left font"><b>项目名称:</b></p>
54
+ <p class="col-xs-9 text-left input-font">{{ row.f_entry_name }}</p>
55
+ </div>
56
+ <div class="col-xs-12">
57
+ <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
58
+ <p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
59
+ </div>
60
+ <div class="col-xs-12">
61
+ <p class="col-xs-3 text-left font"><b>用户类型:</b></p>
62
+ <p class="col-xs-9 text-left input-font">{{ row.f_user_type }}</p>
63
+ </div>
64
+ <div class="col-xs-12">
65
+ <p class="col-xs-3 text-left font"><b>入户安装提交时间:</b></p>
66
+ <p class="col-xs-9 text-left input-font">{{ row.finishtime }}</p>
67
+ </div>
68
+ <div class="col-xs-12">
69
+ <p class="col-xs-3 text-left font"><b>总收费:</b></p>
70
+ <p class="col-xs-9 text-left input-font">{{ row.summoney }}</p>
71
+ </div>
72
+ <div class="col-xs-12">
73
+ <p class="col-xs-3 text-left font"><b>收费人员:</b></p>
74
+ <p class="col-xs-9 text-left input-font">{{ row.f_charge_collectors }}</p>
75
+ </div>
76
+ <div class="col-xs-12 text-right">
77
+ <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">查看</button>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </list>
82
+ </criteria-paged>
83
+ </div>
84
+ </template>
85
+ <script>
86
+ import Vue from 'vue'
87
+ import { PagedList, HttpResetClass } from 'vue-client'
88
+ import {toStandardDateString,isEmpty} from '../Util'
89
+ export default {
90
+ title: '报建流程',
91
+ data () {
92
+ return {
93
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getDone`, 20, {
94
+ // model: new PagedList('rs/sql/supervisory', 20, {
95
+ data: {
96
+ name: Vue.user.name,
97
+ orgid: Vue.user.orgid
98
+ // id: '35814',
99
+ // orgid: '10101'
100
+ }
101
+ }),
102
+ criteriaShow: false,
103
+ // applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
104
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型') || [] ], // 所有报建类型
105
+ defnames: [{label: '全部', value: ''}],
106
+ applyNatures: [{label: '全部', value: ''}] // 报建性质
107
+ }
108
+ },
109
+ ready () {
110
+ this.$refs.cp.$refs.cri.model.startDate = toStandardDateString() + ' 00:00:00'
111
+ this.$refs.cp.$refs.cri.model.endDate = toStandardDateString() + ' 23:59:59'
112
+ this.search()
113
+ },
114
+ methods: {
115
+ dialNumber (phone) {
116
+ this.$showMessage(`是否拨打电话:${phone}`, ['confirm']).then((res) => {
117
+ if (res === 'confirm') {
118
+ this.$androidUtil.makeAPhoneCall(phone)
119
+ }
120
+ })
121
+ },
122
+ clear () {
123
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
124
+ this.$refs.cp.$refs.cri.model[key] = null
125
+ })
126
+ },
127
+ // 查询
128
+ search () {
129
+ this.$refs.cp.$refs.cri.search()
130
+ },
131
+ click (row) {
132
+ let _this = this
133
+ this.$dispatch('gotoson', {
134
+ _this: _this,
135
+ title: '详情信息',
136
+ safe: true
137
+ })
138
+ this.$goto('app-supervisory-cart', {selectdata: row}, 'self', _this.search)
139
+ },
140
+ applyTypeChange () {
141
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
142
+ let http = new HttpResetClass()
143
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
144
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
145
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
146
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
147
+
148
+ this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
149
+ })
150
+ } else {
151
+ this.defnames = [{label: '全部', value: ''}]
152
+
153
+ this.applyNatures = [{label: '全部', value: ''}]
154
+ }
155
+ }
156
+ },
157
+ events: {
158
+ },
159
+ watch: {
160
+ }
161
+ }
162
+ </script>
163
+ <style scoped>
164
+ .panel-self{
165
+ border-radius: 10px;
166
+ border:1px solid #499EDF;
167
+ background-color: #F8F8F8;
168
+ }
169
+ .font{
170
+ font: 15px PingFang-SC-Medium;
171
+ color: #666666;
172
+ }
173
+
174
+ .button_shrink_top {
175
+ width: 34px;
176
+ height: 34px;
177
+ border: solid 1px #6aa6e2;
178
+ background-size: 100%;
179
+ background-image: url("../../../static/newStyle/stretch_top.png")
180
+ }
181
+
182
+ .button_shrink_bottom {
183
+ width: 34px;
184
+ height: 34px;
185
+ border: solid 1px #6aa6e2;
186
+ background-size: 100%;
187
+ background-image: url("../../../static/newStyle/stretch_bottom.png")
188
+ }
189
+ </style>
190
+ <style lang="less">
191
+ .app-input {
192
+ label {
193
+ float: left;
194
+ }
195
+ .select {
196
+ button {
197
+ border: none;
198
+ outline: none;
199
+ text-align: left;
200
+ .btn-placeholder {
201
+ color: #ACA899
202
+ }
203
+ }
204
+ }
205
+ .datepicker {
206
+ .form-control:focus {
207
+ border: none!important;
208
+ outline: none!important;
209
+ -webkit-box-shadow: none;
210
+ box-shadow: none;
211
+ }
212
+ }
213
+ }
214
+ </style>