apply-clients 3.3.104 → 3.3.107

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.
@@ -200,6 +200,12 @@
200
200
  </res-area-select-group>
201
201
  </div>
202
202
 
203
+ <gaode-map
204
+ v-if="data.f_apply_type === '报警器报建' && data.defname === '工程施工' && data.title === '工程施工' && data.f_sub_state !='完工'"
205
+ >
206
+
207
+ </gaode-map>
208
+
203
209
  </div>
204
210
 
205
211
  <!-- onetomany -->
@@ -455,6 +461,12 @@ export default {
455
461
  sjvalue:'',
456
462
  xianvalue:'',
457
463
  sqvalue:'',
464
+ },
465
+ templatlng: {
466
+ gaodetemplng: "",
467
+ gaodetemplat: "",
468
+ baidutemplng: "",
469
+ baidutemplat: ""
458
470
  }
459
471
  }
460
472
  },
@@ -697,10 +709,16 @@ export default {
697
709
  if (this.data.f_apply_type === '报警器报建' && this.data.defname === '工程施工' && this.data.title === '工程施工' && this.data.f_sub_state !='完工'){
698
710
  if (!flag){
699
711
  if (this.areaData.sjvalue ==null || this.areaData.sjvalue.length ==0 || this.areaData.sqvalue == null || this.areaData.sqvalue.length ==0
700
- || this.areaData.xianvalue == null || this.areaData.xianvalue == 0){
712
+ || this.areaData.xianvalue == null || this.areaData.xianvalue.length == 0){
701
713
  console.log("区域为空禁止提交:",this.areaData)
702
714
  flag = true
703
715
  }
716
+
717
+ if (this.templatlng.baidutemplat ==null || this.templatlng.baidutemplat.length ==0 || this.templatlng.baidutemplng == null || this.templatlng.baidutemplng.length ==0
718
+ || this.templatlng.gaodetemplat == null || this.templatlng.gaodetemplat.length == 0 || this.templatlng.gaodetemplng == null || this.templatlng.gaodetemplng.length == 0){
719
+ console.log("地图坐标为空禁止提交:",this.templatlng)
720
+ flag = true
721
+ }
704
722
  }
705
723
  }
706
724
  this.disable_button = flag
@@ -761,6 +779,7 @@ export default {
761
779
  async click_but (button) {
762
780
  //报警器区域地址
763
781
  this.data.areaData = this.areaData
782
+ this.data.templatlng = this.templatlng
764
783
 
765
784
  this.disable_button = true
766
785
 
package/src/main.js CHANGED
@@ -1,26 +1,26 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import {ldap} from 'ldap-clients'
5
- import {system} from 'system-clients'
6
- import {sale} from 'sale-client'
7
- import {material} from 'material-client'
8
-
9
- // import apply from './apply'
10
-
11
- import applyAndroid from './applyAndroid'
12
-
13
- all()
14
- // apply()
15
- applyAndroid()
16
- ldap()
17
- sale()
18
- material()
19
- system(false)
20
-
21
- require('system-clients/src/styles/less/bootstrap.less')
22
- require('./expandcss.less')
23
- new Vue({
24
- el: 'body',
25
- components: { App }
26
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import {ldap} from 'ldap-clients'
5
+ import {system} from 'system-clients'
6
+ import {sale} from 'sale-client'
7
+ import {material} from 'material-client'
8
+
9
+ import apply from './apply'
10
+
11
+ // import applyAndroid from './applyAndroid'
12
+
13
+ all()
14
+ apply()
15
+ // applyAndroid()
16
+ ldap()
17
+ sale()
18
+ material()
19
+ system(false)
20
+
21
+ require('system-clients/src/styles/less/bootstrap.less')
22
+ require('./expandcss.less')
23
+ new Vue({
24
+ el: 'body',
25
+ components: { App }
26
+ })