apply-clients 3.3.13 → 3.3.14

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.13",
3
+ "version": "3.3.14",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -4,12 +4,6 @@
4
4
  <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
5
  <div partial class="auto">
6
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_entry_name condition="u.f_entry_name like '%{}%'" />
10
- </div>
11
- </div>
12
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
13
7
  <label class="">客户名称:</label>
14
8
  <div class="col-xs-8" >
15
9
  <input class="" v-model=model.f_user_name condition="u.f_user_name like '%{}%'" />
@@ -107,10 +101,6 @@
107
101
  <list :model="model" partial='list'>
108
102
  <div partial class="auto app-text panel">
109
103
  <div class="panel-body panel-self">
110
- <div class="col-xs-12">
111
- <p class="col-xs-3 text-left font"><b>项目名称:</b></p>
112
- <p class="col-xs-9 text-left input-font">{{ row.f_entry_name }}</p>
113
- </div>
114
104
  <div class="col-xs-12">
115
105
  <p class="col-xs-3 text-left font"><b>客户名称:</b></p>
116
106
  <p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
@@ -1,278 +1,268 @@
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_entry_name condition="u.f_entry_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_user_name condition="u.f_user_name 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_phone condition="u.f_phone 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_apply_num condition="u.f_apply_num 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
- <input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
34
- </div>
35
- </div>
36
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
37
- <label class="">报建类型:</label>
38
- <div class="col-xs-8" >
39
- <v-select
40
- width="100%"
41
- v-model="model.f_apply_type"
42
- placeholder='报建类型'
43
- condition="u.f_apply_type like '%{}%'"
44
- :value.sync="model.f_apply_type"
45
- :options='$parent.$parent.applytype'
46
- class="select select_list"
47
- :value-single="true"
48
- @change="$parent.$parent.applyTypeChange()"
49
- close-on-select ></v-select>
50
- </div>
51
- </div>
52
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
53
- <label class="">办理环节:</label>
54
- <div class="col-xs-8" >
55
- <v-select
56
- width="100%"
57
- v-model="model.defname"
58
- placeholder='办理环节'
59
- condition="act.defname = '{}'"
60
- :value.sync="model.defname"
61
- :options='$parent.$parent.defnames'
62
- class="select select_list"
63
- :value-single="true"
64
- close-on-select ></v-select>
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
-
107
- <list :model="model" partial='list'>
108
- <div partial class="auto app-text panel">
109
- <div class="panel-body panel-self">
110
- <div class="col-xs-12">
111
- <p class="col-xs-3 text-left font"><b>项目名称:</b></p>
112
- <p class="col-xs-9 text-left input-font">{{ row.f_entry_name }}</p>
113
- </div>
114
- <div class="col-xs-12">
115
- <p class="col-xs-3 text-left font"><b>客户名称:</b></p>
116
- <p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
117
- </div>
118
- <div class="col-xs-12">
119
- <p class="col-xs-3 text-left font"><b>电&emsp;&emsp;话:</b></p>
120
- <p class="col-xs-9 text-left input-font">{{ row.f_phone }}</p>
121
- </div>
122
- <div class="col-xs-12">
123
- <p class="col-xs-3 text-left font"><b>工程编号:</b></p>
124
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
125
- </div>
126
- <div class="col-xs-12">
127
- <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
128
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
129
- </div>
130
- <div class="col-xs-12">
131
- <p class="col-xs-3 text-left font"><b>办理环节:</b></p>
132
- <p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
133
- </div>
134
- <div class="col-xs-12">
135
- <p class="col-xs-3 text-left font"><b>地&emsp;&emsp;址:</b></p>
136
- <p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
137
- </div>
138
- <div class="col-xs-12">
139
- <p class="col-xs-3 text-left font"><b>报建日期:</b></p>
140
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
141
- </div>
142
-
143
- <div class="col-xs-12 text-right">
144
- <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">处理</button>
145
- </div>
146
- </div>
147
- </div>
148
- </list>
149
- </criteria-paged>
150
- </div>
151
- </template>
152
- <script>
153
- import Vue from 'vue'
154
- import { PagedList, HttpResetClass } from 'vue-client'
155
- import {isEmpty} from '../../Util'
156
- export default {
157
- title: '报建流程',
158
- data () {
159
- return {
160
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, 20, {
161
- // model: new PagedList('rs/sql/checkuser', 20, {
162
- data: {
163
- id: Vue.user.id,
164
- orgid: Vue.user.orgid
165
- // id: '51953',
166
- // orgid: '10101'
167
- }
168
- }),
169
- criteriaShow: false,
170
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
171
- defnames: [{label: '全部', value: ''}]
172
- }
173
- },
174
- ready () {
175
- this.search()
176
- },
177
- methods: {
178
- clear () {
179
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
180
- this.$refs.cp.$refs.cri.model[key] = null
181
- })
182
- },
183
- // 查询
184
- search () {
185
- this.$refs.cp.$refs.cri.search()
186
- },
187
- searchCondition (args) {
188
- args.condition += `and act.defname in ${this.appDefnames}`
189
- this.model.search(args.condition, args.model)
190
- },
191
- click (row) {
192
- let _this = this
193
- this.$dispatch('gotoson', {
194
- _this: _this,
195
- title: row.defname,
196
- safe: true
197
- })
198
- this.$goto('app-service-control', {selectdata: row}, 'self', _this.search)
199
- },
200
- applyTypeChange () {
201
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
202
- let http = new HttpResetClass()
203
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
204
- // http.load('POST', 'rs/logic/getDefnameByType', {
205
- f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
206
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
207
- this.defnames = [{label: '全部', value: ''}, ...res.data]
208
- })
209
- } else {
210
- this.defnames = [{label: '全部', value: ''}]
211
- }
212
- }
213
- },
214
- events: {
215
- },
216
- watch: {
217
- },
218
- computed: {
219
- appDefnames () {
220
- // let list = [{label: '报装缴费', value: '报装缴费'}, {label: '通气点火', value: '通气点火'}]
221
- let list = this.$appdata.getParam('手机节点')
222
- return `(${list.map(item => `'${item.value}'`).toString()})`
223
- }
224
- }
225
- }
226
- </script>
227
- <style scoped>
228
- .panel-self{
229
- border-radius: 10px;
230
- border:1px solid #499EDF;
231
- background-color: #F8F8F8;
232
- }
233
- .font{
234
- font: 15px PingFang-SC-Medium;
235
- color: #666666;
236
- }
237
-
238
- .button_shrink_top {
239
- width: 34px;
240
- height: 34px;
241
- border: solid 1px #6aa6e2;
242
- background-size: 100%;
243
- background-image: url("../../../../static/newStyle/stretch_top.png")
244
- }
245
-
246
- .button_shrink_bottom {
247
- width: 34px;
248
- height: 34px;
249
- border: solid 1px #6aa6e2;
250
- background-size: 100%;
251
- background-image: url("../../../../static/newStyle/stretch_bottom.png")
252
- }
253
- </style>
254
- <style lang="less">
255
- .app-input {
256
- label {
257
- float: left;
258
- }
259
- .select {
260
- button {
261
- border: none;
262
- outline: none;
263
- text-align: left;
264
- .btn-placeholder {
265
- color: #ACA899
266
- }
267
- }
268
- }
269
- .datepicker {
270
- .form-control:focus {
271
- border: none!important;
272
- outline: none!important;
273
- -webkit-box-shadow: none;
274
- box-shadow: none;
275
- }
276
- }
277
- }
278
- </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: '51953',
156
+ // orgid: '10101'
157
+ }
158
+ }),
159
+ criteriaShow: false,
160
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
161
+ defnames: [{label: '全部', value: ''}]
162
+ }
163
+ },
164
+ ready () {
165
+ this.search()
166
+ },
167
+ methods: {
168
+ clear () {
169
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
170
+ this.$refs.cp.$refs.cri.model[key] = null
171
+ })
172
+ },
173
+ // 查询
174
+ search () {
175
+ this.$refs.cp.$refs.cri.search()
176
+ },
177
+ searchCondition (args) {
178
+ args.condition += `and act.defname in ${this.appDefnames}`
179
+ this.model.search(args.condition, args.model)
180
+ },
181
+ click (row) {
182
+ let _this = this
183
+ this.$dispatch('gotoson', {
184
+ _this: _this,
185
+ title: row.defname,
186
+ safe: true
187
+ })
188
+ this.$goto('app-service-control', {selectdata: row}, 'self', _this.search)
189
+ },
190
+ applyTypeChange () {
191
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
192
+ let http = new HttpResetClass()
193
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
194
+ // http.load('POST', 'rs/logic/getDefnameByType', {
195
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
196
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
197
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
198
+ })
199
+ } else {
200
+ this.defnames = [{label: '全部', value: ''}]
201
+ }
202
+ }
203
+ },
204
+ events: {
205
+ },
206
+ watch: {
207
+ },
208
+ computed: {
209
+ appDefnames () {
210
+ // let list = [{label: '报装缴费', value: '报装缴费'}, {label: '通气点火', value: '通气点火'}]
211
+ let list = this.$appdata.getParam('手机节点')
212
+ return `(${list.map(item => `'${item.value}'`).toString()})`
213
+ }
214
+ }
215
+ }
216
+ </script>
217
+ <style scoped>
218
+ .panel-self{
219
+ border-radius: 10px;
220
+ border:1px solid #499EDF;
221
+ background-color: #F8F8F8;
222
+ }
223
+ .font{
224
+ font: 15px PingFang-SC-Medium;
225
+ color: #666666;
226
+ }
227
+
228
+ .button_shrink_top {
229
+ width: 34px;
230
+ height: 34px;
231
+ border: solid 1px #6aa6e2;
232
+ background-size: 100%;
233
+ background-image: url("../../../../static/newStyle/stretch_top.png")
234
+ }
235
+
236
+ .button_shrink_bottom {
237
+ width: 34px;
238
+ height: 34px;
239
+ border: solid 1px #6aa6e2;
240
+ background-size: 100%;
241
+ background-image: url("../../../../static/newStyle/stretch_bottom.png")
242
+ }
243
+ </style>
244
+ <style lang="less">
245
+ .app-input {
246
+ label {
247
+ float: left;
248
+ }
249
+ .select {
250
+ button {
251
+ border: none;
252
+ outline: none;
253
+ text-align: left;
254
+ .btn-placeholder {
255
+ color: #ACA899
256
+ }
257
+ }
258
+ }
259
+ .datepicker {
260
+ .form-control:focus {
261
+ border: none!important;
262
+ outline: none!important;
263
+ -webkit-box-shadow: none;
264
+ box-shadow: none;
265
+ }
266
+ }
267
+ }
268
+ </style>
@@ -4,12 +4,6 @@
4
4
  <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
5
  <div partial class="auto">
6
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_entry_name condition="u.f_entry_name like '%{}%'" />
10
- </div>
11
- </div>
12
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
13
7
  <label class="">客户名称:</label>
14
8
  <div class="col-xs-8" >
15
9
  <input class="" v-model=model.f_user_name condition="u.f_user_name like '%{}%'" />
@@ -112,10 +106,6 @@
112
106
  <list :model="model" partial='list'>
113
107
  <div partial class="auto app-text panel">
114
108
  <div class="panel-body panel-self">
115
- <div class="col-xs-12">
116
- <p class="col-xs-3 text-left font"><b>项目名称:</b></p>
117
- <p class="col-xs-9 text-left input-font">{{ row.f_entry_name }}</p>
118
- </div>
119
109
  <div class="col-xs-12">
120
110
  <p class="col-xs-3 text-left font"><b>客户名称:</b></p>
121
111
  <p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
@@ -58,11 +58,6 @@
58
58
  v-on:keyup.enter="$parent.$parent.search()"
59
59
  condition="a.f_apply_num = '{}'">
60
60
  </div>
61
- <div class="form-group col-sm-3">
62
- <label class="font_normal_body">项目名称:</label>
63
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_entry_name"
64
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_entry_name like '%{}%'" placeholder='项目名'>
65
- </div>
66
61
  <div class="form-group col-sm-3">
67
62
  <label class="font_normal_body">合同编号:</label>
68
63
  <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
@@ -125,7 +120,6 @@
125
120
  <tr>
126
121
  <th>序号</th>
127
122
  <th>工程编号</th>
128
- <th>项目名称</th>
129
123
  <th>合同编号</th>
130
124
  <th>报建类型</th>
131
125
  <th>缴费编码</th>
@@ -145,9 +139,6 @@
145
139
  <td style="text-align: center;">
146
140
  <nobr><font>{{row.f_apply_num}}</font></nobr>
147
141
  </td>
148
- <td style="text-align: center;">
149
- <nobr><font>{{row.f_entry_name}}</font></nobr>
150
- </td>
151
142
  <td style="text-align: center;">
152
143
  <nobr><font>{{row.f_contract_number}}</font></nobr>
153
144
  </td>
@@ -20,9 +20,9 @@
20
20
  condition="f_apply_num = '{}'">
21
21
  </div>
22
22
  <div class="form-group col-sm-3">
23
- <label class="font_normal_body">项目名称:</label>
24
- <input type="text" style="width:60%" class="input_search" v-model="model.f_entry_name"
25
- v-on:keyup.enter="$parent.$parent.search()" condition="f_entry_name like '%{}%'" placeholder='项目名称'>
23
+ <label class="font_normal_body">客户名称:</label>
24
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
25
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
26
26
  </div>
27
27
  <div class="form-group col-sm-3 button-range">
28
28
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
@@ -36,11 +36,6 @@
36
36
  </div>
37
37
  </div>
38
38
  <div class="row" v-show="$parent.$parent.criteriaShow">
39
- <div class="form-group col-sm-3">
40
- <label class="font_normal_body">客户名称:</label>
41
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
42
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
43
- </div>
44
39
  <div class="form-group col-sm-3">
45
40
  <label class="font_normal_body">联系电话:</label>
46
41
  <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
@@ -113,8 +108,7 @@
113
108
  <template partial='head'>
114
109
  <tr class="title">
115
110
  <th style="white-space: nowrap;">序号</th>
116
- <th style="white-space: nowrap;">报建编号</th>
117
- <th style="white-space: nowrap;">项目名称</th>
111
+ <th style="white-space: nowrap;">工程编号</th>
118
112
  <th style="white-space: nowrap;">客户名称</th>
119
113
  <th style="white-space: nowrap;">合同编号</th>
120
114
  <th style="white-space: nowrap;">电话</th>
@@ -134,9 +128,6 @@
134
128
  <td style="text-align: center;">
135
129
  <nobr>{{row.f_apply_num}}</nobr>
136
130
  </td>
137
- <td style="text-align: center;">
138
- <nobr>{{row.f_entry_name}}</nobr>
139
- </td>
140
131
  <td style="text-align: center;">
141
132
  <nobr>{{row.f_user_name}}</nobr>
142
133
  </td>
@@ -87,10 +87,6 @@
87
87
  <!-- 项目信息 -->
88
88
  <div class="auto" v-if="selectdata.f_ordertype !== '预约点火' && (type === 'process' || selectdata.f_orderstate === '预约成功')">
89
89
  <div class="col-sm-12 text-center bg-info pt-8">项目信息</div>
90
- <div class="col-sm-6 form-group" :class="[$v.f_entry_name.required ? 'has-error' : '']">
91
- <label class="font_normal_body">工程名称</label>
92
- <input type="text" class="input_search" style="width: 60%" v-model="apply.f_entry_name" v-validate:f_entry_name = "['required']" :readonly="selectdata.f_orderstate === '预约成功'" />
93
- </div>
94
90
  <div class="col-sm-6 form-group" v-if="selectdata.f_ordertype === '预约报装'" :class="[$v.f_apply_type.required ? 'has-error' : '']">
95
91
  <label class="font_normal_body">报建类型</label>
96
92
  <input type="text" v-show="false" v-validate:f_apply_type = "['required']" v-model="apply.f_apply_type">
@@ -20,9 +20,9 @@
20
20
  condition="f_apply_num = '{}'">
21
21
  </div>
22
22
  <div class="form-group col-sm-3">
23
- <label class="font_normal_body">项目名称:</label>
24
- <input type="text" style="width:60%" class="input_search" v-model="model.f_entry_name"
25
- v-on:keyup.enter="$parent.$parent.search()" condition="f_entry_name like '%{}%'" placeholder='项目名称'>
23
+ <label class="font_normal_body">客户名称:</label>
24
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
25
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
26
26
  </div>
27
27
  <div class="form-group col-sm-3 button-range">
28
28
  <button class="button_new button_spacing" style="width: max-content"
@@ -38,11 +38,6 @@
38
38
  </div>
39
39
  </div>
40
40
  <div class="row" v-show="$parent.$parent.criteriaShow">
41
- <div class="form-group col-sm-3">
42
- <label class="font_normal_body">客户名称:</label>
43
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
44
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
45
- </div>
46
41
  <div class="form-group col-sm-3">
47
42
  <label class="font_normal_body">联系电话:</label>
48
43
  <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
@@ -116,7 +111,6 @@
116
111
  <tr>
117
112
  <th style="white-space: nowrap;">序号</th>
118
113
  <th style="white-space: nowrap;">工程编号</th>
119
- <th style="white-space: nowrap;">项目名称</th>
120
114
  <th style="white-space: nowrap;">客户名称</th>
121
115
  <th style="white-space: nowrap;">合同编号</th>
122
116
  <th style="white-space: nowrap;">电话</th>
@@ -137,9 +131,6 @@
137
131
  <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
138
132
  <nobr><font>{{row.f_apply_num}}</font></nobr>
139
133
  </td>
140
- <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
141
- <nobr><font>{{row.f_entry_name}}</font></nobr>
142
- </td>
143
134
  <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
144
135
  <nobr><font>{{row.f_user_name}}</font></nobr>
145
136
  </td>
@@ -39,34 +39,36 @@
39
39
  <table border="1">
40
40
  <tr>
41
41
  <td colspan="6">
42
- 开票日期:{{new Date().Format('yyyy年MM月dd日')}}
42
+ <span>开票日期:{{ new Date().Format('yyyy年MM月dd日') }}</span>
43
+ <span>收据编码:{{ charge.f_charge_number }}</span>
44
+ <span>状态:{{ charge.f_charge_status }}</span>
43
45
  </td>
44
46
  </tr>
45
47
  <tr>
46
48
  <td>用户姓名</td>
47
- <td colspan="2">{{ f_user_name }}</td>
48
- <td>联系电话</td>
49
- <td>{{ f_user_phone }}</td>
49
+ <td colspan="2">{{ charge.f_user_name }}</td>
50
+ <td>用户编号</td>
51
+ <td colspan="2">{{ selectdata.f_userinfo_code }}</td>
50
52
  </tr>
51
53
  <tr>
52
- <td>地&emsp;&emsp;址</td>
53
- <td colspan="4">{{ f_useraddress }}</td>
54
+ <td>用户地址</td>
55
+ <td colspan="5">{{ selectdata.f_address }}</td>
54
56
  </tr>
55
57
  <tr>
56
- <td>收费项目</td>
57
- <td colspan="2">庭院管网建设费</td>
58
- <td>收费方式</td>
59
- <td>{{ charge.f_payment_method }}</td>
58
+ <td>收款项目</td>
59
+ <td colspan="2">{{ charge.f_payment_term }}</td>
60
+ <td>收款方式</td>
61
+ <td colspan="2">{{ charge.f_payment_method }}</td>
60
62
  </tr>
61
63
  <tr>
62
- <td>收费金额</td>
64
+ <td>金额</td>
63
65
  <td>{{ charge.f_charge_money }}</td>
64
- <td>大&emsp;&emsp;写</td>
65
- <td colspan="2">{{ charge.f_amount_words }}</td>
66
+ <td>金额大写</td>
67
+ <td colspan="3">{{ charge.f_amount_words }}</td>
66
68
  </tr>
67
69
  <tr>
68
70
  <td>备&emsp;&emsp;注</td>
69
- <td colspan="4">{{ selectdata.f_entry_name }}</td>
71
+ <td colspan="5">{{ selectdata.f_entry_name }}</td>
70
72
  </tr>
71
73
  </table>
72
74
  <span>
@@ -105,19 +107,8 @@ export default {
105
107
  return {}
106
108
  },
107
109
  ready () {
108
- console.log('------------------打印-------------------')
109
- console.log()
110
110
  },
111
111
  computed: {
112
- f_user_name () {
113
- return isEmpty(this.charge.f_user_name) ? this.selectdata.f_contact : this.charge.f_user_name
114
- },
115
- f_user_phone () {
116
- return isEmpty(this.charge.f_user_phone) ? this.selectdata.f_phone : this.charge.f_user_phone
117
- },
118
- f_useraddress () {
119
- return isEmpty(this.charge.f_useraddress) ? `武安市${this.selectdata.f_street}${this.selectdata.f_residential_area}` : `武安市${this.charge.f_useraddress}`
120
- },
121
112
  orgs () {
122
113
  return this.$login.f.orgs
123
114
  }
@@ -612,8 +612,11 @@ export default {
612
612
  this.show_data.f_userinfo_code = row.f_userinfo_code
613
613
  },
614
614
  // 是否购买保险
615
- 'isInsureChange' (index) {
616
- let f_is_insure = this.getLableValue('是否购买保险')
615
+ async 'isInsureChange' (index) {
616
+ if (!this.show_data.f_is_insure) {
617
+ return
618
+ }
619
+ let f_is_insure = this.show_data.f_is_insure
617
620
  for (const item of this.show_data.fields) {
618
621
  if (f_is_insure === '是') {
619
622
  if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额') {
@@ -636,11 +639,47 @@ export default {
636
639
  },
637
640
  // 通气点火初始化
638
641
  async 'gasReadyEvent' () {
642
+ // 是否有气价信息
639
643
  if (!isEmpty(this.show_data.f_price_id)) {
640
644
  let priceList = await this.getPrice(this.show_data.f_price_id)
641
645
  this.setLabelValue('气价名称', priceList[0].value)
642
646
  }
643
647
 
648
+ let data = {
649
+ tablename: 't_userfees',
650
+ condition: `f_orgid = '${this.$login.f.orgid}' and f_userinfo_id = '${this.show_data.f_userinfo_id}' and f_state = '待执行'`
651
+ }
652
+ let http = new HttpResetClass()
653
+ let res = await http.load(
654
+ 'POST',
655
+ `rs/sql/singleTable`,
656
+ {data: data},
657
+ {resolveMsg: null, rejectMsg: '保险查询失败!!!'}
658
+ )
659
+ if (res.data.length > 0) {
660
+
661
+ this.setLabelValue('待执行保险', '是')
662
+ for (const item of this.show_data.fields) {
663
+ if (item.label === '是否购买保险' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额' || item.label === '保险备注') {
664
+ item.hidden = true
665
+ item.required = false
666
+ item.value = null
667
+ }
668
+ if (item.label === '保费开始日期') {
669
+ item.hidden = false
670
+ item.required = true
671
+ }
672
+ }
673
+ } else {
674
+ this.setLabelValue('待执行保险', '否')
675
+ for (const item of this.show_data.fields) {
676
+ if (item.label === '是否购买保险' || item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额' || item.label === '保险备注') {
677
+ item.hidden = false
678
+ item.required = true
679
+ }
680
+ }
681
+ }
682
+
644
683
  // 保险初始化显示内容
645
684
  let f_is_insure = this.getLableValue('是否购买保险')
646
685
  for (const item of this.show_data.fields) {
@@ -652,7 +691,13 @@ export default {
652
691
  if (item.label === '保险备注') {
653
692
  item.hidden = false
654
693
  }
655
- } else {
694
+ // 本期保费到期时间默认一年
695
+ if (isEmpty(this.selectdata.f_ins_expiration_date)) {
696
+ let f_ins_expiration_date = new Date().setFullYear(new Date().getFullYear() + 1)
697
+ this.setLabelValue("保费结束日期", new Date(f_ins_expiration_date).Format('yyyy-MM-dd'))
698
+ }
699
+ }
700
+ if (f_is_insure === '否') {
656
701
  if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额') {
657
702
  item.hidden = true
658
703
  item.required = false
@@ -662,11 +707,6 @@ export default {
662
707
  }
663
708
  }
664
709
  }
665
- // 本期保费到期时间默认一年
666
- if (isEmpty(this.selectdata.f_ins_expiration_date)) {
667
- let f_ins_expiration_date = new Date().setFullYear(new Date().getFullYear() + 1)
668
- this.setLabelValue("保费结束日期", new Date(f_ins_expiration_date).Format('yyyy-MM-dd'))
669
- }
670
710
  },
671
711
  // 合同金额失去焦点
672
712
  async 'contractMoneyChange' (index) {
@@ -20,11 +20,10 @@
20
20
  condition="f_apply_num = '{}'">
21
21
  </div>
22
22
  <div class="form-group col-sm-3">
23
- <label class="font_normal_body">项目名称:</label>
24
- <input type="text" style="width:60%" class="input_search" v-model="model.f_entry_name"
25
- v-on:keyup.enter="$parent.$parent.search()" condition="f_entry_name like '%{}%'" placeholder='项目名称'>
23
+ <label class="font_normal_body">客户名称:</label>
24
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
25
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
26
26
  </div>
27
-
28
27
  <div class="form-group col-sm-2 button-range">
29
28
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
30
29
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
@@ -37,11 +36,6 @@
37
36
  </div>
38
37
  </div>
39
38
  <div class="row" v-show="$parent.$parent.criteriaShow">
40
- <div class="form-group col-sm-3">
41
- <label class="font_normal_body">客户名称:</label>
42
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
43
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
44
- </div>
45
39
  <div class="form-group col-sm-3">
46
40
  <label class="font_normal_body">联系电话:</label>
47
41
  <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
@@ -115,7 +109,6 @@
115
109
  <tr>
116
110
  <th style="white-space: nowrap;">序号</th>
117
111
  <th style="white-space: nowrap;">报建编号</th>
118
- <th style="white-space: nowrap;">项目名称</th>
119
112
  <th style="white-space: nowrap;">客户名称</th>
120
113
  <th style="white-space: nowrap;">联系人</th>
121
114
  <th style="white-space: nowrap;">电话</th>
@@ -140,9 +133,6 @@
140
133
  <td style="text-align: center;">
141
134
  <nobr>{{row.f_apply_num}}</nobr>
142
135
  </td>
143
- <td style="text-align: center;">
144
- <nobr>{{row.f_entry_name}}</nobr>
145
- </td>
146
136
  <td style="text-align: center;">
147
137
  <nobr>{{row.f_user_name}}</nobr>
148
138
  </td>
@@ -20,11 +20,10 @@
20
20
  condition="f_apply_num = '{}'">
21
21
  </div>
22
22
  <div class="form-group col-sm-3">
23
- <label class="font_normal_body">项目名称:</label>
24
- <input type="text" style="width:60%" class="input_search" v-model="model.f_entry_name"
25
- v-on:keyup.enter="$parent.$parent.search()" condition="f_entry_name like '%{}%'" placeholder='项目名称'>
23
+ <label class="font_normal_body">客户名称:</label>
24
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
25
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
26
26
  </div>
27
-
28
27
  <div class="form-group col-sm-2 button-range">
29
28
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
30
29
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
@@ -37,11 +36,6 @@
37
36
  </div>
38
37
  </div>
39
38
  <div class="row" v-show="$parent.$parent.criteriaShow">
40
- <div class="form-group col-sm-3">
41
- <label class="font_normal_body">客户名称:</label>
42
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
43
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
44
- </div>
45
39
  <div class="form-group col-sm-3">
46
40
  <label class="font_normal_body">联系电话:</label>
47
41
  <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
@@ -115,7 +109,6 @@
115
109
  <tr>
116
110
  <th style="white-space: nowrap;">序号</th>
117
111
  <th style="white-space: nowrap;">工程编号</th>
118
- <th style="white-space: nowrap;">项目名称</th>
119
112
  <th style="white-space: nowrap;">客户名称</th>
120
113
  <th style="white-space: nowrap;">合同编号</th>
121
114
  <th style="white-space: nowrap;">电话</th>
@@ -135,9 +128,6 @@
135
128
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
136
129
  <nobr>{{row.f_apply_num}}</nobr>
137
130
  </td>
138
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
139
- <nobr>{{row.f_entry_name}}</nobr>
140
- </td>
141
131
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
142
132
  <nobr>{{row.f_user_name}}</nobr>
143
133
  </td>