apply-clients 3.4.1 → 3.4.2-FuGu-7

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 (136) hide show
  1. package/android.html +23 -23
  2. package/build/css-loaders.js +34 -0
  3. package/build/dev-android.js +101 -0
  4. package/build/dev-client.js +8 -0
  5. package/build/dev-server-app.js +76 -0
  6. package/build/dev-server.js +119 -0
  7. package/build/example-server.js +80 -0
  8. package/build/release.sh +28 -0
  9. package/build/utils.js +80 -0
  10. package/build/webpack.base.conf.js +85 -0
  11. package/build/webpack.baseandroid.conf.js +84 -0
  12. package/build/webpack.dev.conf.js +51 -0
  13. package/build/webpack.devandroid.conf.js +34 -0
  14. package/build/webpack.example.conf.js +49 -0
  15. package/build/webpack.prod.conf.js +60 -0
  16. package/build/webpack.prodandroid.conf.js +60 -0
  17. package/build/webpack.test.conf.js +31 -0
  18. package/dingding.html +23 -0
  19. package/dist-android/static/doc.jpg +0 -0
  20. package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  21. package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  22. package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  23. package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  24. package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  25. package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  26. package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  27. package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  28. package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  29. package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  30. package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  31. package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  32. package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  33. package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  34. package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  35. package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  36. package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  37. package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  38. package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  39. package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  40. package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  41. package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  42. package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  43. package/dist-android/static/imgerror.jpg +0 -0
  44. package/dist-android/static/newStyle/clear.png +0 -0
  45. package/dist-android/static/newStyle/fife.png +0 -0
  46. package/dist-android/static/newStyle/hidden.png +0 -0
  47. package/dist-android/static/newStyle/label-clear.png +0 -0
  48. package/dist-android/static/newStyle/left-img.png +0 -0
  49. package/dist-android/static/newStyle/list_ok.png +0 -0
  50. package/dist-android/static/newStyle/login-check.png +0 -0
  51. package/dist-android/static/newStyle/login-con.png +0 -0
  52. package/dist-android/static/newStyle/login-do.gif +0 -0
  53. package/dist-android/static/newStyle/login-f.png +0 -0
  54. package/dist-android/static/newStyle/login-info.png +0 -0
  55. package/dist-android/static/newStyle/login-left.png +0 -0
  56. package/dist-android/static/newStyle/login-org.png +0 -0
  57. package/dist-android/static/newStyle/login-pwd.png +0 -0
  58. package/dist-android/static/newStyle/login-user.png +0 -0
  59. package/dist-android/static/newStyle/loginbg.gif +0 -0
  60. package/dist-android/static/newStyle/loginbg1280.gif +0 -0
  61. package/dist-android/static/newStyle/loginbg1366.gif +0 -0
  62. package/dist-android/static/newStyle/setting.png +0 -0
  63. package/dist-android/static/newStyle/setting1.png +0 -0
  64. package/dist-android/static/newStyle/shirk.png +0 -0
  65. package/dist-android/static/newStyle/stretch_bottom.png +0 -0
  66. package/dist-android/static/newStyle/stretch_left.png +0 -0
  67. package/dist-android/static/newStyle/stretch_right.png +0 -0
  68. package/dist-android/static/newStyle/stretch_top.png +0 -0
  69. package/dist-android/static/newStyle/system-off.png +0 -0
  70. package/dist-android/static/pdf.jpg +0 -0
  71. package/index.html +33 -33
  72. package/package.json +2 -1
  73. package/src/AndroidApp.vue +35 -35
  74. package/src/App.vue +20 -20
  75. package/src/DingDingApp.vue +51 -0
  76. package/src/android.js +21 -21
  77. package/src/apply.js +75 -81
  78. package/src/applyAndroid.js +25 -31
  79. package/src/applyDingDing.js +12 -0
  80. package/src/components/android/AppOnetomany.vue +301 -301
  81. package/src/components/android/AppServiceView.vue +566 -566
  82. package/src/components/android/AppSign.vue +142 -142
  83. package/src/components/android/AppTakePic.vue +143 -143
  84. package/src/components/android/Process/AppExplorationUser.vue +320 -320
  85. package/src/components/android/Process/AppServiceControl.vue +757 -757
  86. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
  87. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  88. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
  89. package/src/components/android/TaskGraph.vue +125 -125
  90. package/src/components/build/Install/ExplorationUser.vue +304 -0
  91. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  92. package/src/components/product/{Process/Processes/Print → ApplyCharge}/printCharge.vue +142 -142
  93. package/src/components/product/Function/InstallFunction.vue +131 -125
  94. package/src/components/product/Function/InstallInfoSelect.vue +21 -13
  95. package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
  96. package/src/components/product/Onetomany.vue +377 -377
  97. package/src/components/product/Process/ExplorationSelect.vue +401 -410
  98. package/src/components/product/Process/ExplorationUser.vue +138 -138
  99. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  100. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  101. package/src/components/product/Process/Processes/chargeManagement.vue +634 -639
  102. package/src/components/product/Process/Service/ServiceControl.vue +58 -63
  103. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  104. package/src/components/product/ServiceView.vue +631 -631
  105. package/src/components/product/Stop/StopApply.vue +105 -103
  106. package/src/components/product/Stop/StopApplyList.vue +269 -269
  107. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +7 -0
  108. package/src/components/product/Supervisory/SupervisoryControl.vue +10 -0
  109. package/src/components/product/Supervisory/SupervisoryList.vue +6 -2
  110. package/src/components/product/Supervisory/SupervisoryhCart.vue +110 -107
  111. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  112. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  113. package/src/dingding.js +20 -0
  114. package/src/expandcssAndroid.less +1034 -1034
  115. package/src/main.js +23 -23
  116. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  117. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  118. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  119. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  120. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  121. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  122. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  123. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  124. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -548
  125. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -754
  126. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +0 -60
  127. package/src/filiale/yuchuan/android.js +0 -7
  128. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -528
  129. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
  130. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -395
  131. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -147
  132. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +0 -66
  133. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +0 -759
  134. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +0 -470
  135. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -879
  136. package/src/filiale/yuchuan/pc.js +0 -11
@@ -1,64 +1,64 @@
1
- <template>
2
- <div class="panel-body">
3
- <div class="form-group col-xs-12 auto">
4
- <p class="col-xs-3 text-left font"><b>工程编号:</b></p>
5
- <p class="col-xs-9 text-left input-font">{{ selectdata.f_project_number }}</p>
6
- </div>
7
- <div class="form-group col-xs-12 auto">
8
- <p class="col-xs-3 text-left font"><b>CEA&emsp;号:</b></p>
9
- <p class="col-xs-9 text-left input-font">{{ selectdata.f_cea_number }}</p>
10
- </div>
11
- <div class="form-group col-xs-12 auto">
12
- <p class="col-xs-3 text-left font"><b>项目名称:</b></p>
13
- <p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
14
- </div>
15
- <div class="form-group col-xs-12 auto">
16
- <p class="col-xs-3 text-left font"><b>类&emsp;&emsp;型:</b></p>
17
- <p class="col-xs-9 text-left input-font">{{ selectdata.f_type }}</p>
18
- </div>
19
- <div class="form-group col-xs-12 auto">
20
- <p class="col-xs-3 text-left font"><b>操&ensp;作&ensp;人:</b></p>
21
- <p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operator }}</p>
22
- </div>
23
- <div class="form-group col-xs-12 auto">
24
- <p class="col-xs-3 text-left font"><b>操作时间:</b></p>
25
- <p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operation_date }}</p>
26
- </div>
27
- <div class="form-group col-xs-12 auto">
28
- <p class="col-xs-3 text-left font"><b>详细说明:</b></p>
29
- <p class="col-xs-9 text-left input-font" style="word-wrap: break-word">{{ selectdata.f_explanation }}</p>
30
- </div>
31
- <div class="form-group col-xs-12 auto" v-if="selectdata.f_blobid && selectdata.f_type">
32
- <app-take-pic :blobid="selectdata.f_blobid" :type="selectdata.f_type" :defname="selectdata.defname" :isdelete="false" :istakepic="false"></app-take-pic>
33
- </div>
34
- </div>
35
- </template>
36
- <script>
37
- import Vue from 'vue'
38
- import {HttpResetClass} from 'vue-client'
39
-
40
- export default {
41
- title: '进度详情',
42
- props: ['selectdata'],
43
- data () {
44
- return {
45
- }
46
- },
47
- ready () {
48
- },
49
- methods: {
50
- },
51
- events: {
52
- }
53
- }
54
- </script>
55
- <style scoped>
56
- .font{
57
- font: 15px PingFang-SC-Medium;
58
- color: #666666;
59
- }
60
- .input-font{
61
- font: 15px PingFang-SC-Medium;
62
- color: #333333;
63
- }
64
- </style>
1
+ <template>
2
+ <div class="panel-body">
3
+ <div class="form-group col-xs-12 auto">
4
+ <p class="col-xs-3 text-left font"><b>工程编号:</b></p>
5
+ <p class="col-xs-9 text-left input-font">{{ selectdata.f_project_number }}</p>
6
+ </div>
7
+ <div class="form-group col-xs-12 auto">
8
+ <p class="col-xs-3 text-left font"><b>CEA&emsp;号:</b></p>
9
+ <p class="col-xs-9 text-left input-font">{{ selectdata.f_cea_number }}</p>
10
+ </div>
11
+ <div class="form-group col-xs-12 auto">
12
+ <p class="col-xs-3 text-left font"><b>项目名称:</b></p>
13
+ <p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
14
+ </div>
15
+ <div class="form-group col-xs-12 auto">
16
+ <p class="col-xs-3 text-left font"><b>类&emsp;&emsp;型:</b></p>
17
+ <p class="col-xs-9 text-left input-font">{{ selectdata.f_type }}</p>
18
+ </div>
19
+ <div class="form-group col-xs-12 auto">
20
+ <p class="col-xs-3 text-left font"><b>操&ensp;作&ensp;人:</b></p>
21
+ <p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operator }}</p>
22
+ </div>
23
+ <div class="form-group col-xs-12 auto">
24
+ <p class="col-xs-3 text-left font"><b>操作时间:</b></p>
25
+ <p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operation_date }}</p>
26
+ </div>
27
+ <div class="form-group col-xs-12 auto">
28
+ <p class="col-xs-3 text-left font"><b>详细说明:</b></p>
29
+ <p class="col-xs-9 text-left input-font" style="word-wrap: break-word">{{ selectdata.f_explanation }}</p>
30
+ </div>
31
+ <div class="form-group col-xs-12 auto" v-if="selectdata.f_blobid && selectdata.f_type">
32
+ <app-take-pic :blobid="selectdata.f_blobid" :type="selectdata.f_type" :defname="selectdata.defname" :isdelete="false" :istakepic="false"></app-take-pic>
33
+ </div>
34
+ </div>
35
+ </template>
36
+ <script>
37
+ import Vue from 'vue'
38
+ import {HttpResetClass} from 'vue-client'
39
+
40
+ export default {
41
+ title: '进度详情',
42
+ props: ['selectdata'],
43
+ data () {
44
+ return {
45
+ }
46
+ },
47
+ ready () {
48
+ },
49
+ methods: {
50
+ },
51
+ events: {
52
+ }
53
+ }
54
+ </script>
55
+ <style scoped>
56
+ .font{
57
+ font: 15px PingFang-SC-Medium;
58
+ color: #666666;
59
+ }
60
+ .input-font{
61
+ font: 15px PingFang-SC-Medium;
62
+ color: #333333;
63
+ }
64
+ </style>
@@ -1,121 +1,121 @@
1
- <template>
2
- <div style="padding: 10px">
3
- <div partial class="auto app-text panel" style="margin-bottom: 20px">
4
- <div class="panel-body panel-self">
5
- <div class="col-xs-6">
6
- <p class="col-xs-6 text-left font"><b>工程编号:</b></p>
7
- <p class="col-xs-6 text-left input-font">{{ selectdata.f_project_number }}</p>
8
- </div>
9
- <div class="col-xs-6">
10
- <p class="col-xs-6 text-left font"><b>CEA号:</b></p>
11
- <p class="col-xs-6 text-left input-font">{{ selectdata.f_cea_number }}</p>
12
- </div>
13
- <div class="col-xs-12">
14
- <p class="col-xs-3 text-left font"><b>项目名称:</b></p>
15
- <p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
16
- </div>
17
- <div class="col-xs-6">
18
- <p class="col-xs-6 text-left font"><b>项目类型:</b></p>
19
- <p class="col-xs-6 text-left input-font">{{ selectdata.f_apply_type }}</p>
20
- </div>
21
- <div class="col-xs-6">
22
- <p class="col-xs-6 text-left font"><b>工程类型:</b></p>
23
- <p class="col-xs-6 text-left input-font">{{ selectdata.f_project_type }}</p>
24
- </div>
25
- <div class="col-xs-6">
26
- <p class="col-xs-6 text-left font"><b>项目区域:</b></p>
27
- <p class="col-xs-6 text-left input-font">{{ selectdata.f_project_area }}</p>
28
- </div>
29
- <div class="col-xs-6">
30
- <p class="col-xs-6 text-left font"><b>联系人:</b></p>
31
- <p class="col-xs-6 text-left input-font">{{ selectdata.f_contact }}</p>
32
- </div>
33
- <div class="col-xs-6">
34
- <p class="col-xs-6 text-left font"><b>联系电话:</b></p>
35
- <p class="col-xs-6 text-left input-font">{{ selectdata.f_phone }}</p>
36
- </div>
37
- <div class="col-xs-6">
38
- <p class="col-xs-6 text-left font"><b>办理环节:</b></p>
39
- <p class="col-xs-6 text-left input-font">{{ selectdata.defname }}</p>
40
- </div>
41
- <div class="col-xs-12">
42
- <p class="col-xs-3 text-left font"><b>项目地址:</b></p>
43
- <p class="col-xs-9 text-left input-font">{{ selectdata.f_address }}</p>
44
- </div>
45
- </div>
46
- </div>
47
- <div class="row" v-for="(i,row) in defnames">
48
- <div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'">
49
- {{row.defname}}
50
- <br>
51
- {{ row.finishtime ? row.finishtime : row.sendtime }}
52
- </div>
53
- <div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
54
- </div>
55
- </div>
56
- </template>
57
-
58
- <script>
59
- import {HttpResetClass} from 'vue-client'
60
- export default {
61
- title: '流程节点',
62
- props: ['selectdata'],
63
- data () {
64
- return {
65
- defnames: []
66
- }
67
- },
68
- ready () {
69
- this.initial()
70
- },
71
- methods: {
72
- async initial() {
73
- // 获取流程节点信息
74
- let http = new HttpResetClass()
75
- let data = {
76
- processid: this.selectdata.f_process_id
77
- }
78
- let res = await http.load(
79
- 'POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/getAllNode`,
80
- {data: data},
81
- {
82
- resolveMsg:null,
83
- rejectMsg:null
84
- })
85
- this.defnames = res.data
86
- },
87
- },
88
- watch: {
89
- }
90
- }
91
- </script>
92
-
93
- <style scoped>
94
- .app-text {
95
- font-size: 12px;
96
- }
97
- .panel-self{
98
- border-radius: 10px;
99
- border:1px solid #499EDF;
100
- background-color: #F8F8F8;
101
- }
102
- .row{
103
- padding: 0 40px;
104
- text-align: center;
105
- height: auto;
106
- }
107
- .item{
108
- border-radius: 2em;
109
- border: 1px solid silver;
110
- line-height: 25px;
111
- }
112
- .arrow{
113
- width: 100%;
114
- color: #5ac0d9;
115
- font-weight: bold;
116
- }
117
- .selectIndex{
118
- background-color: #5ac0d9;
119
- color: #ffffff;
120
- }
121
- </style>
1
+ <template>
2
+ <div style="padding: 10px">
3
+ <div partial class="auto app-text panel" style="margin-bottom: 20px">
4
+ <div class="panel-body panel-self">
5
+ <div class="col-xs-6">
6
+ <p class="col-xs-6 text-left font"><b>工程编号:</b></p>
7
+ <p class="col-xs-6 text-left input-font">{{ selectdata.f_project_number }}</p>
8
+ </div>
9
+ <div class="col-xs-6">
10
+ <p class="col-xs-6 text-left font"><b>CEA号:</b></p>
11
+ <p class="col-xs-6 text-left input-font">{{ selectdata.f_cea_number }}</p>
12
+ </div>
13
+ <div class="col-xs-12">
14
+ <p class="col-xs-3 text-left font"><b>项目名称:</b></p>
15
+ <p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
16
+ </div>
17
+ <div class="col-xs-6">
18
+ <p class="col-xs-6 text-left font"><b>项目类型:</b></p>
19
+ <p class="col-xs-6 text-left input-font">{{ selectdata.f_apply_type }}</p>
20
+ </div>
21
+ <div class="col-xs-6">
22
+ <p class="col-xs-6 text-left font"><b>工程类型:</b></p>
23
+ <p class="col-xs-6 text-left input-font">{{ selectdata.f_project_type }}</p>
24
+ </div>
25
+ <div class="col-xs-6">
26
+ <p class="col-xs-6 text-left font"><b>项目区域:</b></p>
27
+ <p class="col-xs-6 text-left input-font">{{ selectdata.f_project_area }}</p>
28
+ </div>
29
+ <div class="col-xs-6">
30
+ <p class="col-xs-6 text-left font"><b>联系人:</b></p>
31
+ <p class="col-xs-6 text-left input-font">{{ selectdata.f_contact }}</p>
32
+ </div>
33
+ <div class="col-xs-6">
34
+ <p class="col-xs-6 text-left font"><b>联系电话:</b></p>
35
+ <p class="col-xs-6 text-left input-font">{{ selectdata.f_phone }}</p>
36
+ </div>
37
+ <div class="col-xs-6">
38
+ <p class="col-xs-6 text-left font"><b>办理环节:</b></p>
39
+ <p class="col-xs-6 text-left input-font">{{ selectdata.defname }}</p>
40
+ </div>
41
+ <div class="col-xs-12">
42
+ <p class="col-xs-3 text-left font"><b>项目地址:</b></p>
43
+ <p class="col-xs-9 text-left input-font">{{ selectdata.f_address }}</p>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ <div class="row" v-for="(i,row) in defnames">
48
+ <div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'">
49
+ {{row.defname}}
50
+ <br>
51
+ {{ row.finishtime ? row.finishtime : row.sendtime }}
52
+ </div>
53
+ <div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
54
+ </div>
55
+ </div>
56
+ </template>
57
+
58
+ <script>
59
+ import {HttpResetClass} from 'vue-client'
60
+ export default {
61
+ title: '流程节点',
62
+ props: ['selectdata'],
63
+ data () {
64
+ return {
65
+ defnames: []
66
+ }
67
+ },
68
+ ready () {
69
+ this.initial()
70
+ },
71
+ methods: {
72
+ async initial() {
73
+ // 获取流程节点信息
74
+ let http = new HttpResetClass()
75
+ let data = {
76
+ processid: this.selectdata.f_process_id
77
+ }
78
+ let res = await http.load(
79
+ 'POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/getAllNode`,
80
+ {data: data},
81
+ {
82
+ resolveMsg:null,
83
+ rejectMsg:null
84
+ })
85
+ this.defnames = res.data
86
+ },
87
+ },
88
+ watch: {
89
+ }
90
+ }
91
+ </script>
92
+
93
+ <style scoped>
94
+ .app-text {
95
+ font-size: 12px;
96
+ }
97
+ .panel-self{
98
+ border-radius: 10px;
99
+ border:1px solid #499EDF;
100
+ background-color: #F8F8F8;
101
+ }
102
+ .row{
103
+ padding: 0 40px;
104
+ text-align: center;
105
+ height: auto;
106
+ }
107
+ .item{
108
+ border-radius: 2em;
109
+ border: 1px solid silver;
110
+ line-height: 25px;
111
+ }
112
+ .arrow{
113
+ width: 100%;
114
+ color: #5ac0d9;
115
+ font-weight: bold;
116
+ }
117
+ .selectIndex{
118
+ background-color: #5ac0d9;
119
+ color: #ffffff;
120
+ }
121
+ </style>
@@ -1,125 +1,125 @@
1
- <template>
2
- <div>
3
- <div :style="'height:' + AmapHeight">
4
- <AMap-location
5
- :islocation="true"
6
- :locationzoomcenter="false"
7
- :usenative="true"
8
- :isshowsearch="false"
9
- :mylocationinfo="false"
10
- :islocationclearmark="false"
11
- :isshowmapmodel="false"
12
- :locationwindow="false"
13
- mapmodel="dragMarker"
14
- :labelmarksarray="labelmarksarray"
15
- @diyspotmouseclick="diyspotmouseclick"
16
- ></AMap-location>
17
- </div>
18
- <div class="auto row" v-if="selectdata">
19
- <div class="col-sm-12 col-xs-12 form-group app-input" style="margin-top: 10px"></div>
20
- <template v-for="item in fileds">
21
- <div class="col-sm-12 col-xs-12 form-group app-input">
22
- <label class="">{{ item.label }}</label>
23
- <div :class="item.type === 'tel' || item.type === 'map' ? 'col-sm-8 col-xs-8' : 'col-sm-8 col-xs-9'">
24
- <input style="width: 100%" type="text" placeholder="" v-model="selectdata[item.field]" :value="selectdata[item.field]" readonly>
25
- <svg v-if="item.type === 'tel'" @click.prevent="dialNumber(selectdata[item.field])" style="width: 25px;height: 25px;position: absolute;bottom: 8px;" t="1628575136009" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2374" width="200" height="200"><path d="M682.25 465.262c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811A167.395 167.395 0 0 0 570.96 298.35c-16.695 0-27.811 11.116-27.811 27.811s11.16 27.812 27.811 27.812a111.597 111.597 0 0 1 111.29 111.289z m111.289 0c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811c0-152.984-125.217-278.201-278.2-278.201-16.696 0-27.812 11.16-27.812 27.855s11.16 27.811 27.811 27.811c122.405 0 222.579 100.174 222.579 222.535zM417.976 367.9c30.623-30.579 33.391-77.898 5.58-111.289L337.31 148.134c-27.811-36.16-80.666-41.74-116.869-13.928-2.768 2.812-5.536 2.812-5.536 5.58l-75.13 75.13c-72.318 72.318 30.623 267.041 217.042 453.417C543.15 854.708 735.06 954.88 807.378 885.33l75.13-75.13c33.392-33.391 33.392-86.246 0-116.825l-5.536-5.58-108.52-86.246c-33.348-27.81-80.623-25.043-111.246 5.58l-47.275 47.319c-50.087-30.623-94.593-64.014-133.564-102.941-38.927-38.971-72.275-83.478-102.898-133.565l44.507-50.043z m-38.927-75.13c8.348 11.16 8.348 27.855-2.812 36.203l-61.202 63.97a29.569 29.569 0 0 0-5.536 33.392 721.425 721.425 0 0 0 122.405 164.1 721.512 721.512 0 0 0 164.1 122.405 29.569 29.569 0 0 0 33.39-5.58l63.971-63.97c11.16-11.116 25.043-11.116 36.203-2.769l108.477 89.014s2.768 0 2.768 2.768a26.889 26.889 0 0 1 0 38.971l-75.13 75.13c-36.115 36.115-208.606-55.666-372.75-217.042-164.1-161.332-253.114-336.548-216.955-372.75l77.854-77.899c11.16-8.348 30.623-8.348 38.971 5.58l86.246 108.521z" fill="#8A8A8A" p-id="2375"></path></svg>
26
- <svg v-if="item.type === 'map'" @click="openAmap(selectdata[item.field])" style="width: 25px;height: 25px;position: absolute;bottom: 8px;" t="1628575336648" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3201" width="200" height="200"><path d="M512 956h-1.1c-10.9 0-20.5-6.9-24.7-17L369.9 654.1 85 537.8c-10.1-4.1-16.8-13.7-17.2-24.6-0.4-10.9 5.6-21 15.3-25.9l833-416.5c10.7-5.3 23.6-3.2 32.1 5.2s10.5 21.4 5.2 32.1L536.8 940.9c-4.7 9.4-14.3 15.1-24.8 15.1zM162.7 509.6l239 97.6c6.9 2.8 12.4 8.3 15.2 15.2l97.6 239 351.9-703.8-703.7 352z" fill="#666666" p-id="3202"></path></svg>
27
- </div>
28
- </div>
29
- </template>
30
- <div class="col-sm-12 col-xs-12 form-group app-btn">
31
- <button class="btn btn-info" @click.prevent="click()">查看详情</button>
32
- </div>
33
- </div>
34
- </div>
35
- </template>
36
- <script>
37
- import Vue from 'vue'
38
- export default {
39
- title: '地图任务点',
40
- props: {
41
- data: {
42
- type: Array,
43
- default: []
44
- },
45
- fileds: {
46
- type: Array,
47
- default: []
48
- }
49
- },
50
- data () {
51
- return {
52
- labelmarksarray: [],
53
- selectdata: null,
54
- AmapHeight: '100%'
55
- }
56
- },
57
- ready () {
58
- this.getLocatingPoint()
59
- },
60
- methods: {
61
- // 查看详情
62
- click () {
63
- let _this = this
64
- this.$dispatch('gotoson', {
65
- _this: _this,
66
- title: _this.selectdata.defname,
67
- safe: true
68
- })
69
- this.$goto('app-service-control', {selectdata: _this.selectdata}, 'self', null)
70
- },
71
- // 导航
72
- openAmap (address) {
73
- let _this = this
74
- HostApp.openThirdPartyMap({
75
- lon: _this.selectdata.f_longitude,
76
- lat: _this.selectdata.f_dimension,
77
- address: address
78
- })
79
- },
80
- // 拨打电话
81
- dialNumber (tel) {
82
- this.$showMessage(`是否拨打电话:${tel}`, ['confirm']).then((res) => {
83
- if (res === 'confirm') {
84
- this.$androidUtil.makeAPhoneCall(tel)
85
- }
86
- })
87
- },
88
- // 点击定位点回调
89
- diyspotmouseclick (data) {
90
- this.AmapHeight = '60%'
91
-
92
- this.selectdata = data
93
- },
94
- // 获取定位点
95
- getLocatingPoint () {
96
- this.data.forEach(item => {
97
- this.labelmarksarray.push({
98
- data: {
99
- data: item,
100
- content: item.f_user_name
101
- },
102
- position: [item.f_longitude, item.f_dimension],
103
- isclearmarker: false,
104
- islabel: false
105
- })
106
- })
107
- }
108
- },
109
- events: {
110
- },
111
- watch: {
112
- 'data' () {
113
- this.getLocatingPoint()
114
- }
115
- }
116
- }
117
- </script>
118
-
119
- <style lang="less">
120
- .app-input {
121
- label {
122
- float: left;
123
- }
124
- }
125
- </style>
1
+ <template>
2
+ <div>
3
+ <div :style="'height:' + AmapHeight">
4
+ <AMap-location
5
+ :islocation="true"
6
+ :locationzoomcenter="false"
7
+ :usenative="true"
8
+ :isshowsearch="false"
9
+ :mylocationinfo="false"
10
+ :islocationclearmark="false"
11
+ :isshowmapmodel="false"
12
+ :locationwindow="false"
13
+ mapmodel="dragMarker"
14
+ :labelmarksarray="labelmarksarray"
15
+ @diyspotmouseclick="diyspotmouseclick"
16
+ ></AMap-location>
17
+ </div>
18
+ <div class="auto row" v-if="selectdata">
19
+ <div class="col-sm-12 col-xs-12 form-group app-input" style="margin-top: 10px"></div>
20
+ <template v-for="item in fileds">
21
+ <div class="col-sm-12 col-xs-12 form-group app-input">
22
+ <label class="">{{ item.label }}</label>
23
+ <div :class="item.type === 'tel' || item.type === 'map' ? 'col-sm-8 col-xs-8' : 'col-sm-8 col-xs-9'">
24
+ <input style="width: 100%" type="text" placeholder="" v-model="selectdata[item.field]" :value="selectdata[item.field]" readonly>
25
+ <svg v-if="item.type === 'tel'" @click.prevent="dialNumber(selectdata[item.field])" style="width: 25px;height: 25px;position: absolute;bottom: 8px;" t="1628575136009" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2374" width="200" height="200"><path d="M682.25 465.262c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811A167.395 167.395 0 0 0 570.96 298.35c-16.695 0-27.811 11.116-27.811 27.811s11.16 27.812 27.811 27.812a111.597 111.597 0 0 1 111.29 111.289z m111.289 0c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811c0-152.984-125.217-278.201-278.2-278.201-16.696 0-27.812 11.16-27.812 27.855s11.16 27.811 27.811 27.811c122.405 0 222.579 100.174 222.579 222.535zM417.976 367.9c30.623-30.579 33.391-77.898 5.58-111.289L337.31 148.134c-27.811-36.16-80.666-41.74-116.869-13.928-2.768 2.812-5.536 2.812-5.536 5.58l-75.13 75.13c-72.318 72.318 30.623 267.041 217.042 453.417C543.15 854.708 735.06 954.88 807.378 885.33l75.13-75.13c33.392-33.391 33.392-86.246 0-116.825l-5.536-5.58-108.52-86.246c-33.348-27.81-80.623-25.043-111.246 5.58l-47.275 47.319c-50.087-30.623-94.593-64.014-133.564-102.941-38.927-38.971-72.275-83.478-102.898-133.565l44.507-50.043z m-38.927-75.13c8.348 11.16 8.348 27.855-2.812 36.203l-61.202 63.97a29.569 29.569 0 0 0-5.536 33.392 721.425 721.425 0 0 0 122.405 164.1 721.512 721.512 0 0 0 164.1 122.405 29.569 29.569 0 0 0 33.39-5.58l63.971-63.97c11.16-11.116 25.043-11.116 36.203-2.769l108.477 89.014s2.768 0 2.768 2.768a26.889 26.889 0 0 1 0 38.971l-75.13 75.13c-36.115 36.115-208.606-55.666-372.75-217.042-164.1-161.332-253.114-336.548-216.955-372.75l77.854-77.899c11.16-8.348 30.623-8.348 38.971 5.58l86.246 108.521z" fill="#8A8A8A" p-id="2375"></path></svg>
26
+ <svg v-if="item.type === 'map'" @click="openAmap(selectdata[item.field])" style="width: 25px;height: 25px;position: absolute;bottom: 8px;" t="1628575336648" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3201" width="200" height="200"><path d="M512 956h-1.1c-10.9 0-20.5-6.9-24.7-17L369.9 654.1 85 537.8c-10.1-4.1-16.8-13.7-17.2-24.6-0.4-10.9 5.6-21 15.3-25.9l833-416.5c10.7-5.3 23.6-3.2 32.1 5.2s10.5 21.4 5.2 32.1L536.8 940.9c-4.7 9.4-14.3 15.1-24.8 15.1zM162.7 509.6l239 97.6c6.9 2.8 12.4 8.3 15.2 15.2l97.6 239 351.9-703.8-703.7 352z" fill="#666666" p-id="3202"></path></svg>
27
+ </div>
28
+ </div>
29
+ </template>
30
+ <div class="col-sm-12 col-xs-12 form-group app-btn">
31
+ <button class="btn btn-info" @click.prevent="click()">查看详情</button>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ </template>
36
+ <script>
37
+ import Vue from 'vue'
38
+ export default {
39
+ title: '地图任务点',
40
+ props: {
41
+ data: {
42
+ type: Array,
43
+ default: []
44
+ },
45
+ fileds: {
46
+ type: Array,
47
+ default: []
48
+ }
49
+ },
50
+ data () {
51
+ return {
52
+ labelmarksarray: [],
53
+ selectdata: null,
54
+ AmapHeight: '100%'
55
+ }
56
+ },
57
+ ready () {
58
+ this.getLocatingPoint()
59
+ },
60
+ methods: {
61
+ // 查看详情
62
+ click () {
63
+ let _this = this
64
+ this.$dispatch('gotoson', {
65
+ _this: _this,
66
+ title: _this.selectdata.defname,
67
+ safe: true
68
+ })
69
+ this.$goto('app-service-control', {selectdata: _this.selectdata}, 'self', null)
70
+ },
71
+ // 导航
72
+ openAmap (address) {
73
+ let _this = this
74
+ HostApp.openThirdPartyMap({
75
+ lon: _this.selectdata.f_longitude,
76
+ lat: _this.selectdata.f_dimension,
77
+ address: address
78
+ })
79
+ },
80
+ // 拨打电话
81
+ dialNumber (tel) {
82
+ this.$showMessage(`是否拨打电话:${tel}`, ['confirm']).then((res) => {
83
+ if (res === 'confirm') {
84
+ this.$androidUtil.makeAPhoneCall(tel)
85
+ }
86
+ })
87
+ },
88
+ // 点击定位点回调
89
+ diyspotmouseclick (data) {
90
+ this.AmapHeight = '60%'
91
+
92
+ this.selectdata = data
93
+ },
94
+ // 获取定位点
95
+ getLocatingPoint () {
96
+ this.data.forEach(item => {
97
+ this.labelmarksarray.push({
98
+ data: {
99
+ data: item,
100
+ content: item.f_user_name
101
+ },
102
+ position: [item.f_longitude, item.f_dimension],
103
+ isclearmarker: false,
104
+ islabel: false
105
+ })
106
+ })
107
+ }
108
+ },
109
+ events: {
110
+ },
111
+ watch: {
112
+ 'data' () {
113
+ this.getLocatingPoint()
114
+ }
115
+ }
116
+ }
117
+ </script>
118
+
119
+ <style lang="less">
120
+ .app-input {
121
+ label {
122
+ float: left;
123
+ }
124
+ }
125
+ </style>