apply-clients 3.3.110-240 → 3.3.110-243

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/index.html CHANGED
@@ -7,7 +7,12 @@
7
7
  <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
8
  <META HTTP-EQUIV="expires" CONTENT="0">
9
9
  <title>周口燃气</title>
10
- <script src="https://webapi.amap.com/maps?v=1.4.2&key=4889f1e58df01cb40415536c8907bf64"></script>
10
+ <script type="text/javascript">
11
+ window._AMapSecurityConfig = {
12
+ securityJsCode:'bbdb7d83906fb6eb1ab4766da5be3c2e',
13
+ }
14
+ </script>
15
+ <script src="https://webapi.amap.com/maps?v=1.4.2&key=674ec40069f8e3d48d8c469505cf0ad6"></script>
11
16
  <!--引入UI组件库(1.1版本) -->
12
17
  <script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
13
18
  <style media="screen">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.110-240",
3
+ "version": "3.3.110-243",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -437,7 +437,7 @@ export default {
437
437
  flag = true
438
438
  }
439
439
  }
440
- //区域下拉框必选 流程模式为报警器报建
440
+ //区域下拉框必选 流程模式为报警器报建 工商业报警器报建
441
441
  if ((this.data.f_apply_type === '报警器报建' || this.data.f_apply_type === '工商业报警器报建') && this.data.defname === '工程施工' && this.data.title === '工程施工' && this.data.f_sub_state !='完工'){
442
442
  if (!flag){
443
443
  if (this.areaData.sjvalue ==null || this.areaData.sjvalue.length ==0 || this.areaData.sqvalue == null || this.areaData.sqvalue.length ==0
@@ -445,10 +445,17 @@ export default {
445
445
  console.log("区域为空禁止提交:",this.areaData)
446
446
  flag = true
447
447
  }
448
- if (this.areaData.mapvalue ==null){
449
- console.log("坐标为空禁止提交:",this.areaData.mapvalue)
448
+ if (this.areaData.mapvalue ==null || this.areaData.mapvalue ==0){
449
+ console.log("坐标为空禁止提交map:",this.areaData.mapvalue)
450
450
  flag = true
451
451
  }
452
+ for (const fields of this.areaData.mapvalue) {
453
+ // console.log("报警器数据:",fields.f_bjq_lng)
454
+ if (fields.f_bjq_lng ==null || fields.f_bjq_lng.length ==0){
455
+ console.log("坐标为空禁止提交44444:",this.areaData.mapvalue)
456
+ flag = true
457
+ }
458
+ }
452
459
  }
453
460
  }
454
461