apply-clients 3.3.218 → 3.3.219

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