fstarter 2.10.50 → 2.10.53

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.
Files changed (79) hide show
  1. package/.babelrc +6 -6
  2. package/.editorconfig +9 -9
  3. package/index.html +22 -22
  4. package/index.js +222 -222
  5. package/package.json +104 -104
  6. package/src/App.vue +38 -38
  7. package/src/i18n/en-US.js +35 -35
  8. package/src/i18n/zh-CN.js +35 -35
  9. package/src/main.js +95 -87
  10. package/src/plugins/assets/ak.js +948 -948
  11. package/src/plugins/assets/callNative.js +490 -490
  12. package/src/plugins/assets/compressImg.js +75 -75
  13. package/src/plugins/assets/config.js +106 -106
  14. package/src/plugins/assets/fileServer.js +469 -469
  15. package/src/plugins/assets/http.js +343 -343
  16. package/src/plugins/assets/ua.js +27 -27
  17. package/src/plugins/components/BSButton.vue +61 -61
  18. package/src/plugins/components/BSCascader.vue +465 -465
  19. package/src/plugins/components/BSCell.vue +48 -48
  20. package/src/plugins/components/BSDatePicker.vue +167 -167
  21. package/src/plugins/components/BSImage.vue +42 -42
  22. package/src/plugins/components/BSInput.vue +140 -140
  23. package/src/plugins/components/BSList.vue +81 -81
  24. package/src/plugins/components/BSPicCode.vue +96 -96
  25. package/src/plugins/components/BSPopup.vue +43 -43
  26. package/src/plugins/components/BSRadio.vue +97 -97
  27. package/src/plugins/components/BSSearch.vue +109 -109
  28. package/src/plugins/components/BSSelect.vue +144 -144
  29. package/src/plugins/components/BSSign.vue +454 -454
  30. package/src/plugins/components/BSStepper.vue +115 -115
  31. package/src/plugins/components/BSUpload.vue +92 -92
  32. package/src/plugins/components/BSUpload2.vue +398 -398
  33. package/src/plugins/components/BSVerCode.vue +128 -128
  34. package/src/plugins/components/BSViewer.vue +92 -92
  35. package/src/plugins/components/base.js +496 -496
  36. package/src/plugins/components/base2.js +489 -489
  37. package/src/plugins/lib/weixin.js +20 -20
  38. package/src/plugins/platform/index.js +7 -7
  39. package/src/plugins/platform/isp_phone.js +310 -310
  40. package/src/plugins/route/index.js +140 -140
  41. package/src/plugins/selector/index.js +342 -342
  42. package/src/plugins/service/index.js +81 -81
  43. package/src/plugins/services/callCamera.js +53 -53
  44. package/src/plugins/services/exit.js +36 -36
  45. package/src/plugins/services/face.js +69 -69
  46. package/src/plugins/services/faceH5.js +54 -0
  47. package/src/plugins/services/faceInApp.js +31 -31
  48. package/src/plugins/services/faceTx.js +61 -61
  49. package/src/plugins/services/getFaceResult.js +104 -104
  50. package/src/plugins/services/getH5FaceResult.js +62 -0
  51. package/src/plugins/services/getMenus.js +40 -40
  52. package/src/plugins/services/getSystemData.js +128 -128
  53. package/src/plugins/services/getToken.js +79 -79
  54. package/src/plugins/services/getTxFaceResult.js +83 -83
  55. package/src/plugins/services/getUserInfo.js +47 -47
  56. package/src/plugins/services/goSetPage.js +40 -40
  57. package/src/plugins/services/hideFhoneTitle.js +36 -36
  58. package/src/plugins/services/index.js +45 -41
  59. package/src/plugins/services/init.js +35 -35
  60. package/src/plugins/services/jumpView.js +40 -40
  61. package/src/plugins/services/logout.js +43 -43
  62. package/src/plugins/services/share.js +113 -113
  63. package/src/plugins/services/statusBarHeight.js +39 -39
  64. package/src/plugins/session/index.js +32 -32
  65. package/src/services/getAuthInfo.js +22 -22
  66. package/src/services/index.js +9 -9
  67. package/src/services/sendVerCode.js +23 -23
  68. package/src/views/auth.vue +367 -367
  69. package/src/views/auth2.vue +90 -90
  70. package/src/views/auth3.vue +157 -157
  71. package/src/views/auth4.vue +8979 -8979
  72. package/src/views/auth5.vue +50 -50
  73. package/src/views/authh5.vue +369 -0
  74. package/src/views/components/BankSelect.vue +55 -55
  75. package/src/views/foot.vue +140 -140
  76. package/src/views/page.vue +222 -222
  77. package/src/views/shellFunc.vue +41 -41
  78. package/themes/basic.css +1 -1
  79. package/webpack.config.js +144 -144
@@ -1,50 +1,50 @@
1
- <template>
2
- <div>
3
- <bs-sign
4
- cname="sign"
5
- @done="done"
6
- >
7
- </bs-sign>
8
- </div>
9
- </template>
10
-
11
- <script>
12
-
13
- import base from '../plugins/components/base.js'
14
-
15
- export default {
16
- name: "auth5",
17
- mixins: [base],
18
- props: {},
19
-
20
-
21
- methods: {
22
- done() {
23
- console.log('123')
24
- }
25
- },
26
- data() {
27
- return {
28
-
29
-
30
- }
31
- },
32
- mounted() {
33
-
34
- },
35
- }
36
-
37
-
38
- </script>
39
-
40
-
41
- <style scoped>
42
- #app {
43
- font-family: 'Avenir', Helvetica, Arial, sans-serif;
44
- -webkit-font-smoothing: antialiased;
45
- -moz-osx-font-smoothing: grayscale;
46
- text-align: center;
47
- color: #2c3e50;
48
- margin-top: 0px;
49
- }
50
- </style>
1
+ <template>
2
+ <div>
3
+ <bs-sign
4
+ cname="sign"
5
+ @done="done"
6
+ >
7
+ </bs-sign>
8
+ </div>
9
+ </template>
10
+
11
+ <script>
12
+
13
+ import base from '../plugins/components/base.js'
14
+
15
+ export default {
16
+ name: "auth5",
17
+ mixins: [base],
18
+ props: {},
19
+
20
+
21
+ methods: {
22
+ done() {
23
+ console.log('123')
24
+ }
25
+ },
26
+ data() {
27
+ return {
28
+
29
+
30
+ }
31
+ },
32
+ mounted() {
33
+
34
+ },
35
+ }
36
+
37
+
38
+ </script>
39
+
40
+
41
+ <style scoped>
42
+ #app {
43
+ font-family: 'Avenir', Helvetica, Arial, sans-serif;
44
+ -webkit-font-smoothing: antialiased;
45
+ -moz-osx-font-smoothing: grayscale;
46
+ text-align: center;
47
+ color: #2c3e50;
48
+ margin-top: 0px;
49
+ }
50
+ </style>
@@ -0,0 +1,369 @@
1
+ <template>
2
+
3
+ <van-cell-group>
4
+ <!-- <bs-upload2
5
+ @clickUpload="clickUpload"
6
+ ></bs-upload2> -->
7
+ <!-- <p @click="share">分享</p>
8
+ <p @click="camera">相机</p>
9
+ <p @click="jump">跳转</p>
10
+ <p @click="barHeight">获取bar的高度</p>
11
+ <p @click="gosetPage">去配置页</p> -->
12
+ <p @click="face">人脸</p>
13
+ <br>
14
+ <br>
15
+ <bs-input
16
+ :mod="submodel.name"
17
+ cname="name"
18
+ @blur="blurFn"
19
+ />
20
+ <BankSelect :mod="submodel.bank" cname="bank"></BankSelect>
21
+ <bs-radio
22
+ :mod="submodel.sex"
23
+ cname="sex"
24
+ ></bs-radio>
25
+ <bs-input :mod="submodel.cardno" cname="cardno"/>
26
+ <!-- send-verCode 发送短信事件 -->
27
+ <bs-vercode
28
+ :mod="submodel.vercode"
29
+ @send-verCode="sendVerCode"
30
+ cname="vercode"
31
+ :cusValidate="cusValidate_name"
32
+ />
33
+ <bs-piccode
34
+ :mod="submodel.piccode"
35
+ cname="piccode"
36
+ />
37
+ <bs-datePicker
38
+ :mod="submodel.data"
39
+ cname="data"
40
+ />
41
+ <bs-search
42
+ :mod="submodel.search"
43
+ cname="search"
44
+ @search="search"
45
+ />
46
+ <bs-list
47
+ :mod="submodel.list"
48
+ cname="list"
49
+ @onload="load"
50
+ >
51
+ <div slot="slotA"></div>
52
+ </bs-list>
53
+ <!-- <bs-popup
54
+ cname="popup"
55
+ >
56
+ <bs-image
57
+ :mod="submodel.picture"
58
+ cname="picture"
59
+ >
60
+ </bs-image>
61
+ </bs-popup> -->
62
+ <bs-stepper
63
+ cname="stepper"
64
+ :mod="submodel.stepper"
65
+ >
66
+ <span slot="title">123</span>
67
+ </bs-stepper>
68
+ <div @click="a">123</div>
69
+ </van-cell-group>
70
+
71
+ </template>
72
+
73
+ <script>
74
+
75
+ import base from '../plugins/components/base.js'
76
+ import BankSelect from './components/BankSelect.vue'
77
+
78
+ export default {
79
+ name: "auth",
80
+ components: { BankSelect },
81
+ mixins: [base],
82
+ props: {
83
+
84
+ },
85
+ data() {
86
+ return {
87
+ vname:'auth',
88
+ needProcessEvent:true,
89
+ needLoadData: true,
90
+ submodel:{
91
+ data: {
92
+ required:true, // 必填
93
+ needStar: false,
94
+ text: '',
95
+ maxDate: '2030-02-03',
96
+ placeholder: '123123',
97
+ defaultPickerVal: '2020-02-03'
98
+ },
99
+ stepper:{
100
+ min: -2,
101
+ max: 5000,
102
+ integer: true
103
+ },
104
+ search: {
105
+ maxlength: 100, // 输入的值的最大长度
106
+ text: '', // 输入的值
107
+ readonly: false, // 只读
108
+ placeholder: '请输入关键词', // placeholder
109
+ leftIcon: 'search', // 输入框左侧图标名称或图片链接
110
+ clearable: true, // 是否启用清除图标,点击清除图标后会清空输入框
111
+ inputAlign: 'left' // 输入框内容对齐方式,可选值为 center right
112
+ },
113
+ btn: {
114
+ label: '确定', // 按钮文字
115
+ disabled: false // 禁用
116
+ },
117
+ name:{
118
+ label:'lang.accname', // 输入框label
119
+ placeholder:'请输入您的姓名', // placeholder
120
+ required:true, // 必填
121
+ readonly:false, // 只读
122
+
123
+ },
124
+ list: {
125
+ finishedText: '加载中..', // 加载完成后的提示文案
126
+ list: [
127
+ {span: '123'}
128
+ ]
129
+ },
130
+ cell: {
131
+ label: '', // 标题下方的描述信息
132
+ value: '', // 右侧内容
133
+ title: '' // 左侧标题
134
+ },
135
+ bank:{required:true,readonly:false},
136
+ cardno:{label:'扣款卡号',placeholder:'请输入扣款卡号',required:true,readonly:true},
137
+ vercode:{
138
+ label: '验证码', // label
139
+ placeholder: '请输入验证码', // placeholder
140
+ disabled: false, // 禁用
141
+ required: true, // 必填
142
+ sendButtonLabel: '发送短信', // 按钮文字
143
+ expiredTime: 3, // 倒计时时长
144
+ expiredLabel: '{0}s', // 倒计时格式
145
+ validateType:'CUS' // 校验类型。见文档校验
146
+ },
147
+ piccode:{
148
+ label:'验证码', // label
149
+ placeholder:'请输入验证码', // placeholder
150
+ disabled:true, // 禁用
151
+ required:true, // 必填
152
+ fileId:'18d339fe9861935f33df4cbf55fc251a'
153
+ },
154
+ sex:{
155
+ label: '性别', // label
156
+ value: '0', // 绑定的值
157
+ required: true, // 必填
158
+ readonly: true, // 只读
159
+ items: [{value:"lang.man",key:"1"},{value:"lang.women",key:"0"}] // 选项
160
+ },
161
+ createDate:{label:'创建日期',placeholder:'请选择创建日期',required:true,readonly:false},
162
+ picture:{
163
+ value:'https://www.baidu.com/img/flexible/logo/pc/result.png' // 图片url
164
+ },
165
+ popup: {
166
+ show: false // 是否显示
167
+ }
168
+
169
+ },
170
+ flag:true
171
+ }
172
+ },
173
+ mounted() {
174
+ // this.selector('#data').setValue(new Date())
175
+ this.session.sys.toolbar.title='sss'
176
+ // this.$service.callService('getAuthInfo')
177
+ this.$on('getPic', (res) => {
178
+ console.log(res)
179
+ })
180
+ this.$on('statusBarHeight', (res) => {
181
+ console.log(res)
182
+ })
183
+ this.$on('live', (res) => {
184
+ console.log(res)
185
+ })
186
+ setTimeout(()=>{
187
+ this.session.sys.title='sddss'
188
+ this.selector('#name').reset()
189
+
190
+ },5000)
191
+
192
+ },
193
+ methods: {
194
+ face() {
195
+ // 回跳地址:
196
+ // 测试:https://teststatic.ihasl.com/pages/wechatsecur/#/verificationResult
197
+ // 生产: https://www.ihasl.com/pages/wechatsecur
198
+ // #/verificationResult @郭宁 
199
+ // https://teststatic.ihasl.com/pages/wechatsecur/#/reporterfile
200
+ const params = {
201
+ idcard_number: '131128199509262429',
202
+ idcard_name: '项语晴',
203
+ cbUrl: 'https://teststatic.ihasl.com/pages/oneleinsure/#/'
204
+ }
205
+ console.log(params, '=====唤起人脸入参====')
206
+ this.$service.callService('faceH5', params)
207
+ },
208
+ gosetPage() {
209
+ this.$service.callService('goSetPage')
210
+ },
211
+ barHeight() {
212
+ const a = {
213
+ vnode: this,
214
+ }
215
+ this.$service.callService('statusBarHeight', a)
216
+ },
217
+ jump() {
218
+ const a = {
219
+ url: 'http://192.168.1.15:8080/#/auth2',
220
+ pageCode: 'tarinJump', // 训练页面
221
+ // pageCode: 'COMMON_PRIMARY_PAGE' 指定页面
222
+ }
223
+ this.$service.callService('jumpView', a)
224
+ },
225
+ share() {
226
+ const a = {
227
+ // 分享链接描述
228
+ description:"尊敬的老大先生/女士:您购买的MRE-御医保医疗保险,请您签名!感谢您对恒安标准人寿的信任。",
229
+ // 分享链接配图
230
+ imgurl:"http://www.ihasl.com/pages/common/share.png",
231
+ // 固定入参
232
+ shareType: "2",
233
+ //
234
+ // text:"https://www.ihasl.com/pages/eas/#/eleinsure/flySign?agentInfo=%7B%22payment_mode%22%3A%220%22%2C%22images%22%3A%5B%5D%2C%22agent_id%22%3A%2260005273%22%2C%22agent_name%22%3A%22%E5%B0%A4%E4%B8%B9%22%2C%22is_qt%22%3A%22N%22%2C%22is_fh%22%3A%22N%22%2C%22sum_initial_premium%22%3A%22325.0%22%2C%22is_tl%22%3A%22N%22%2C%22is_wn%22%3A%22N%22%2C%22total_premium%22%3A%220.0%22%2C%22policy_type%22%3A%22lib_pro%22%2C%22full_name%22%3A%22%E8%80%81%E5%A4%A7%22%2C%22payment_duration%22%3A%221%22%2C%22company_name%22%3A%22%E6%81%92%E5%AE%89%E6%A0%87%E5%87%86%E4%BA%BA%E5%AF%BF%E4%BF%9D%E9%99%A9%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E5%A4%A9%E6%B4%A5%E5%88%86%E5%85%AC%E5%8F%B8%22%2C%22rn%22%3A1%2C%22zy_card_no%22%3A%2202003812000080002018000567%22%2C%22risk_name%22%3A%22MRE-%E5%BE%A1%E5%8C%BB%E4%BF%9D%E5%8C%BB%E7%96%97%E4%BF%9D%E9%99%A9%22%7D&applyTime=&isTaxExc=lib_pro&rn=0&otherPartyUuid=&isSamePerson=N&applicantHasSign=N&isSign=N&isShare=N&serno=hUDedDxn&orderUuid=Vv65u4Vy&policyUuid=wzB7maly&tPartyUuid=pmYtgjBz&bPartyUuid=&hasReliefClause=Y",
235
+ // 分享标题
236
+ title:"空中签名",
237
+ // 分享链接地址
238
+ // url:"https://www.ihasl.com/pages/eas/#/eleinsure/flySign?agentInfo=%7B%22payment_mode%22%3A%220%22%2C%22images%22%3A%5B%5D%2C%22agent_id%22%3A%2260005273%22%2C%22agent_name%22%3A%22%E5%B0%A4%E4%B8%B9%22%2C%22is_qt%22%3A%22N%22%2C%22is_fh%22%3A%22N%22%2C%22sum_initial_premium%22%3A%22325.0%22%2C%22is_tl%22%3A%22N%22%2C%22is_wn%22%3A%22N%22%2C%22total_premium%22%3A%220.0%22%2C%22policy_type%22%3A%22lib_pro%22%2C%22full_name%22%3A%22%E8%80%81%E5%A4%A7%22%2C%22payment_duration%22%3A%221%22%2C%22company_name%22%3A%22%E6%81%92%E5%AE%89%E6%A0%87%E5%87%86%E4%BA%BA%E5%AF%BF%E4%BF%9D%E9%99%A9%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%E5%A4%A9%E6%B4%A5%E5%88%86%E5%85%AC%E5%8F%B8%22%2C%22rn%22%3A1%2C%22zy_card_no%22%3A%2202003812000080002018000567%22%2C%22risk_name%22%3A%22MRE-%E5%BE%A1%E5%8C%BB%E4%BF%9D%E5%8C%BB%E7%96%97%E4%BF%9D%E9%99%A9%22%7D&applyTime=&isTaxExc=lib_pro&rn=0&otherPartyUuid=&isSamePerson=N&applicantHasSign=N&isSign=N&isShare=N&serno=hUDedDxn&orderUuid=Vv65u4Vy&policyUuid=wzB7maly&tPartyUuid=pmYtgjBz&bPartyUuid=&hasReliefClause=Y"
239
+ }
240
+ this.$service.callService('share', a)
241
+ },
242
+ camera() {
243
+ // 配合mounted钩子函数中的$on来使用
244
+ const param = {
245
+ // 当前node节点,来绑定回调用
246
+ vnode: this,
247
+ // 随机数,长度适中
248
+ buzId: 'asdf123123',
249
+ cancelCrop: true,
250
+ // 相册是否多选
251
+ multiple: false,
252
+ cropType: '1' // 图片裁剪类型 ,0 横向裁剪 宽 :高 = 8 :5, 1 竖向裁剪 宽 :高 = 5 :7
253
+
254
+ }
255
+ this.$service.callService('camera', param)
256
+ },
257
+ clickUpload() {
258
+ // console.log("点了上传图片")
259
+ },
260
+ a() {
261
+ // this.selector('#stepper').set('min', 20)
262
+          this.selector('#data').setValue(new Date())
263
+ //          this.selector('#data').set(new Date())
264
+ },
265
+ search() {
266
+ console.log(123)
267
+ },
268
+ blurFn() {
269
+ console.log('blur')
270
+ },
271
+ load() {
272
+ console.log(123)
273
+ },
274
+ processEvent(event){
275
+
276
+ this.authWatchHandle()
277
+
278
+ },
279
+ cusValidate_name(self,value){
280
+
281
+ if(value.value == 'aa'){
282
+ return this.$service.callService('sendVerCode').then((data)=>{
283
+ return ''
284
+ })
285
+ }else{
286
+ return this.$service.callService('sendVerCode').then((data)=>{
287
+ return {message:'该用户已存在',level:8}
288
+ })
289
+ }
290
+
291
+ },
292
+ loadData(res){
293
+ if (res.serviceId === 'getH5FaceResult') {
294
+ console.log(res)
295
+ }
296
+ if(res.serviceId == 'getAuthInfo'){
297
+ // console.log('aaaaaaa')
298
+ // console.log(this.selector('>page').ctls)
299
+ // let data = res.data
300
+ // this.selector('#auth').selector('')
301
+ // this.selector('#name').selector('#name').setValue(data.name)
302
+ // this.selector('#bank').setValue(data.bank)
303
+ // this.selector('#sex').setValue('1')
304
+ // // this.selector('#sex').set('items',[{value:"dddd",key:"21"},{value:"ffff",key:"01"}])
305
+
306
+ // this.selector('#cardno').setValue(data.cardno)
307
+
308
+ // console.log(this.regedit)
309
+ }
310
+
311
+
312
+ },
313
+ createDefaultModel() {
314
+ return {
315
+ title:'表单'
316
+ };
317
+ },
318
+ sendVerCode(resolve){
319
+ debugger
320
+ setTimeout(function() {
321
+ resolve()
322
+ }, 1000)
323
+
324
+ // this.$service.callService('sendVerCode').then((data)=>{
325
+ // resolve()
326
+ // }
327
+ // )
328
+
329
+ },
330
+ authWatchHandle(){
331
+
332
+
333
+ if(this.$ak.utils.isEmpty(this.selector('##name').getValue())
334
+ || this.$ak.utils.isEmpty(this.selector('##bank').getValue())
335
+ || this.$ak.utils.isEmpty(this.selector('##cardno').getValue())
336
+ || this.$ak.utils.isEmpty(this.selector('##vercode').getValue())
337
+ ){
338
+ this.selector('##btn').disable()
339
+ }else{
340
+ this.selector('##btn').enable()
341
+ }
342
+
343
+ if(this.$ak.utils.isEmpty(this.selector('##name').getValue())
344
+ || this.$ak.utils.isEmpty(this.selector('##bank').getValue())
345
+ || this.$ak.utils.isEmpty(this.selector('##cardno').getValue())
346
+ ){
347
+ this.selector('##vercode').disable()
348
+ }else{
349
+ this.selector('##vercode').enable()
350
+ }
351
+
352
+ }
353
+ },
354
+ watch: {}
355
+ }
356
+
357
+ </script>
358
+
359
+
360
+ <style scoped>
361
+ #app {
362
+ font-family: 'Avenir', Helvetica, Arial, sans-serif;
363
+ -webkit-font-smoothing: antialiased;
364
+ -moz-osx-font-smoothing: grayscale;
365
+ text-align: center;
366
+ color: #2c3e50;
367
+ margin-top: 0px;
368
+ }
369
+ </style>
@@ -1,55 +1,55 @@
1
- <template>
2
-
3
- <bs-select :mod="model" ref="ctl" :cname="cname"/>
4
-
5
- </template>
6
-
7
-
8
- <script>
9
-
10
- import base from '../../plugins/components/base.js'
11
-
12
- export default {
13
- name: "bankSelect",
14
- mixins: [base],
15
- props: {
16
- value: {
17
- type: Object,
18
- default: () => {
19
- return {default:true}
20
- }
21
- }
22
- },
23
- data() {
24
- return {
25
- isExtend:true
26
- }
27
- },
28
- mounted() {
29
-
30
- let fullName = this.$refs.ctl.fullName
31
- let self = this
32
- window.setTimeout(function () {
33
- let ctlModel = self.selector('=' + fullName)
34
- ctlModel.set('items',[{value:"兴业银行",key:"11"},{value:"邮储银行",key:"22"}])
35
- }, 1000);
36
-
37
- },
38
- methods: {
39
- createDefaultModel() {
40
- return {
41
- label:'扣款银行',
42
- placeholder:'请输入扣款银行'
43
- };
44
- }
45
- },
46
- watch: {
47
-
48
-
49
- }
50
-
51
- }
52
-
53
-
54
-
55
- </script>
1
+ <template>
2
+
3
+ <bs-select :mod="model" ref="ctl" :cname="cname"/>
4
+
5
+ </template>
6
+
7
+
8
+ <script>
9
+
10
+ import base from '../../plugins/components/base.js'
11
+
12
+ export default {
13
+ name: "bankSelect",
14
+ mixins: [base],
15
+ props: {
16
+ value: {
17
+ type: Object,
18
+ default: () => {
19
+ return {default:true}
20
+ }
21
+ }
22
+ },
23
+ data() {
24
+ return {
25
+ isExtend:true
26
+ }
27
+ },
28
+ mounted() {
29
+
30
+ let fullName = this.$refs.ctl.fullName
31
+ let self = this
32
+ window.setTimeout(function () {
33
+ let ctlModel = self.selector('=' + fullName)
34
+ ctlModel.set('items',[{value:"兴业银行",key:"11"},{value:"邮储银行",key:"22"}])
35
+ }, 1000);
36
+
37
+ },
38
+ methods: {
39
+ createDefaultModel() {
40
+ return {
41
+ label:'扣款银行',
42
+ placeholder:'请输入扣款银行'
43
+ };
44
+ }
45
+ },
46
+ watch: {
47
+
48
+
49
+ }
50
+
51
+ }
52
+
53
+
54
+
55
+ </script>