apply-clients 4.1.29-weinan → 4.1.30-weinan

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "4.1.29-weinan",
3
+ "version": "4.1.30-weinan",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -372,8 +372,8 @@ export default {
372
372
  },
373
373
  // 打开安装明细
374
374
  async showUserFileModal (row) {
375
+ this.userinfo = {}
375
376
  this.useradders = row
376
-
377
377
  let http = new HttpResetClass()
378
378
  let data = {
379
379
  condition: `f_userinfo_id = '${row.f_userinfo_id}'`
@@ -714,14 +714,25 @@
714
714
  :value.sync="userinfo.f_credentials"
715
715
  v-model="userinfo.f_credentials"
716
716
  :options="credentialsList"
717
+ @change="onchange()"
717
718
  :valueSingle="true"></input-select>
718
719
  </div>
719
720
  </div>
720
- <div class="form-group col-sm-6" :class="[$v.f_idnumber.required ? 'has-error' : '']">
721
+ <div class="form-group col-sm-6" :class="[$v.f_idnumber.required ? 'has-error' : '']" v-if="flag1" >
722
+ <label class="col-sm-4 control-label">证件号码:</label>
723
+ <div class="col-sm-7">
724
+ <input class="form-control input_view" style=""
725
+ v-validate:f_idnumber="['required']"
726
+ placeholder="证件号码"
727
+ v-model="userinfo.f_idnumber"
728
+ :value="userinfo.f_idnumber"
729
+ :readonly="$parent.$parent.mark === 1 || userinfo.f_user_state === '正常'"/>
730
+ </div>
731
+ </div>
732
+ <div class="form-group col-sm-6" v-if="flag">
721
733
  <label class="col-sm-4 control-label">证件号码:</label>
722
734
  <div class="col-sm-7">
723
735
  <input class="form-control input_view" style=""
724
- v-validate:userinfo.f_credentials=="身份证"?f_idnumber="['required']":""
725
736
  placeholder="证件号码"
726
737
  v-model="userinfo.f_idnumber"
727
738
  :value="userinfo.f_idnumber"
@@ -932,7 +943,8 @@ export default {
932
943
  "f_people_num": "人口数"
933
944
  },
934
945
  condition: "1 = 1",
935
- flag:true
946
+ flag:true,
947
+ flag1:false
936
948
  }
937
949
  },
938
950
  ready () {
@@ -1508,9 +1520,11 @@ export default {
1508
1520
  onchange(){
1509
1521
  debugger
1510
1522
  if (this.userinfo.f_credentials ==='身份证'){
1511
- this.flag = true
1512
- }else {
1513
1523
  this.flag = false
1524
+ this.flag1 = true
1525
+ }else {
1526
+ this.flag = true
1527
+ this.flag1 = false
1514
1528
  }
1515
1529
  }
1516
1530
  },