apply-clients 4.1.76 → 4.1.79

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.76",
3
+ "version": "4.1.79",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -92,7 +92,7 @@
92
92
  "sinon-chai": "^2.8.0",
93
93
  "style": "0.0.3",
94
94
  "style-loader": "^0.20.3",
95
- "system-clients": "3.1.87",
95
+ "system-clients": "3.2.1-11",
96
96
  "system-phone": "1.1.18",
97
97
  "url-loader": "^0.5.7",
98
98
  "vue-client": "1.24.39",
@@ -7,13 +7,13 @@
7
7
  <div class="form-group col-sm-5">
8
8
  <label class="font_normal_body">项目名称:</label>
9
9
  <input type="text" class="input_search" v-model="model.f_entry_name"
10
- v-on:keyup.enter="$parent.$parent.search()" condition=" f_entry_name ='{}' " placeholder='请输入'>
10
+ v-on:keyup.enter="$parent.$parent.search()" condition=" f_entry_name like '%{}%' " placeholder='请输入'>
11
11
  </div>
12
12
  <div class="form-group col-sm-4">
13
13
  <label class="font_normal_body">报建编号:</label>
14
14
  <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
15
  v-on:keyup.enter="$parent.$parent.search()"
16
- condition="f_apply_num = '{}'">
16
+ condition="f_apply_num like '%{}%'">
17
17
  </div>
18
18
  <div class="form-group col-sm-3 button-range">
19
19
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
@@ -31,7 +31,7 @@
31
31
  <label class="font_normal_body">合同编号:</label>
32
32
  <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
33
33
  v-on:keyup.enter="$parent.$parent.search()"
34
- condition="f_contract_number = '{}'">
34
+ condition="f_contract_number like '%{}%'">
35
35
  </div>
36
36
  <div class="form-group col-sm-4">
37
37
  <label class="font_normal_body">报建类型:</label>
@@ -7,13 +7,13 @@
7
7
  <div class="form-group col-sm-4">
8
8
  <label class="font_normal_body">项目名称:</label>
9
9
  <input type="text" class="input_search" v-model="model.f_entry_name"
10
- v-on:keyup.enter="$parent.$parent.search()" condition=" f_entry_name = '{}' " placeholder='请输入'>
10
+ v-on:keyup.enter="$parent.$parent.search()" condition=" f_entry_name like '%{}%' " placeholder='请输入'>
11
11
  </div>
12
12
  <div class="form-group col-sm-3">
13
13
  <label class="font_normal_body">报建编号:</label>
14
14
  <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
15
  v-on:keyup.enter="$parent.$parent.search()"
16
- condition="f_apply_num = '{}'">
16
+ condition="f_apply_num like '%{}%'">
17
17
  </div>
18
18
  <div class="form-group col-sm-5 button-range">
19
19
  <button class="button_new button_spacing" style="width: max-content"
@@ -34,7 +34,7 @@
34
34
  <label class="font_normal_body">合同编号:</label>
35
35
  <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
36
36
  v-on:keyup.enter="$parent.$parent.search()"
37
- condition="f_apply_num = '{}'">
37
+ condition="f_contract_number like '%{}%'">
38
38
  </div>
39
39
  <div class="form-group col-sm-3">
40
40
  <label class="font_normal_body">报建类型:</label>
@@ -279,6 +279,15 @@ export default {
279
279
  },
280
280
  // 保存档案
281
281
  async saveUserFile() {
282
+ console.log("当前表具信息",this.userinfo.userfiles[0])
283
+ if ((this.userinfo.userfiles[0].gasbrand.f_meter_brand === '先锋集中器' ||
284
+ this.userinfo.userfiles[0].gasbrand.f_meter_brand === '先锋4G物联网表' ||
285
+ this.userinfo.userfiles[0].gasbrand.f_meter_brand === '先锋NB物联网表') &&
286
+ !/^[a-zA-Z0-9]{10}$/.test(this.userinfo.userfiles[0].f_meternumber))
287
+ {
288
+ this.$showAlert('请输入10位表号!!!', 'warning', 2000)
289
+ return
290
+ }
282
291
  let data = {
283
292
  user: this.$login.f,
284
293
  useradders: this.useradders,
@@ -295,7 +304,15 @@ export default {
295
304
  async meternumberValidate(i) {
296
305
  if (!this.userinfo.userfiles[i].f_gasbrand_id) {
297
306
  this.userinfo.userfiles[i].f_meternumber = ''
298
- this.$showAlert('请先选择气表品牌!!!', 'warning', 3000)
307
+ this.$showAlert('请先选择气表品牌!!!', 'warning', 2000)
308
+ return
309
+ }
310
+ if ((this.userinfo.userfiles[i].gasbrand.f_meter_brand === '先锋集中器' ||
311
+ this.userinfo.userfiles[i].gasbrand.f_meter_brand === '先锋4G物联网表' ||
312
+ this.userinfo.userfiles[i].gasbrand.f_meter_brand === '先锋NB物联网表') &&
313
+ !/^[a-zA-Z0-9]{10}$/.test(this.userinfo.userfiles[i].f_meternumber))
314
+ {
315
+ this.$showAlert('请输入10位表号!!!', 'warning', 2000)
299
316
  return
300
317
  }
301
318
  if (this.userinfo.userfiles[i].f_gasbrand_id && this.userinfo.userfiles[i].f_meternumber) {
@@ -449,6 +466,7 @@ export default {
449
466
  },
450
467
  // 安装人
451
468
  installperson() {
469
+ console.log("安装人",this.$login.f.f_installman)
452
470
  return this.$login.f.f_installman.map(item => {
453
471
  return {
454
472
  label: item.name,
@@ -39,6 +39,13 @@
39
39
  <th v-if="$parent.$parent.showremark" class="textNoLineBreak">退回理由</th>
40
40
  <th v-if="$parent.$parent.signReason" class="textNoLineBreak">标记原因</th>
41
41
  <th class="textNoLineBreak">
42
+ <button
43
+ type="button"
44
+ class="btn btn-info head-but"
45
+ v-if="$parent.$parent.selectdata.defname === '报建登记' && $parent.$parent.mark !== 1"
46
+ @click="$parent.$parent.openModal()"
47
+ :disabled="$parent.$parent.mark === 1"
48
+ >添加</button>
42
49
  <button v-if="$parent.$parent.showback && $parent.$parent.mark !== 1 "type="button" class="btn btn-info head-but"
43
50
  @click="$parent.$parent.unpass()">退回</button>
44
51
  <button v-if="$parent.$parent.void && $parent.$parent.mark !== 1"type="button" class="btn btn-info head-but"
@@ -652,7 +659,193 @@
652
659
  </footer>
653
660
  </modal>
654
661
 
655
-
662
+ <validator name="v">
663
+ <modal v-if="showModal" :show.sync = "showModal" v-ref:modal :backdrop = "false" title="添加用户">
664
+ <header slot="modal-header" class="modal-header">
665
+ <button type="button" class="close" @click="closeUserModal"><span>&times;</span></button>
666
+ <h4 class="modal-title">添加用户</h4>
667
+ </header>
668
+ <acticle slot="modal-body" class="modal-body">
669
+ <!-- 基本信息 -->
670
+ <div class="form-group col-sm-12 panel panel-info" >
671
+ <div class="panel-heading head col-sm-12" style="background-color: #e8f4ff;margin-bottom: 10px">
672
+ <div class="col-sm-6 text-left">用户信息</div>
673
+ </div>
674
+ <div class="form-group col-sm-6" :class="[$v.f_user_name.required ? 'has-error' : '']">
675
+ <label class="col-sm-4 control-label">用户名称:</label>
676
+ <div class="col-sm-7">
677
+ <input class="form-control input_view" style=""
678
+ v-validate:f_user_name = "['required']"
679
+ v-model="userinfo.f_user_name"
680
+ :value.sync="userinfo.f_user_name"
681
+ :readonly="$parent.$parent.mark === 1 || userinfo.f_user_state === '正常'"
682
+ placeholder="客户名称"/>
683
+ </div>
684
+ </div>
685
+ <div class="form-group col-sm-6" :class="[$v.f_user_phone.required ? 'has-error' : '']">
686
+ <label class="col-sm-4 control-label">用户电话:</label>
687
+ <div class="col-sm-7">
688
+ <input class="form-control input_view" style=""
689
+ v-validate:f_user_phone = "['required']"
690
+ v-model="userinfo.f_user_phone"
691
+ :value.sync="userinfo.f_user_phone"
692
+ :readonly="$parent.$parent.mark === 1 || userinfo.f_user_state === '正常'"
693
+ placeholder="客户电话"/>
694
+ </div>
695
+ </div>
696
+ <div class="form-group col-sm-6">
697
+ <label class="col-sm-4 control-label">用户类型:</label>
698
+ <div class="col-sm-7">
699
+ <input-select
700
+ class="select select_list"
701
+ :value.sync="userinfo.f_user_nature"
702
+ v-model="userinfo.f_user_nature"
703
+ :options="getUserType"
704
+ :disable="$parent.$parent.mark === 1 || userinfo.f_user_state === '正常'"
705
+ :valueSingle="true"></input-select>
706
+ </div>
707
+ </div>
708
+ <div class="form-group col-sm-6">
709
+ <label class="col-sm-4 control-label">证件类型:</label>
710
+ <div class="col-sm-7">
711
+ <input-select
712
+ class="select select_list"
713
+ :value.sync="userinfo.f_credentials"
714
+ v-model="userinfo.f_credentials"
715
+ :options="credentialsList"
716
+ :valueSingle="true"></input-select>
717
+ </div>
718
+ </div>
719
+ <div class="form-group col-sm-6">
720
+ <label class="col-sm-4 control-label">证件号码:</label>
721
+ <div class="col-sm-7">
722
+ <input class="form-control input_view" style=""
723
+ placeholder="证件号码"
724
+ v-model="userinfo.f_idnumber"
725
+ :value="userinfo.f_idnumber"
726
+ :readonly="$parent.$parent.mark === 1 || userinfo.f_user_state === '正常'"/>
727
+ </div>
728
+ </div>
729
+ </div>
730
+ <!-- 地址信息 -->
731
+ <div class="form-group col-sm-12 panel panel-info" >
732
+ <div class="panel-heading head col-sm-12" style="background-color: #e8f4ff;margin-bottom: 10px">
733
+ <div class="col-sm-6 text-left">地址信息</div>
734
+ </div>
735
+ <div class="form-group col-sm-6" :class="[$v.f_address_type.required ? 'has-error' : '']">
736
+ <label class="col-sm-4 control-label">地址类型:</label>
737
+ <div class="col-sm-7">
738
+ <input type="text" v-show="false" v-model="userinfo.useradders.f_address_type" :value.sync="userinfo.useradders.f_address_type" v-validate:f_address_type = "['required']" >
739
+ <input-select
740
+ class="select select_list"
741
+ :value.sync="userinfo.useradders.f_address_type"
742
+ v-model="userinfo.useradders.f_address_type"
743
+ :options="addressType"
744
+ @change="addressTypeChange()"
745
+ :disable="$parent.$parent.mark === 1 || userinfo.f_user_state === '正常'"
746
+ :valueSingle="true"></input-select>
747
+ </div>
748
+ </div>
749
+ <div class="form-group col-sm-6" :class="[$v.f_pcd.required ? 'has-error' : '']">
750
+ <label class="col-sm-4 control-label">区&emsp;&emsp;域:</label>
751
+ <div class="col-sm-7">
752
+ <input type="text" v-show="false" v-model="userinfo.useradders.f_pcd" :value.sync="userinfo.useradders.f_pcd" v-validate:f_pcd = "['required']" >
753
+ <input-select
754
+ class="select select_list"
755
+ :value.sync="userinfo.useradders.f_pcd"
756
+ v-model="userinfo.useradders.f_pcd"
757
+ :options="pcdList"
758
+ @change="addressSplicing(), getStreet()"
759
+ :disable="$parent.$parent.mark === 1 || userinfo.f_user_state === '正常'"
760
+ :valueSingle="true"></input-select>
761
+ </div>
762
+ </div>
763
+ <div class="form-group col-sm-6" :class="[$v.f_street.required ? 'has-error' : '']">
764
+ <label class="col-sm-4 control-label">街&emsp;&emsp;道:</label>
765
+ <div class="col-sm-7">
766
+ <input type="text" v-show="false" v-model="userinfo.useradders.f_street" :value.sync="userinfo.useradders.f_street" v-validate:f_street = "['required']" >
767
+ <input-select
768
+ class="select select_list"
769
+ :value.sync="userinfo.useradders.f_street"
770
+ v-model="userinfo.useradders.f_street"
771
+ :options="streetList"
772
+ @change="addressSplicing(), getResidentialArea()"
773
+ :disable="$parent.$parent.mark === 1 || userinfo.f_user_state === '正常'"
774
+ :valueSingle="true"></input-select>
775
+ </div>
776
+ </div>
777
+ <div class="form-group col-sm-6">
778
+ <label class="col-sm-4 control-label">小&emsp;&emsp;区:</label>
779
+ <div class="col-sm-7">
780
+ <input-select
781
+ class="select select_list"
782
+ :value.sync="userinfo.useradders.f_residential_area"
783
+ v-model="userinfo.useradders.f_residential_area"
784
+ :options="areaList"
785
+ @change="addressSplicing()"
786
+ :disable="$parent.$parent.mark === 1 || userinfo.f_user_state === '正常'"
787
+ :valueSingle="true"></input-select>
788
+ </div>
789
+ </div>
790
+ <div class="form-group col-sm-6">
791
+ <label class="col-sm-4 control-label">楼&emsp;&emsp;号:</label>
792
+ <div class="col-sm-7">
793
+ <input class="form-control input_view" placeholder="楼号"
794
+ v-model="userinfo.useradders.f_building"
795
+ :value="userinfo.useradders.f_building"
796
+ @change="addressSplicing"
797
+ :readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
798
+ </div>
799
+ </div>
800
+ <div class="form-group col-sm-6">
801
+ <label class="col-sm-4 control-label">单&emsp;&emsp;元:</label>
802
+ <div class="col-sm-7">
803
+ <input class="form-control input_view" placeholder="单元"
804
+ v-model="userinfo.useradders.f_unit"
805
+ :value="userinfo.useradders.f_unit"
806
+ @change="addressSplicing"
807
+ :readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
808
+ </div>
809
+ </div>
810
+ <div class="form-group col-sm-6">
811
+ <label class="col-sm-4 control-label">楼&emsp;&emsp;层:</label>
812
+ <div class="col-sm-7">
813
+ <input class="form-control input_view" placeholder="楼层"
814
+ v-model="userinfo.useradders.f_floor"
815
+ :value="userinfo.useradders.f_floor"
816
+ @change="addressSplicing"
817
+ :readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
818
+ </div>
819
+ </div>
820
+ <div class="form-group col-sm-6" >
821
+ <label class="col-sm-4 control-label">门&ensp;牌&ensp;号:</label>
822
+ <div class="col-sm-7">
823
+ <input class="form-control input_view" placeholder="门牌号"
824
+ v-model="userinfo.useradders.f_room"
825
+ :value="userinfo.useradders.f_room"
826
+ @change="addressSplicing"
827
+ :readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
828
+ </div>
829
+ </div>
830
+ <div class="form-group col-sm-12">
831
+ <label class="col-sm-2 control-label">地&emsp;&emsp;址:</label>
832
+ <div class="col-sm-9">
833
+ <input class="form-control input_view"
834
+ placeholder="地址"
835
+ v-model="userinfo.useradders.f_address"
836
+ :value.sync="userinfo.useradders.f_address"
837
+ />
838
+ </div>
839
+ </div>
840
+ </div>
841
+ </acticle>
842
+ <footer slot="modal-footer" class="modal-footer">
843
+ <template v-if="mark !== 1 && userinfo.f_user_state !== '正常'">
844
+ <button type="button" class="btn btn-primary" @click="saveUser" :disabled="!$v.valid">确认</button>
845
+ </template>
846
+ </footer>
847
+ </modal>
848
+ </validator>
656
849
  <modal :show.sync="showFile" v-ref:modal backdrop="true" title="选择文件">
657
850
  <header slot="modal-header" class="modal-header">
658
851
  <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
@@ -668,6 +861,7 @@
668
861
 
669
862
  </template>
670
863
  <script>
864
+ import Vue from 'vue'
671
865
  import {PagedList} from 'vue-client'
672
866
  import {HttpResetClass} from 'vue-client'
673
867
  import {isEmpty} from "../../../Util";
@@ -712,6 +906,12 @@ export default {
712
906
  record:'',
713
907
  all:[],
714
908
  remark:'',
909
+ showModal: false,
910
+ addressType:[{label: "民用地址", value: "民用地址"}, {label: "特殊地址", value: "特殊地址"}],
911
+ addressDis:true,
912
+ pcdList:[],
913
+ streetList:[],
914
+ areaList:[],
715
915
  getfield: {
716
916
  "f_pcd": "省市区",
717
917
  "f_street": "街道",
@@ -767,6 +967,7 @@ export default {
767
967
  {
768
968
  this.showcover=true
769
969
  }
970
+ this.getPcd()
770
971
  this.search()
771
972
  },
772
973
  methods: {
@@ -873,12 +1074,12 @@ export default {
873
1074
  resolveMsg: null,
874
1075
  rejectMsg: null
875
1076
  })
876
- if (resparent.data[i].defname === '营业厅建档' && resparent.data[i].state === '结束')
877
- // let http3 = new HttpResetClass()
878
- await http.load('POST', 'rs/logic/parentprocess', {data: {processid: resparent.data[i].processid, defname: resparent.data[i].defname}}, {
879
- resolveMsg: null,
880
- rejectMsg: null
881
- })
1077
+ // if (resparent.data[i].defname === '营业厅建档' && resparent.data[i].state === '结束')
1078
+ // // let http3 = new HttpResetClass()
1079
+ // await http.load('POST', 'rs/logic/parentprocess', {data: {processid: resparent.data[i].processid, defname: resparent.data[i].defname}}, {
1080
+ // resolveMsg: null,
1081
+ // rejectMsg: null
1082
+ // })
882
1083
  }
883
1084
  for (let i = 0; i < this.selectedData.length; i++) {
884
1085
  let data = {
@@ -1123,6 +1324,10 @@ export default {
1123
1324
  this.search()
1124
1325
  console.log("145")
1125
1326
  },
1327
+ closeUserModal(){
1328
+ this.userinfo = null
1329
+ this.showModal = false
1330
+ },
1126
1331
  async saveUserFile() {
1127
1332
  this.showUserFile = false
1128
1333
  console.log("987")
@@ -1143,12 +1348,12 @@ export default {
1143
1348
  rejectMsg: null
1144
1349
  })
1145
1350
  this.$showMessage("删除成功")
1146
- this.selectdata = res.data
1351
+ // this.selectdata = res.data
1147
1352
  } catch (e) {
1148
1353
  this.$showAlert(e.data, 'danger', 3000)
1149
1354
  }
1150
1355
  this.search()
1151
- // this.$dispatch('breakControl', this.selectdata)
1356
+ this.$dispatch('breakControl', this.selectdata)
1152
1357
  },
1153
1358
  recoverupload(row) {
1154
1359
  this.record=row
@@ -1170,7 +1375,7 @@ export default {
1170
1375
  this.$showAlert(e.data, 'danger', 3000)
1171
1376
  }
1172
1377
  this.search()
1173
- // this.$dispatch('breakControl', this.selectdata)
1378
+ this.$dispatch('breakControl', this.selectdata)
1174
1379
  },
1175
1380
  async unqualcheck(row) {
1176
1381
  if (isEmpty(this.cv.f_void_remarks)) {
@@ -1181,6 +1386,113 @@ export default {
1181
1386
  this.$dispatch('unpass',this.selectedData)
1182
1387
  this.$dispatch('breakControl', this.selectdata)
1183
1388
  },
1389
+ openModal(){
1390
+ this.showModal = true
1391
+ },
1392
+ //地址类型变化
1393
+ addressTypeChange(){
1394
+ if (this.userinfo.useradders.f_apply_type === '民用地址'){
1395
+ this.addressDis = true
1396
+ }else {
1397
+ this.addressDis = false
1398
+ }
1399
+ },
1400
+ // 获取区县
1401
+ async getPcd() {
1402
+ let data = {
1403
+ tablename: 't_pcd',
1404
+ condition: `f_filialeid = '${this.$login.f.orgid}'`
1405
+ }
1406
+ let http = new HttpResetClass()
1407
+ let res = await http.load(
1408
+ 'POST',
1409
+ `rs/sql/singleTable`,
1410
+ {data: data},
1411
+ {resolveMsg: null, rejectMsg: '区县查询失败!!!'}
1412
+ )
1413
+
1414
+ this.pcdList = res.data.map(item => {
1415
+ return {
1416
+ label: item.f_pcd,
1417
+ value: item.f_pcd
1418
+ }
1419
+ })
1420
+ console.log("区县",this.pcdList)
1421
+ },
1422
+ //获取街道
1423
+ async getStreet() {
1424
+ let data = {
1425
+ tablename: 't_street',
1426
+ condition: `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.userinfo.useradders.f_pcd}'`
1427
+ }
1428
+
1429
+ let http = new HttpResetClass()
1430
+ let res = await http.load(
1431
+ 'POST',
1432
+ `rs/sql/singleTable`,
1433
+ {data: data},
1434
+ {resolveMsg: null, rejectMsg: '街道查询失败!!!'}
1435
+ )
1436
+
1437
+ this.streetList = res.data.map(item => {
1438
+ return {
1439
+ label: item.f_street,
1440
+ value: item.f_street
1441
+ }
1442
+ })
1443
+ },
1444
+ //获取小区
1445
+ async getResidentialArea() {
1446
+
1447
+ let data = {
1448
+ tablename: 't_area',
1449
+ condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.userinfo.useradders.f_street}'`
1450
+ }
1451
+ let http = new HttpResetClass()
1452
+ let res = await http.load(
1453
+ 'POST',
1454
+ `rs/sql/singleTable`,
1455
+ {data: data},
1456
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
1457
+ )
1458
+
1459
+ this.areaList = res.data.map(item => {
1460
+ return {
1461
+ label: item.f_residential_area,
1462
+ value: item.f_residential_area
1463
+ }
1464
+ })
1465
+ },
1466
+ // 地址拼接
1467
+ addressSplicing () {
1468
+ let f_pcd = this.userinfo.useradders.f_pcd || ''
1469
+ let f_area = this.userinfo.useradders.f_area || ''
1470
+ let f_slice_area = this.userinfo.useradders.f_slice_area || ''
1471
+ let f_street = this.userinfo.useradders.f_street || ''
1472
+ let f_residential_area = this.userinfo.useradders.f_residential_area || ''
1473
+ let f_building = this.userinfo.useradders.f_building || ''
1474
+ let f_building_suffix = f_building ? '号楼' : ''
1475
+ let f_unit = this.userinfo.useradders.f_unit || ''
1476
+ let f_unit_suffix = f_unit ? '单元' : ''
1477
+ let f_floor = this.userinfo.useradders.f_floor || ''
1478
+ let f_floor_suffix = f_floor ? '层' : ''
1479
+ let f_room = this.userinfo.useradders.f_room || ''
1480
+ let f_room_suffix = f_room ? '室' : ''
1481
+
1482
+ Vue.set(this.userinfo.useradders, 'f_address', f_pcd + f_area + f_slice_area + f_street + f_residential_area + f_building + f_building_suffix + f_unit + f_unit_suffix + f_floor + f_floor_suffix + f_room + f_room_suffix)
1483
+ },
1484
+ async saveUser () {
1485
+ let data = {
1486
+ user: this.$login.f,
1487
+ userinfo: this.userinfo,
1488
+ selectdata: this.selectdata
1489
+ }
1490
+ let res = await this.$resetpost('rs/logic/applyAddUserinfo', {data:data}, {
1491
+ resolveMsg: null,
1492
+ rejectMsg: '用户档案添加失败!!!'
1493
+ })
1494
+ this.$dispatch('breakControl', res.data)
1495
+ }
1184
1496
  },
1185
1497
  events: {
1186
1498
  async 'onFileUpload'(file, result) {
@@ -1216,6 +1528,13 @@ export default {
1216
1528
  f_process_id: this.selectdata.f_process_id,
1217
1529
  }
1218
1530
  return data
1531
+ },
1532
+ // 证件类型
1533
+ credentialsList() {
1534
+ return this.$appdata.getParam('证件类型')
1535
+ },
1536
+ getUserType(){
1537
+ return this.$appdata.getParam('用户类型')
1219
1538
  }
1220
1539
  },
1221
1540
  watch: {
@@ -113,7 +113,7 @@
113
113
  <div class="form-group col-sm-12" :class="charge.f_charge_money ? '':'has-error'">
114
114
  <label class="col-sm-2 control-label">收费金额:</label>
115
115
  <div class="col-sm-10">
116
- <input type="number"
116
+ <input type="input"
117
117
  class="form-control input_view"
118
118
  style="width: 100%"
119
119
  placeholder="0.00"
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
 
3
3
  <div class="auto clearfix">
4
- <show-back-reason :selectdata="show_data"></show-back-reason>
4
+ <show-back-reason :selectdata="selectdata"></show-back-reason>
5
5
  <stop-install :data="show_data" v-if="stope_view"></stop-install>
6
6
  </div>
7
7
 
@@ -1,32 +1,33 @@
1
- <template>
2
- <div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
3
- <span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px"> 请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
4
- </div>
5
- </template>
6
- <script>
7
- import {HttpResetClass} from 'vue-client'
8
-
9
- export default {
10
- title: '退回原因展示',
11
- props: ['selectdata'],
12
- data () {
13
- return {
14
- data: null
15
- }
16
- },
17
- async created () {
18
- if (this.selectdata) {
19
- let http = new HttpResetClass()
20
- let data = {
21
- tablename: 't_backcause',
22
- condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
23
- }
24
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
25
- resolveMsg: null,
26
- rejectMsg: null
27
- })
28
- this.data = res.data[0]
29
- }
30
- }
31
- }
32
- </script>
1
+ <template>
2
+ <div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
3
+ <span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px"> 请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
4
+ </div>
5
+ </template>
6
+ <script>
7
+ import {HttpResetClass} from 'vue-client'
8
+
9
+ export default {
10
+ title: '退回原因展示',
11
+ props: ['selectdata'],
12
+ data () {
13
+ return {
14
+ data: null
15
+ }
16
+ },
17
+ async created () {
18
+ if (this.selectdata) {
19
+ let http = new HttpResetClass()
20
+ let data = {
21
+ tablename: 't_backcause',
22
+ condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
23
+ }
24
+ let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
25
+ resolveMsg: null,
26
+ rejectMsg: null
27
+ })
28
+ this.data = res.data[0]
29
+ console.log("ce",this.data)
30
+ }
31
+ }
32
+ }
33
+ </script>
@@ -7,19 +7,19 @@
7
7
  <div class="form-group col-sm-4">
8
8
  <label class="font_normal_body">项目名称:</label>
9
9
  <input type="text" class="input_search" v-model="model.f_entry_name"
10
- v-on:keyup.enter="search" condition=" f_entry_name = '{}' " placeholder='请输入'>
10
+ v-on:keyup.enter="search" condition=" f_entry_name like '%{}%' " placeholder='请输入'>
11
11
  </div>
12
12
  <div class="form-group col-sm-3">
13
13
  <label class="font_normal_body">报建编号:</label>
14
14
  <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
15
  v-on:keyup.enter="search"
16
- condition="f_apply_num = '{}'">
16
+ condition="f_apply_num like '%{}%'">
17
17
  </div>
18
18
  <div class="form-group col-sm-3">
19
19
  <label class="font_normal_body">合同编号:</label>
20
20
  <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
21
21
  v-on:keyup.enter="search"
22
- condition="f_contract_number = '{}'">
22
+ condition="f_contract_number like '%{}%'">
23
23
  </div>
24
24
  <div class="form-group col-sm-2 button-range">
25
25
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>