sale-client 3.6.575 → 3.6.577

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.
@@ -1,2 +1,2 @@
1
- #Mon Apr 14 10:14:01 CST 2025
1
+ #Wed Jun 25 17:54:33 CST 2025
2
2
  gradle.version=5.2.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.575",
3
+ "version": "3.6.577",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -0,0 +1,603 @@
1
+ <template>
2
+ <div id="UserEssential">
3
+ <validator name='v' @valid="$emit('valid')" @invalid="$emit('invalid')">
4
+ <form class="form-horizontal select-overspread ">
5
+ <div class="row">
6
+ <div class="col-sm-4 form-group " :class="[$v.f_user_name.required ? 'has-error' : '']"
7
+ v-if="getConfigShowItem('f_user_name')">
8
+ <label for="f_user_name" class="font_normal_body">*{{getConfigLabelName('f_user_name','用户姓名')}}</label>
9
+ <input type="text" v-model="baseinfo.base.f_user_name"
10
+ v-validate:f_user_name='getConfigValidate("f_user_name",true)'
11
+ class="input_search" style="width:60%" :placeholder="getConfigPlaceholder('f_user_name','用户姓名')" v-next-el="phone">
12
+ </div>
13
+ <div style="" class="col-sm-4 form-group"
14
+ :class="[$v.f_user_phone.minlength || $v.f_user_phone.maxlength ? 'has-error' : '']" v-if="getConfigShowItem('f_user_phone')">
15
+ <label for="f_user_phone" class="font_normal_body">*{{getConfigLabelName('f_user_phone','客户电话')}}</label>
16
+ <input type="text" maxlength="11" v-model="baseinfo.base.f_user_phone"
17
+ v-validate:f_user_phone=getConfigValidate("f_user_phone") class="input_search" style="width:55%"
18
+ :placeholder="getConfigPlaceholder('f_user_phone','客户电话')"
19
+ v-el:phone v-next-el="area">
20
+ <button type="button" class="glyphicon glyphicon-plus" @click.stop="phoneManage()"></button>
21
+ </div>
22
+
23
+ <div style=""
24
+ v-show="(formconfig && formconfig.f_rent_phone && formconfig.f_rent_phone.required) || !onlyshowmust"
25
+ :class="[$v.f_rent_phone.required ? 'has-error' : '']"
26
+ class="col-sm-4 form-group" v-if="getConfigShowItem('f_rent_phone')">
27
+ <label for="f_rent_phone" class="font_normal_body">&ensp;{{getConfigLabelName('f_rent_phone','曾用电话')}}</label>
28
+ <input type="text" v-model="baseinfo.base.f_rent_phone" class="input_search" style="width:60%"
29
+ v-validate:f_rent_phone=getConfigValidate("f_rent_phone",false)
30
+ :placeholder="getConfigPlaceholder('f_rent_phone','曾用电话')">
31
+ </div>
32
+
33
+ <div class="col-sm-4 form-group" style="" v-if="true">
34
+ <label for="f_user_state" class="font_normal_body">&ensp;{{getConfigLabelName('f_user_state','客户状态')}}</label>
35
+ <v-select :value.sync="baseinfo.base.f_user_state"
36
+ :disabled="true"
37
+ :value-single="true"
38
+ :options='userstates' :placeholder="getConfigPlaceholder('f_user_state','客户状态')"
39
+ close-on-select></v-select>
40
+ </div>
41
+ <div class="col-sm-4 form-group" style="" >
42
+ <label for="f_uservent_date" class="font_normal_body">&ensp;{{getConfigLabelName('f_uservent_date','通气日期')}}</label>
43
+ <datepicker style="width:60%" placeholder="用户通气日期"
44
+ v-model="baseinfo.base.f_uservent_date"
45
+ v-ref:f_uservent_date
46
+ :value.sync="baseinfo.base.f_uservent_date"
47
+ :format="'yyyy-MM-dd HH:mm:ss'"
48
+ ></datepicker>
49
+ </div>
50
+ </div>
51
+ <div class="row">
52
+ <div style="" class="col-sm-4 form-group" v-if="getConfigShowItem('f_credentials')">
53
+ <label for="f_credentials" class="font_normal_body">&ensp;{{getConfigLabelName('f_credentials','证件类型')}}</label>
54
+ <v-select id="idCardType" :value.sync="baseinfo.base.f_credentials"
55
+ v-model="baseinfo.base.f_credentials"
56
+ :value-single="true"
57
+ :options='credentials'
58
+ :placeholder="getConfigPlaceholder('f_credentials','证件类型')"
59
+ style="width: 65%"
60
+ close-on-select></v-select>
61
+ </div>
62
+ <div style="" class="col-sm-8 form-group"
63
+ :class="[$v.f_idnumber2.required ? 'has-error' : '']"
64
+ v-if="baseinfo.base.f_credentials === '身份证' && config.f_idnumber ">
65
+ <label for="f_idnumber" class="font_normal_body">*证件号码</label>
66
+ <input type="text" maxlength="18" v-model="baseinfo.base.f_idnumber"
67
+ v-validate:f_idnumber2='{required: true}' class="input_search" style="width:80%"
68
+ :placeholder="getConfigPlaceholder('f_idnumber','证件号码')">
69
+ </div>
70
+ <div style="" class="col-sm-8 form-group" v-if="baseinfo.base.f_credentials !== '身份证' || !config.f_idnumber ">
71
+ <label class="font_normal_body">&ensp;证件号码</label>
72
+ <input type="text" v-model="baseinfo.base.f_idnumber" class="input_search" style="width:80%"
73
+ :placeholder="getConfigPlaceholder('f_idnumber','证件号码')">
74
+ </div>
75
+ </div>
76
+ <div class="row">
77
+ <div class="col-sm-12 form-group" :class="[$v.f_address.required ? 'has-error' : '']">
78
+ <label for="f_address" class="font_normal_body">*地址信息</label>
79
+ <input type="text" v-model="addressinfo.f_address" :value.sync="addressinfo.f_address" v-validate:f_address='{required: true }'
80
+ class="input_search" disabled="disabled" style="width:70%;" placeholder="用户地址" >
81
+ <span>
82
+ <button class="button_search button_spacing" type="button" style="width: max-content" v-if="!isedit" @click="selectaddress()">选择地址</button>
83
+ <!-- <button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="modifyaddress()">修改地址</button>-->
84
+ <button class="button_search button_spacing" type="button" style="width: max-content" v-if="isedit" @click="selectaddress()">修改地址</button>
85
+ </span>
86
+ </div>
87
+ </div>
88
+ <div class="row">
89
+ <div style=""
90
+ v-show="(formconfig && formconfig.f_used_name && formconfig.f_used_name.required) || !onlyshowmust"
91
+ :class="[$v.f_used_name.required ? 'has-error' : '']"
92
+ class="col-sm-4 form-group" v-if="getConfigShowItem('f_used_name')">
93
+ <label style="letter-spacing: 0.5em;margin-right: -0.5em" for="f_used_name" class="font_normal_body w3">{{getConfigLabelName('f_used_name','曾用名')}}</label>
94
+ <input type="text" v-model="baseinfo.base.f_used_name" class="input_search" style="width:60%"
95
+ v-validate:f_used_name=getConfigValidate("f_used_name",false)
96
+ :placeholder="getConfigPlaceholder('f_used_name','曾用名')">
97
+ </div>
98
+ <div class="col-sm-4 form-group"
99
+ v-show="(formconfig && formconfig.f_people_num && formconfig.f_people_num.required) || !onlyshowmust"
100
+ :class="[$v.f_people_num.dctest ? 'has-error' : '']" v-if="getConfigShowItem('f_people_num')">
101
+ <label for="f_people_num" style="letter-spacing: 0.5em;margin-right: -0.5em" class="font_normal_body w3">{{getConfigLabelName('f_people_num','人口数')}}</label>
102
+ <input type="number" v-model="baseinfo.base.f_people_num" v-show="!peopleMax" v-validate:f_people_num='{dctest: [0, ">=" ]}'
103
+ :disabled="!jurisdiction.includes('修改人口数')" class="input_search" style="width:60%"
104
+ placeholder="家庭人口数">
105
+ <v-select id="f_people_num" :value.sync="baseinfo.base.f_people_num"
106
+ v-if="peopleMax"
107
+ v-model="baseinfo.base.f_people_num"
108
+ :value-single="true"
109
+ :options='peoplenums'
110
+ :placeholder="getConfigPlaceholder('f_people_num','家庭人口数')"
111
+ style="width: 65%"
112
+ close-on-select></v-select>
113
+ </div>
114
+ </div>
115
+ <div class="row">
116
+ <div style=""
117
+ v-show="(formconfig && formconfig.f_balance && formconfig.f_balance.required) || !onlyshowmust"
118
+ :class="[$v.f_balance.required ? 'has-error' : '']"
119
+ class="col-sm-4 form-group" v-if="getConfigShowItem('f_balance')">
120
+ <label for="f_balance" class="font_normal_body">&ensp;{{getConfigLabelName('f_balance','用户余额')}}</label>
121
+ <input type="text" v-model="baseinfo.base.f_balance" class="input_search" style="width:60%"
122
+ v-validate:f_balance=getConfigValidate("f_balance",false)
123
+ :placeholder="getConfigPlaceholder('f_balance','用户余额')"
124
+ :disabled="!jurisdiction.includes('档案信息查询修改')">
125
+ </div>
126
+ <div style="" class="col-sm-4 form-group" v-if="getConfigShowItem('f_is_mgq')"
127
+ v-show="(formconfig && formconfig.f_is_mgq && formconfig.f_is_mgq.required) || !onlyshowmust"
128
+ :class="[$v.f_is_mgq.required ? 'has-error' : '']">
129
+ <label for="f_is_mgq" style="letter-spacing: 0.5em;margin-right: -0.5em" class="font_normal_body w3">{{getConfigLabelName('f_is_mgq','煤改气')}}</label>
130
+ <input type="text" v-show="false" v-model="baseinfo.base.f_is_mgq"
131
+ v-validate:f_is_mgq=getConfigValidate("f_is_mgq",false)>
132
+ <v-select id="f_is_mgq" :value.sync="baseinfo.base.f_is_mgq" v-model="baseinfo.base.f_is_mgq"
133
+ :placeholder="getConfigPlaceholder('f_is_mgq','是否煤改气')"
134
+ :options='mgq' style="width: 65%" close-on-select></v-select>
135
+ </div>
136
+ <div class="col-sm-4 form-group" v-if="getConfigShowItem('f_book_no')"
137
+ v-show="(formconfig && formconfig.f_book_no && formconfig.f_book_no.required) || !onlyshowmust"
138
+ :class="[$v.f_book_no.required ? 'has-error' : '']">
139
+ <label for="f_contract" class="font_normal_body">&ensp;{{getConfigLabelName('f_book_no','燃气本号')}}</label>
140
+ <input type="text" v-model="baseinfo.base.f_book_no" class="input_search" style="width:60%"
141
+ v-validate:f_book_no=getConfigValidate("f_book_no",false)
142
+ :placeholder="getConfigPlaceholder('f_book_no','用户证号')">
143
+ </div>
144
+ </div>
145
+ <div class="row">
146
+ <div style="" class="col-sm-4 form-group" v-if="getConfigShowItem('f_rent_name')"
147
+ v-show="(formconfig && formconfig.f_rent_name && formconfig.f_rent_name.required) || !onlyshowmust"
148
+ :class="[$v.f_rent_name.required ? 'has-error' : '']">
149
+ <label for="f_rent_name" class="font_normal_body">&ensp;{{getConfigLabelName('f_rent_name','租户姓名')}}</label>
150
+ <input type="text" v-model="baseinfo.base.f_rent_name" class="input_search" style="width:60%"
151
+ v-validate:f_rent_name=getConfigValidate("f_rent_name",false)
152
+ :placeholder="getConfigPlaceholder('f_rent_name','租户姓名')">
153
+ </div>
154
+ <div style="" class="col-sm-4 form-group" v-if="getConfigShowItem('f_zuhu_phone')"
155
+ v-show="(formconfig && formconfig.f_zuhu_phone && formconfig.f_zuhu_phone.required) || !onlyshowmust"
156
+ :class="[$v.f_zuhu_phone.required ? 'has-error' : '']">
157
+ <label for="f_zuhu_phone" class="font_normal_body">{{getConfigLabelName('f_zuhu_phone','租户电话')}}</label>
158
+ <input type="text" v-model="baseinfo.base.f_zuhu_phone" class="input_search" style="width:60%"
159
+ v-validate:f_zuhu_phone=getConfigValidate("f_zuhu_phone",false)
160
+ :placeholder="getConfigPlaceholder('f_zuhu_phone','租户电话')">
161
+ </div>
162
+ </div>
163
+ <div class="row">
164
+ <div style="" class="col-sm-8 form-group"
165
+ v-show="(formconfig && formconfig.f_zuhu_idnumber && formconfig.f_zuhu_idnumber.required) || !onlyshowmust"
166
+ v-if="getConfigShowItem('f_zuhu_idnumber')"
167
+ :class="[$v.f_zuhu_idnumber.required ? 'has-error' : '']">
168
+ <label for="f_zuhu_idnumber" class="font_normal_body">{{getConfigLabelName('f_zuhu_idnumber','租户身份证')}}</label>
169
+ <input type="text" v-model="baseinfo.base.f_zuhu_idnumber" class="input_search" style="width:80%"
170
+ v-validate:f_zuhu_idnumber=getConfigValidate("f_zuhu_idnumber",false)
171
+ :placeholder="getConfigPlaceholder('f_zuhu_idnumber','租户身份证')">
172
+ </div>
173
+ <div style="" class="col-sm-4 form-group"
174
+ v-show="(formconfig && formconfig.f_cost_type && formconfig.f_cost_type.required) || !onlyshowmust"
175
+ v-if="getConfigShowItem('f_cost_type')">
176
+ <label for="f_is_mgq" class="font_normal_body ">&ensp;{{getConfigLabelName('f_cost_type','付款类型')}}</label>
177
+ <v-select id="f_is_mgq" :value.sync="baseinfo.base.f_cost_type" v-model="baseinfo.base.f_cost_type"
178
+ :options='costtype'
179
+ :placeholder="getConfigPlaceholder('f_cost_type','付款类型')" style="width: 65%" close-on-select></v-select>
180
+ </div>
181
+ </div>
182
+ <div class="row">
183
+ <div class="col-sm-8 form-group" v-if="getConfigShowItem('f_contract_id')"
184
+ v-show="(formconfig && formconfig.f_contract_id && formconfig.f_contract_id.required) || !onlyshowmust"
185
+ :class="[$v.f_contract_id.required ? 'has-error' : '']">
186
+ <label for="f_contract" class="font_normal_body">&ensp;{{getConfigLabelName('f_contract_id','合同编号')}}</label>
187
+ <input type="text" v-model="baseinfo.base.f_contract_id" class="input_search" style="width:80%"
188
+ v-validate:f_contract_id=getConfigValidate("f_contract_id",false)
189
+ :placeholder="getConfigPlaceholder('f_contract_id','合同编号')">
190
+ </div>
191
+ <div class="col-sm-4 form-group" v-if="getConfigShowItem('f_house_type')"
192
+ v-show="(formconfig && formconfig.f_house_type && formconfig.f_house_type.required) || !onlyshowmust"
193
+ :class="[$v.f_house_type.required ? 'has-error' : '']">
194
+ <label for="f_user_state" class="font_normal_body">&ensp;{{getConfigLabelName('f_house_type','房屋类型')}}</label>
195
+ <input type="text" v-show="false" v-model="baseinfo.base.f_house_type"
196
+ v-validate:f_house_type=getConfigValidate("f_house_type",false)>
197
+ <v-select :value.sync="baseinfo.base.f_house_type" :search="false" :value-single="true"
198
+ :options='housetype' close-on-select
199
+ :placeholder="getConfigPlaceholder('f_house_type','房屋类型')">
200
+ </v-select>
201
+ </div>
202
+ </div>
203
+ <div class="row">
204
+ <div style="" class="col-sm-4 form-group" v-if="getConfigShowItem('f_user_level')"
205
+ v-show="(formconfig && formconfig.f_user_level && formconfig.f_user_level.required) || !onlyshowmust"
206
+ :class="[$v.f_user_level.required ? 'has-error' : '']">
207
+ <label for="f_user_level" class="font_normal_body ">&ensp;{{getConfigLabelName('f_user_level','用户等级')}}</label>
208
+ <input type="text" v-show="false" v-model="baseinfo.base.f_user_level"
209
+ v-validate:f_user_level=getConfigValidate("f_user_level",false)>
210
+ <v-select :value.sync="baseinfo.base.f_user_level" :search="false" :value-single="true"
211
+ :options='userlevel'
212
+ :placeholder="getConfigPlaceholder('f_user_level','用户等级')" close-on-select>
213
+ </v-select>
214
+ </div>
215
+ <div class="col-sm-4 form-group" v-if="getConfigShowItem('f_user_nature')"
216
+ v-show="(formconfig && formconfig.f_user_nature && formconfig.f_user_nature.required) || !onlyshowmust"
217
+ :class="[$v.f_user_nature.required ? 'has-error' : '']">
218
+ <label for="f_user_nature" class="font_normal_body" title="用户性质">&ensp;{{getConfigLabelName('f_user_nature','用气类型')}}</label>
219
+ <input type="text" v-show="false" v-model="baseinfo.base.f_user_nature"
220
+ v-validate:f_user_nature=getConfigValidate("f_user_nature",false)>
221
+ <v-select :value.sync="baseinfo.base.f_user_nature" :search="false" :value-single="true"
222
+ :placeholder="getConfigPlaceholder('f_user_nature','用气类型')"
223
+ :options='usernature' close-on-select>
224
+ </v-select>
225
+ </div>
226
+ <div class="col-sm-4 form-group" v-if="getConfigShowItem('f_olduserinfo_code')"
227
+ v-show="(formconfig && formconfig.f_olduserinfo_code && formconfig.f_olduserinfo_code.required) || !onlyshowmust"
228
+ :class="[$v.f_olduserinfo_code.required ? 'has-error' : '']">
229
+ <label for="f_user_nature" class="font_normal_body">&ensp;{{getConfigLabelName('f_olduserinfo_code','档案编号')}}</label>
230
+ <input type="text" v-model="baseinfo.base.f_olduserinfo_code" class="input_search" style="width:60%"
231
+ v-validate:f_olduserinfo_code=getConfigValidate("f_olduserinfo_code",false)
232
+ :placeholder="getConfigPlaceholder('f_olduserinfo_code','档案编号')">
233
+ </div>
234
+ <div class="col-sm-4 form-group"
235
+ v-show="(formconfig && formconfig.f_gas_pointsnumber && formconfig.f_gas_pointsnumber.required) || !onlyshowmust"
236
+ :class="[$v.f_gas_pointsnumber.dctest ? 'has-error' : '']" v-if="getConfigShowItem('f_gas_pointsnumber')">
237
+ <label for="f_gas_pointsnumber" class="font_normal_body">{{getConfigLabelName('f_gas_pointsnumber','用气点数量')}}</label>
238
+ <v-select id="f_gas_pointsnumber" :value.sync="baseinfo.base.f_gas_pointsnumber"
239
+ v-model="baseinfo.base.f_gas_pointsnumber"
240
+ :value-single="true"
241
+ :options='pointsnums'
242
+ :placeholder="getConfigPlaceholder('f_gas_pointsnumber','用气点数量')"
243
+ style="width: 65%"
244
+ close-on-select></v-select>
245
+ </div>
246
+ <div class="col-sm-4 form-group" v-if="getConfigShowItem('f_reminder_amount')"
247
+ v-show="(formconfig && formconfig.f_reminder_amount && formconfig.f_reminder_amount.required) || !onlyshowmust"
248
+ :class="[$v.f_reminder_amount.required ? 'has-error' : '']" title="余额小于该值后,微信公众号或短信推送余额不足提醒">
249
+ <label for="f_reminder_amount" :style="{color: baseinfo.base.f_reminder_amount === null || baseinfo.base.f_reminder_amount === '' ? 'red' : null}" class="font_normal_body">{{getConfigLabelName('f_reminder_amount','提示金额')}}</label>
250
+ <input type="number" v-model="baseinfo.base.f_reminder_amount" class="input_search" style="width:60%"
251
+ v-validate:f_reminder_amount=getConfigValidate("f_reminder_amount",false)
252
+ :placeholder="getConfigPlaceholder('f_reminder_amount','提示金额')" @input="reminderAmountHandle">
253
+ </div>
254
+ </div>
255
+ <div class="row">
256
+ <div style="" class="col-sm-12 form-group" v-if="getConfigShowItem('f_comments')"
257
+ v-show="(formconfig && formconfig.f_comments && formconfig.f_comments.required) || !onlyshowmust"
258
+ :class="[$v.f_comments.required ? 'has-error' : '']">
259
+ <label for="f_paper_accoun" class="font_normal_body">&ensp;{{getConfigLabelName('f_comments','备注')}}</label>
260
+ <input class="input_search" style="width:86.5%;height: 40px" v-model="baseinfo.base.f_comments"
261
+ :placeholder="getConfigPlaceholder('f_comments','请输入备注信息')"
262
+ v-validate:f_comments=getConfigValidate("f_comments",false)>
263
+ </div>
264
+ </div>
265
+
266
+ <div class="row" style="margin-top: 2%;">
267
+ <a style="font-size: 16px;font-weight: 500;"
268
+ v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">银行信息</a>
269
+ </div>
270
+ <div v-if="baseinfo.base.f_cost_type[0] === '银行代扣'">
271
+ <div class="row">
272
+ <div class="col-sm-4 form-group"
273
+ :class="[$v.f_bank_accopen.required ? 'has-error' : '']" v-if="getConfigShowItem('f_bank_accopen')">
274
+ <label for="f_username" class="font_normal_body">{{getConfigLabelName('f_bank_accopen','银行户名')}}</label>
275
+ <input type="text" v-model="baseinfo.bank.f_bank_accopen"
276
+ class="input_search" style="width:60%" id="f_username"
277
+ :placeholder="getConfigPlaceholder('f_bank_accopen','客户名称')"
278
+ v-validate:f_bank_accopen=getConfigValidate("f_bank_accopen",false)
279
+ v-next-el="bankaccount">
280
+ </div>
281
+ <div class="col-sm-4 form-group" id=userfiles-useEssInf-银行名称 v-if="getConfigShowItem('f_bank_name')"
282
+ :class="[$v.f_bank_name.required ? 'has-error' : '']">
283
+ <label for="f_username" class="font_normal_body ">{{getConfigLabelName('f_bank_name','银行名称')}}</label>
284
+ <input type="text" v-show="false" v-model="baseinfo.base.f_bank_name"
285
+ v-validate:f_bank_name=getConfigValidate("f_bank_name",false)>
286
+ <v-select :value.sync="baseinfo.bank.f_bank_name"
287
+ :options='banknames'
288
+ :placeholder="getConfigPlaceholder('f_bank_name','银行名称')"
289
+ close-on-select></v-select>
290
+ </div>
291
+ <div class="col-sm-4 form-group" v-if="getConfigShowItem('f_bank_pay_number')"
292
+ :class="[$v.f_bank_pay_number.required ? 'has-error' : '']">
293
+ <label for="f_bank_idnumber" class="font_normal_body">{{getConfigLabelName('f_bank_pay_number','缴费编号')}}</label>
294
+ <input type="text" v-model="baseinfo.bank.f_bank_pay_number"
295
+ class="input_search" style="width:60%"
296
+ v-validate:f_bank_pay_number=getConfigValidate("f_bank_pay_number",false)
297
+ :placeholder="getConfigPlaceholder('f_bank_pay_number','缴费编号')"
298
+ aria-describedby="helpBlock" v-el:bankpaynumber>
299
+ </div>
300
+ <div class="col-sm-12 form-group" v-if="getConfigShowItem('f_bank_idnumber')"
301
+ :class="[$v.f_bank_idnumber.required ? 'has-error' : '']">
302
+ <label for="f_bank_idnumber" class="font_normal_body">{{getConfigLabelName('f_bank_idnumber','身份证号')}}</label>
303
+ <input type="text" v-model="baseinfo.bank.f_bank_idnumber"
304
+ class="input_search" style="width:54%"
305
+ :placeholder="getConfigPlaceholder('f_bank_idnumber','身份证号')"
306
+ v-validate:f_bank_idnumber=getConfigValidate("f_bank_idnumber",false)
307
+ aria-describedby="helpBlock" v-el:bankidnumber>
308
+ </div>
309
+ <div class="col-sm-12 form-group"
310
+ :class="[$v.f_bank_account.required ? 'has-error' : '']" v-if="getConfigShowItem('f_bank_account')">
311
+ <label for="f_userid" class="font_normal_body">{{getConfigLabelName('f_bank_account','银行账号')}}</label>
312
+ <input type="text" v-model="baseinfo.bank.f_bank_account" class="input_search" style="width:54%"
313
+ v-validate:f_bank_account=getConfigValidate("f_bank_account",true) v-el:bankaccount
314
+ :placeholder="getConfigPlaceholder('f_bank_account','银行账号')"
315
+ v-next-el="bankidnumber">
316
+ </div>
317
+ </div>
318
+ </div>
319
+ </form>
320
+ </validator>
321
+ <modal v-if="showselectaddress" :show.sync="showselectaddress" width="50%" height="80%" title="地址信息" v-ref:modal large backdrop="false">
322
+ <article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
323
+ <file-address-manage :is-select="isSelect" :fileinfo="addressinfo"
324
+ @address-valid="doNothing" :showselectaddress.sync="showselectaddress" v-ref:fileaddress ></file-address-manage>
325
+ </article>
326
+ <footer slot="modal-footer" class="modal-footer">
327
+ </footer>
328
+ </modal>
329
+ <file-user-phone :show.sync="showphone" :userphonelist="userphonelist" :f_userinfo_id="baseinfo.base.f_userinfo_id"></file-user-phone>
330
+ </div>
331
+ </template>
332
+
333
+ <script>
334
+ import {HttpResetClass} from 'vue-client'
335
+ import form from "vue-resource/src/http/interceptor/form";
336
+ // import HighMeter from '../../plugins/HighMeterPlugin'
337
+
338
+ let getEditUserState = async function (self) {
339
+ try {
340
+ let http = new HttpResetClass()
341
+ let result = await http.load('GET', `rs/vue/EditUserState.json`, {}, {resolveMsg: null, rejectMsg: null})
342
+ console.log(result.data.EditUserState)
343
+ self.edituserstate = result.data.EditUserState
344
+ Object.assign(self.config, result.data)
345
+ } catch (e) {
346
+ console.log(e)
347
+ }
348
+ }
349
+
350
+ export default {
351
+ title: '基本信息',
352
+ props: ['baseinfo', 'addressinfo', 'isedit', 'userphonelist', 'formconfig', 'onlyshowmust'],
353
+ data () {
354
+ return {
355
+ showselectaddress: false,
356
+ site: '',
357
+ config: {
358
+ f_idnumber: true
359
+ },
360
+ showphone: false,
361
+ areas: [],
362
+ streets: [],
363
+ residentials: [],
364
+ inputtores: this.$appdata.getParam('抄表员'),
365
+ credentials: this.$appdata.getParam('证件类型'),
366
+ costtypes: this.$appdata.getParam('缴费类型'),
367
+ banknames: this.$appdata.getParam('银行名称'),
368
+ userstates: this.$appdata.getParam('用户状态'),
369
+ mgq: this.$appdata.getParam('是否煤改气'),
370
+ peopleMax: this.$appdata.getSingleValue('最大人口数'),
371
+ pointsMax: this.$appdata.getSingleValue('最大用气点数量'),
372
+ costtype: this.$appdata.getParam('付款类型'),
373
+ usernature: this.$appdata.getParam('用户性质'),
374
+ userlevel: this.$appdata.getParam('用户等级'),
375
+ housetype: this.$appdata.getParam('房屋类型'),
376
+ jurisdiction: this.$login.r,
377
+ edituserstate: false,
378
+ // highMeterPlugin: {},
379
+ readCardFlag: true,
380
+
381
+ isSelect: false,
382
+ rules: {}
383
+ }
384
+ },
385
+ ready () {
386
+ getEditUserState(this)
387
+ this.$resetValidation()
388
+ // this.highMeterPlugin = new HighMeter(this,this.readIDCardCallback)
389
+ },
390
+ beforeDestroy () {
391
+ // this.highMeterPlugin.Stop()
392
+ },
393
+ methods: {
394
+ reminderAmountHandle (e) {
395
+ this.$emit('input', e.target.value)
396
+ e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null
397
+ this.baseinfo.base.f_reminder_amount = parseInt(e.target.value, 10)
398
+ },
399
+ getConfigValidate (name, defaultVal) {
400
+ this.$resetValidation()
401
+ if (this.formconfig && this.formconfig[name]) {
402
+ let Validate = {}
403
+ if (this.formconfig[name].required) {
404
+ Object.assign(Validate, {required: true})
405
+ }
406
+ if (this.formconfig[name].minlength || this.formconfig[name].minlength === 0) {
407
+ Object.assign(Validate, {minlength: this.formconfig[name].minlength})
408
+ }
409
+ if (this.formconfig[name].maxlength) {
410
+ Object.assign(Validate, {maxlength: this.formconfig[name].maxlength})
411
+ }
412
+ return Validate
413
+ } else if (name === 'f_user_phone') {
414
+ return { minlength: 11, maxlength: 11 }
415
+ } else if (defaultVal) {
416
+ return {required: defaultVal}
417
+ }
418
+ return {}
419
+ },
420
+ getConfigShowItem (name,defaultVal = true) {
421
+ if (this.formconfig && this.formconfig[name] && this.formconfig[name].hasOwnProperty('showItem')) {
422
+ return this.formconfig[name].showItem
423
+ } else {
424
+ return defaultVal
425
+ }
426
+ },
427
+ getConfigLabelName (name, defaultVal) {
428
+ if (this.formconfig && this.formconfig[name] && this.formconfig[name].labelName) {
429
+ return this.formconfig[name].labelName
430
+ } else {
431
+ return defaultVal
432
+ }
433
+ },
434
+ getConfigPlaceholder (name, defaultVal) {
435
+ if (this.formconfig && this.formconfig[name] && this.formconfig[name].placeholder) {
436
+ return this.formconfig[name].placeholder
437
+ } else {
438
+ return defaultVal
439
+ }
440
+ },
441
+ selectaddress () {
442
+ this.showselectaddress = true
443
+ this.isSelect = true
444
+ },
445
+ modifyaddress () {
446
+ this.showselectaddress = true
447
+ this.isSelect = false
448
+ },
449
+ onValid (res) {
450
+ this.$dispatch('valid')
451
+ },
452
+ onInvalid (res) {
453
+ this.$dispatch('invalid')
454
+ },
455
+ doNothing () {
456
+ },
457
+ readIDCardCallback (compoent, msg) {
458
+ console.log('进入高拍仪', msg)
459
+ if (msg.err !== 0) {
460
+ return
461
+ }
462
+ // document.getElementById("idCardType").getElementsByClassName("btn-content")[0].innerHTML="身份证"
463
+ compoent.baseinfo.base.f_idnumber = msg.strID
464
+ compoent.baseinfo.base.f_user_name = msg.strName.trim()
465
+ // compoent.baseinfo.base.f_credentials=["身份证"]
466
+ },
467
+ phoneManage () {
468
+ this.showphone = true
469
+ console.log('查看用户备用电话信息', this.userphonelist)
470
+ }
471
+ },
472
+ watch: {
473
+ 'baseinfo.base.f_userinfo_id' (val) {
474
+ if(this.formconfig.f_reminder_amount!=null){
475
+ if (this.baseinfo.base.f_reminder_amount === null && this.formconfig.f_reminder_amount.required) {
476
+ this.$showAlert('当前用户还未设置余额提示金额,请在提示金额字段进行设置', 'warning', 3000)
477
+ }}
478
+ },
479
+ // 重置验证结果,当证件类型切换时,验证结果不能立即刷新,需要重置
480
+ 'baseinfo.base.f_credentials[0]' () {
481
+ console.log('验证器重置')
482
+ this.$resetValidation()
483
+ },
484
+ 'baseinfo.base.f_cost_type[0]' () {
485
+ console.log('验证器重置')
486
+ this.$resetValidation()
487
+ }
488
+ // 当选择销户,需要给其提醒是否进行销户
489
+ // 'baseinfo.base.f_user_state'(val) {
490
+ // // if (val[0] === '销户') {
491
+ // // this.$showMessage('是否要对该客户进行销户操作?', ['confirm', 'cancel']).then((res) => {
492
+ // // if (res !== 'confirm') {
493
+ // // this.baseinfo.base.f_user_state = ['正常']
494
+ // // }
495
+ // // })
496
+ // // }
497
+ // }
498
+ },
499
+ computed: {
500
+ peoplenums () {
501
+ let peopleMax = this.$appdata.getSingleValue('最大人口数') ? this.$appdata.getSingleValue('最大人口数') : 0
502
+ let nums = []
503
+ for (let i = 1; i <= peopleMax; i++) {
504
+ let temp = {}
505
+ temp.label = i
506
+ temp.value = i
507
+ nums.push(temp)
508
+ }
509
+ return nums
510
+ },
511
+ pointsnums () {
512
+ let pointsMax = this.$appdata.getSingleValue('最大用气点数量') ? this.$appdata.getSingleValue('最大用气点数量') : 10
513
+ let nums = []
514
+ for (let i = 1; i <= pointsMax; i++) {
515
+ let temp = {}
516
+ temp.label = i
517
+ temp.value = i
518
+ nums.push(temp)
519
+ }
520
+ return nums
521
+ }
522
+ },
523
+ events: {
524
+ 'confirmaddress' (res) {
525
+ console.log('选定地址', res)
526
+ this.showselectaddress = false
527
+ this.addressinfo.f_address = res.f_address
528
+ this.addressinfo.id = res.id
529
+ this.$dispatch('defaultOtheret', res)
530
+ }
531
+ }
532
+ }
533
+ </script>
534
+ <style scoped lang="less">
535
+ // 两个字符占用4个字符距离
536
+ .w2 {
537
+ letter-spacing:2em; /*如果需要y个字两端对齐,则为(x-y)/(y-1),这里是(4-2)/(2-1)=2em */
538
+ margin-right:-2em; /*同上*/
539
+ }
540
+ // 三个字符占用4个字符距离
541
+ .w3 {
542
+ letter-spacing: 0.5em;
543
+ margin-right: -0.5em
544
+ }
545
+
546
+ #UserEssential{
547
+ // 去掉number类型输入框的上下箭头
548
+ input[type="number"] {
549
+ &::-webkit-inner-spin-button,
550
+ &::-webkit-outer-spin-button {
551
+ -webkit-appearance: none;
552
+ margin: 0;
553
+ }
554
+
555
+ & {
556
+ -moz-appearance: textfield;
557
+ }
558
+ }
559
+ #addboxmap {
560
+ height: 300px;
561
+ }
562
+ .glyphicon-map-marker:hover {
563
+ color: red;
564
+ }
565
+ .glyphicon-map-marker {
566
+ color: blue;
567
+ cursor: pointer;
568
+ }
569
+ .scrollbar() {
570
+ .font_normal_body {
571
+ width: 73px;
572
+ overflow: auto;
573
+ white-space: nowrap;
574
+ // 指滚动条两边的按钮
575
+ &::-webkit-scrollbar-button {
576
+ display: none;
577
+ }
578
+ // 滚动条的宽度
579
+ &::-webkit-scrollbar {
580
+ width: 5px !important;
581
+ height: 5px !important;
582
+ }
583
+ // 滚动条的设置
584
+ &::-webkit-scrollbar-thumb {
585
+ background-color: #ddd;
586
+ background-clip: padding-box;
587
+ }
588
+ &::-webkit-scrollbar-thumb:hover {
589
+ background-color: #bbb;
590
+ }
591
+ &::-webkit-scrollbar-track {
592
+ /*滚动条里面轨道*/
593
+ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
594
+ background: #ededed;
595
+ }
596
+ }
597
+ }
598
+
599
+ .col-sm-4 ,.col-sm-12 ,.col-sm-8{
600
+ .scrollbar();
601
+ }
602
+ }
603
+ </style>
@@ -6,4 +6,6 @@ export default function () {
6
6
  Vue.component('file-meter-info', (resolve) => { require(['./FilesManage/MeterinfoTest'], resolve) })
7
7
  // 表具设备信息
8
8
  Vue.component('file-user-device-info', (resolve) => { require(['./FilesManage/UserDeviceInfoTest'], resolve) })
9
+ // 用户基本信息test
10
+ Vue.component('file-user-essential-info', (resolve) => { require(['./FilesManage/UserEssentialInfoTest'], resolve) })
9
11
  }
@@ -83,7 +83,7 @@
83
83
  </tbody>
84
84
  </table>
85
85
 
86
- <table class="table table-striped table-bordered" v-if="model.f_entry_status=='入户' && model.datasource =='newos'">
86
+ <table class="table table-striped table-bordered" v-if="model.datasource =='newos'">
87
87
  <thead>
88
88
  <tr> <th colspan="4" style="text-align: center;background-color: #8cbce2;">用户安检概况</th></tr>
89
89
  </thead>
@@ -132,7 +132,7 @@
132
132
  <tr> <th colspan="4" style="text-align: center;background-color: #8cbce2;">隐患详情</th></tr>
133
133
  </thead>
134
134
  <tr v-for="checkitem in model.safecheckitem">
135
- <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ checkitem.f_item_name }}</td>
135
+ <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ checkitem.f_item_name}} - {{ checkitem.f_is_repaired }}</td>
136
136
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%" v-if="checkitem.f_path!='' && checkitem.f_path!=null">
137
137
  <img-self :src="'rs/image/file/'+checkitem.f_path" style="float: left" width="100" height="150"></img-self>
138
138
  </td>
@@ -220,10 +220,10 @@
220
220
  self.hasCheck = 0
221
221
  }
222
222
 
223
- if(new Date(self.model.f_next_check_date) < new Date(self.nowdate)){
224
- self.style='text-align: center;border: #E9E9E9 solid 1px;color:red'
225
- }else{
226
- self.style='text-align: center;border: #E9E9E9 solid 1px;'
223
+ if (new Date(self.model.f_next_check_date) < new Date(self.nowdate)) {
224
+ self.style = 'text-align: center;border: #E9E9E9 solid 1px;color:red'
225
+ } else {
226
+ self.style = 'text-align: center;border: #E9E9E9 solid 1px;'
227
227
  }
228
228
  }
229
229
 
@@ -232,8 +232,8 @@
232
232
  data () {
233
233
  return {
234
234
  model: {},
235
- style:'text-align: center;border: #E9E9E9 solid 1px;',
236
- nowdate:this.$login.toStandardTimeString(),
235
+ style: 'text-align: center;border: #E9E9E9 solid 1px;',
236
+ nowdate: this.$login.toStandardTimeString(),
237
237
  hasCheck: -1,
238
238
  imgshow: false,
239
239
  imgshow2: false,
package/src/main.js CHANGED
@@ -2,7 +2,7 @@ import Vue from 'vue'
2
2
  import all from 'vue-client/src/all'
3
3
  import App from './App'
4
4
  import system from 'system-clients/src/system'
5
- import FilialeSale from './filiale/shimen/sale'
5
+ import FilialeSale from './filiale/bayan/sale'
6
6
  import sale from './sale'
7
7
  import address from 'address-client/src/address'
8
8
  import ldap from 'ldap-clients/src/ldap'
File without changes
File without changes
Binary file