apply-clients 3.4.2 → 3.4.4

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 (130) hide show
  1. package/android.html +23 -23
  2. package/build/dev-server.js +119 -119
  3. package/build/webpack.base.conf.js +2 -1
  4. package/build/webpack.dev.conf.js +12 -0
  5. package/dingding.html +23 -0
  6. package/index.html +33 -33
  7. package/package.json +2 -1
  8. package/src/AndroidApp.vue +35 -35
  9. package/src/DingDingApp.vue +51 -0
  10. package/src/android.js +21 -21
  11. package/src/apply.js +38 -13
  12. package/src/applyAndroid.js +46 -32
  13. package/src/applyDingDing.js +12 -0
  14. package/src/components/android/AppOnetomany.vue +343 -301
  15. package/src/components/android/AppServiceView.vue +189 -10
  16. package/src/components/android/AppSign.vue +19 -7
  17. package/src/components/android/AppTakePic.vue +143 -143
  18. package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
  19. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
  20. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  21. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
  22. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
  23. package/src/components/android/Function/AppInstallFunction.vue +366 -0
  24. package/src/components/android/Process/AppExplorationUser.vue +500 -320
  25. package/src/components/android/Process/AppServiceControl.vue +999 -48
  26. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
  27. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
  28. package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
  29. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
  30. package/src/components/android/Process/Processes/AppInstallationDetails.vue +116 -90
  31. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  32. package/src/components/android/Process/Processes/selectApply.vue +250 -0
  33. package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
  36. package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
  37. package/src/components/android/TaskGraph.vue +125 -125
  38. package/src/components/common/TabButton.vue +149 -0
  39. package/src/components/common/Tabs.vue +67 -0
  40. package/src/components/image/dwg.jpg +0 -0
  41. package/src/components/image/txt.jpg +0 -0
  42. package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  43. package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  44. package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  45. package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  46. package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  47. package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
  48. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  49. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  50. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  51. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  52. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  53. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  54. package/src/components/product/Business/BusinessApply.vue +269 -0
  55. package/src/components/product/Business/CivilApply.vue +269 -0
  56. package/src/components/product/Function/InstallFunction.vue +132 -125
  57. package/src/components/product/Function/InstallInfoSelect.vue +320 -292
  58. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
  59. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  60. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
  61. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
  62. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
  63. package/src/components/product/Install/InstallProject.vue +194 -0
  64. package/src/components/product/Material/MaterialDetailed.vue +262 -0
  65. package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
  66. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
  67. package/src/components/product/OldApply/OldApply.vue +209 -0
  68. package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
  69. package/src/components/product/Onetomany.vue +406 -377
  70. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
  71. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
  72. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  73. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  74. package/src/components/product/Process/ExplorationSelect.vue +495 -410
  75. package/src/components/product/Process/ExplorationUser.vue +189 -138
  76. package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
  77. package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
  78. package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
  79. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
  80. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
  81. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
  82. package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
  83. package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
  84. package/src/components/product/Process/Processes/selectApply.vue +2 -2
  85. package/src/components/product/Process/Service/ServiceControl.vue +638 -20
  86. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  87. package/src/components/product/Process/ShowBackReason.vue +33 -0
  88. package/src/components/product/ServiceView.vue +357 -7
  89. package/src/components/product/Stop/StopApply.vue +101 -103
  90. package/src/components/product/Stop/StopApplyList.vue +271 -269
  91. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
  92. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
  93. package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
  94. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
  95. package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
  96. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
  97. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  98. package/src/components/product/VueUtils/ToolsPage.vue +51 -0
  99. package/src/components/product/VueUtils/Tree.vue +330 -0
  100. package/src/dingding.js +19 -0
  101. package/src/expandcssAndroid.less +517 -1034
  102. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
  103. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  104. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  105. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
  106. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
  107. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
  108. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
  109. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
  110. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
  111. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
  112. package/src/filiale/yuchuan/android.js +14 -14
  113. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  114. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  115. package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
  116. package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
  117. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
  118. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
  119. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  120. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  121. package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
  122. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
  123. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
  124. package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
  125. package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
  126. package/src/filiale/yuchuan/pc.js +20 -12
  127. package/src/main.js +4 -1
  128. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  129. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  130. package/src/components/product/Function/functions/StopInstall.vue +0 -106
@@ -0,0 +1,73 @@
1
+ <template>
2
+ <div>
3
+ <button v-show="isshow" type="button" name="button" class="btn btn-primary" @click="scan()" >开始扫码</button>
4
+ <!--<div>这是扫码结果:{{ results }}</div>-->
5
+ <!--<div>这是错误信息:{{ errors }}</div>-->
6
+ </div>
7
+ </template>
8
+
9
+ <script>
10
+
11
+ export default {
12
+ title: "AppQrcodeReader",
13
+ props: {
14
+ istype: {
15
+ type: Object,
16
+ default: {}
17
+ },
18
+ index: "",
19
+ },
20
+ data() {
21
+ return {
22
+ results: "",
23
+ errors: "",
24
+ isshow:true
25
+ }
26
+ },
27
+ methods: {
28
+ async downScan() {
29
+
30
+ },
31
+ scan() {
32
+ HostApp.__this__ = this
33
+ // if (this.istype.f_material_name === '报警器-汉威'){
34
+ // HostApp.scanPhoneCode({callback: "javascript:HostApp.__this__.scanCallbackHanWei();"})
35
+ // } else {}
36
+ HostApp.scanPhoneCode({callback: "javascript:HostApp.__this__.scanCallbackHanWei();"})
37
+ },
38
+ scanCallbackHanWei() {
39
+ console.log("这是扫码输出:",this.index)
40
+ this.results = ""
41
+
42
+ let response = HostApp.getPhoneCode()
43
+ if (response.code == 200) {
44
+ let aray = response.data.split(",")
45
+ if (aray.length > 0){
46
+ for (let i = 0; i < aray.length; i++) {
47
+ let tem = (aray[i]).split("=")
48
+ if (tem[0] === "ID"){
49
+ this.results = tem[1].trim().replaceAll("'","").trim()
50
+ this.$parent.$parent.materials[this.index].f_bjq_sid = this.results
51
+ break;
52
+ }
53
+ }
54
+ }
55
+ } else {
56
+ this.$showMessage('无法识别该条形码/二维码,请调整手机聚焦重试。')
57
+ }
58
+ }
59
+ },
60
+ watch: {
61
+ // 'istype'(){
62
+ // // console.log("这是监听值:",this.istype)
63
+ // if (this.istype){
64
+ // if (this.istype.f_material_name === '报警器-汉威'){
65
+ // this.isshow = true
66
+ // } else {
67
+ // this.isshow = false
68
+ // }
69
+ // }
70
+ // },
71
+ }
72
+ }
73
+ </script>
@@ -0,0 +1,148 @@
1
+ <template>
2
+
3
+ <list :model="model" partial='list'>
4
+ <div partial class="auto app-text panel">
5
+ <div class="panel-body panel-self">
6
+ <div class="row">
7
+ <p class="col-xs-3 text-left font"><b>经&emsp;&emsp;度</b></p>
8
+ <p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_bjq_lng }}</p>
9
+ </div>
10
+ <div class="row">
11
+ <p class="col-xs-3 text-left font"><b>纬&emsp;&emsp;度</b></p>
12
+ <p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_bjq_lat }}</p>
13
+ </div>
14
+
15
+
16
+ </div>
17
+ </div>
18
+ </list>
19
+
20
+ <div class="row text-right">
21
+ <button
22
+ type="button"
23
+ class="btn btn-info"
24
+ @click="openModalApp()"
25
+ >
26
+ 选择定位
27
+ </button>
28
+ </div>
29
+ <modal :show.sync="mapShowApp" v-if="mapShowApp" v-ref:modal :large="true" :backdrop="fals e" title="设置坐标" width="95%" >
30
+ <header slot="modal-header" class="modal-header">
31
+ </header>
32
+ <article slot="modal-body" class="modal-body" >
33
+ <amap-location :islocationclearmark="false":usenative="true" dom="addboxmap" v-ref:positionInfo @getmylocation="getmylocation"></amap-location>
34
+ <!-- <app-onetomanymap :islocationclearmark="false" dom="addboxmap" v-ref:positionInfo @getmylocation="getmylocation"></app-onetomanymap>-->
35
+ </article>
36
+ <footer slot="modal-footer" class="modal-footer">
37
+ <button v-show="mapShowApp" type="button" class="btn btn-primary" @click='closeModalApp'>取消</button>
38
+ <button v-show="mapShowApp" type="button" class="btn btn-primary" @click='confirmLocation'>确认</button>
39
+ </footer>
40
+ </modal>
41
+ </template>
42
+ <script>
43
+
44
+ import { HttpResetClass } from 'vue-client'
45
+ import Vue from "vue";
46
+ export default {
47
+ title: '地图定位',
48
+ props: {
49
+ selectdata: {
50
+ type: Object
51
+ },
52
+ mark: {
53
+ type: Number,
54
+ default: 0
55
+ }
56
+ },
57
+ data () {
58
+ return {
59
+ model: {
60
+ rows: null
61
+ },
62
+ templng: '', // 临时经度
63
+ templat: '', // 临时纬度
64
+ userfile: null,
65
+ mapShowApp: false
66
+ }
67
+ },
68
+ ready () {
69
+ this.search()
70
+ },
71
+ methods:{
72
+ //地图调试
73
+ openModalApp () {
74
+ this.mapShowApp = true
75
+ },
76
+ closeModalApp () {
77
+ this.mapShowApp = false
78
+ },
79
+ getmylocation (res) {
80
+ this.templng = res.position.lng
81
+ this.templat = res.position.lat
82
+ },
83
+ async confirmLocation() {
84
+ //转换坐标
85
+ let datamap = {
86
+ lnglat: this.templng+','+this.templat
87
+
88
+ }
89
+
90
+ let resmap = await this.$resetpost(
91
+ `${this.$androidUtil.getProxyUrl()}/ncc/rs/logic/gdMapTransBMap`,
92
+ // `/rs/logic/gdMapTransBMap`,
93
+ datamap
94
+ )
95
+ //存储坐标
96
+ let data = {
97
+ f_bjq_gaode_lat: this.templat,
98
+ f_bjq_gaode_lng: this.templng,
99
+ f_bjq_baidu_lng: resmap.data.result[0].x,
100
+ f_bjq_baidu_lat: resmap.data.result[0].y,
101
+ selectdata: this.selectdata,
102
+ userfile: this.userfile
103
+
104
+ }
105
+ // console.log("====3333")
106
+ // console.log(data)
107
+ let res = await this.$resetpost(
108
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/applyBjqMap`,
109
+ {data: data},
110
+ {resolveMsg: null, rejectMsg: '坐标添加失败!!!'}
111
+ )
112
+
113
+ this.mapShowApp = false
114
+
115
+ this.$dispatch('breakControl')
116
+ },
117
+ async search () {
118
+ let http = new HttpResetClass()
119
+ let data = {
120
+ condition: `f_process_id = '${this.selectdata.f_process_id}'`
121
+ }
122
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getapplyBjqMap`, {data:data}, {
123
+ resolveMsg: null,
124
+ rejectMsg: '获取坐标失败!!!'
125
+ })
126
+ // console.log('=================================')
127
+ //
128
+ // console.log(res.data)
129
+
130
+ if (res.data == ""){
131
+ this.$showMessage('请正确添加报警器设备后再设置坐标!')
132
+ }
133
+
134
+ this.model.rows = res.data
135
+ this.$parent.$parent.$parent.areaData.mapvalue = res.data
136
+ this.$parent.$parent.$parent.disableButton()
137
+ },
138
+ },
139
+ watch: {
140
+
141
+ }
142
+ }
143
+ </script>
144
+ <style lang="less">
145
+ #addboxmap {
146
+ height: 300px;
147
+ }
148
+ </style>
@@ -0,0 +1,108 @@
1
+ <template>
2
+ <!--<v-select :options='options' placeholder='请选择'-->
3
+ <!-- :value.sync="selectres"-->
4
+ <!-- :multiple="isMul"-->
5
+ <!-- :search="issearch"-->
6
+ <!-- :close-on-select="!isMul"-->
7
+ <!-- @change="resChange"-->
8
+ <!-- :value-single="true"-->
9
+ <!--&gt;-->
10
+ <!--</v-select>-->
11
+ <area-select :options='options' placeholder='请选择'
12
+ :value.sync="selectres"
13
+ :multiple="!isMul"
14
+ :search="issearch"
15
+ :close-on-select="isMul"
16
+ @change="resChange"
17
+ :value-single="true"
18
+ >
19
+ </area-select>
20
+ </template>
21
+ <script>
22
+ import {HttpResetClass} from 'vue-client'
23
+
24
+ export default {
25
+ title: '资源管理',
26
+ props: {
27
+
28
+ //资源类型
29
+ restype:'',
30
+ //资源数据
31
+ resObj:{},
32
+ options:[],
33
+ isMul: {
34
+ type: Boolean,
35
+ default: true
36
+ },
37
+ issearch: {
38
+ type: Boolean,
39
+ default: true
40
+ },
41
+ //资源初始化数据 默认选中值
42
+ initresid: {
43
+ type: Array,
44
+ default() { return [] },
45
+ },
46
+ //父层id
47
+ parentresid: {
48
+ type: Array,
49
+ default() { return [] },
50
+ },
51
+ },
52
+ data () {
53
+ return {
54
+ //资源数据
55
+ resObj:{},
56
+ //资源数据列表
57
+ resoptions:[],
58
+ //选中资源数据
59
+ selectres: [],
60
+ }
61
+ },
62
+ ready () {
63
+ //获取资源列表
64
+ this.getResList()
65
+ },
66
+ methods:{
67
+ //资源改变
68
+ resChange(val){
69
+ let orgnames=[]
70
+ Object.keys(this.options).forEach((key) => {
71
+ if(this.selectres.includes(this.options[key].value))
72
+ orgnames.push(this.options[key].label)
73
+ })
74
+ // console.log("资源变化:",this.selectres, orgnames,this.options)
75
+ this.$dispatch('res-select', this.selectres, orgnames,this.options)
76
+ },
77
+ //获取资源数据
78
+ async getResList() {
79
+ this.dealdata()
80
+ },
81
+ dealdata(){
82
+ //赋值资源数据选中初始值
83
+ let arryselect=[]
84
+ this.options.forEach((item) => {
85
+ if(this.initresid.length>0){
86
+ this.initresid.forEach((init) => {
87
+ if(item.value==init){
88
+ arryselect.push(item.value)
89
+ }
90
+ })
91
+ }
92
+ })
93
+ //赋值资源选中初始值
94
+ this.selectres=arryselect
95
+ }
96
+ },
97
+ watch: {
98
+ //监听初始化资源id
99
+ 'initresid.length'(){
100
+ this.dealdata()
101
+ },
102
+ //监听初始化资源id
103
+ 'parentresid'(){
104
+ this.dealdata()
105
+ },
106
+ },
107
+ }
108
+ </script>
@@ -0,0 +1,142 @@
1
+ <template>
2
+ <div :class="style">
3
+ <label :class="labelstyle" :style="shijifontColors">市&emsp;&emsp;县</label>
4
+ <app-res-area-select
5
+ :options = options
6
+ @res-select="getXian"
7
+ :issearch = "false"
8
+ >
9
+ </app-res-area-select>
10
+ </div>
11
+ <div :class="style">
12
+ <label :class="labelstyle" :style="xianfontColors">街道乡镇</label>
13
+ <app-res-area-select
14
+ :options = xian_options
15
+ @res-select="getjdao"
16
+ :issearch = "false"
17
+ >
18
+ </app-res-area-select>
19
+ </div>
20
+ <div :class="style">
21
+ <label :class="labelstyle" :style="shequfontColors">社&emsp;&emsp;区</label>
22
+ <app-res-area-select
23
+ :options = jdao_options
24
+ @res-select="getshequ"
25
+ :issearch = "false"
26
+ >
27
+ </app-res-area-select>
28
+ </div>
29
+ </template>
30
+ <script>
31
+
32
+ import { HttpResetClass } from 'vue-client'
33
+ import Vue from "vue";
34
+ export default {
35
+ title: '区域选择分组',
36
+ props: {
37
+ style: {
38
+ type: String,
39
+ default: 'col-xs-12 form-group app-input'
40
+ },
41
+ labelstyle: {
42
+ type: String,
43
+ default: 'font_normal_title'
44
+ },
45
+ mul: {
46
+ type: Boolean,
47
+ default: true
48
+ },
49
+ //初始值 默认选中值
50
+ initres: {
51
+ type: Object,
52
+ default: null,
53
+ }
54
+ },
55
+ data () {
56
+ return {
57
+ options:[],
58
+ initres: [],
59
+ xianginitres: [],
60
+ jdaoinitres: [],
61
+ xian_options:[],
62
+ jdao_options:[],
63
+ shijifontColors:"color: #cd5c5c",//红色
64
+ xianfontColors:"color: #cd5c5c",//红色
65
+ shequfontColors:"color: #cd5c5c",//红色
66
+ pubColors:"color: #0c2e4d",// 黑色
67
+ pub2Colors:"color: #cd5c5c"// 红色
68
+ }
69
+ },
70
+ ready () {
71
+ this.getResList();
72
+ },
73
+ methods:{
74
+ //获取区域地址
75
+ async getResList() {
76
+ let http = new HttpResetClass()
77
+ // let req = await http.load('POST', '/rs/logic/resAreaSelect', {
78
+ let req = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/resAreaSelect`, {
79
+ userid: Vue.user.id,
80
+ orgid: Vue.user.orgid
81
+ }, {resolveMsg: null, rejectMsg: '获取区域地址失败'})
82
+ this.options = []
83
+ this.options = req.data
84
+ },
85
+ async getXian(value,lable,obj) {
86
+ this.xian_options = []
87
+ this.jdao_options = []
88
+ let newFilArr = obj.filter( (item,i) =>{
89
+ if(item.value == value){
90
+ return item
91
+ }
92
+ } )
93
+ if (newFilArr.length>0){
94
+ this.xian_options = newFilArr[0].children
95
+ }
96
+ if (value !=null && value.length!=0){
97
+ this.shijifontColors = this.pubColors
98
+ }else {
99
+ this.shijifontColors = this.pub2Colors
100
+ this.xianfontColors = this.pub2Colors
101
+ this.shequfontColors = this.pub2Colors
102
+ }
103
+ this.$parent.$parent.$parent.areaData.sjvalue = value
104
+ this.$parent.$parent.$parent.disableButton()
105
+ // this.$dispatch('shiji-select', value, lable)
106
+ },
107
+ async getjdao(value,lable,obj) {
108
+ this.jdao_options = []
109
+ let newFilArr = obj.filter( (item,i) =>{
110
+ if(item.value == value){
111
+ return item
112
+ }
113
+ } )
114
+ if (newFilArr.length>0){
115
+ this.jdao_options = newFilArr[0].children
116
+ }
117
+ if (value !=null && value.length!=0){
118
+ this.xianfontColors = this.pubColors
119
+ }else {
120
+ this.xianfontColors = this.pub2Colors
121
+ this.shequfontColors = this.pub2Colors
122
+ }
123
+ this.$parent.$parent.$parent.areaData.xianvalue = value
124
+ this.$parent.$parent.$parent.disableButton()
125
+ // this.$dispatch('xian-select',value, lable)
126
+ },
127
+ async getshequ(value,lable,obj) {
128
+ if (value !=null && value.length!=0){
129
+ this.shequfontColors = this.pubColors
130
+ }else {
131
+ this.shequfontColors = this.pub2Colors
132
+ }
133
+ this.$parent.$parent.$parent.areaData.sqvalue = value
134
+ this.$parent.$parent.$parent.disableButton()
135
+ // this.$dispatch('shequ-select',value, lable)
136
+ }
137
+ },
138
+ watch: {
139
+
140
+ }
141
+ }
142
+ </script>