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
package/android.html CHANGED
@@ -1,23 +1,23 @@
1
- <!DOCTYPE html>
2
- <html lang="zh-CN">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
- <META HTTP-EQUIV="pragma" CONTENT="no-cache">
7
- <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
- <META HTTP-EQUIV="expires" CONTENT="0">
9
- <title>移动报建系统</title>
10
-
11
- <script src="https://webapi.amap.com/maps?v=1.4.2&key=4889f1e58df01cb40415536c8907bf64"></script>
12
- <!--引入UI组件库(1.1版本) -->
13
- <script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
14
- <style media="screen">
15
- /*url(./static/newmainbg.jpg)*/
16
- body{width: 100%;background:#7f8eaf no-repeat center bottom; background-size: cover;}
17
- body .loginbg{ width:100%; height:100%; background:url(./static/loginbg.jpg) no-repeat center top;}
18
- </style>
19
- </head>
20
- <body>
21
- <android-app></android-app>
22
- </body>
23
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
+ <META HTTP-EQUIV="pragma" CONTENT="no-cache">
7
+ <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
+ <META HTTP-EQUIV="expires" CONTENT="0">
9
+ <title>移动报建系统</title>
10
+
11
+ <script src="https://webapi.amap.com/maps?v=1.4.2&key=4889f1e58df01cb40415536c8907bf64"></script>
12
+ <!--引入UI组件库(1.1版本) -->
13
+ <script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
14
+ <style media="screen">
15
+ /*url(./static/newmainbg.jpg)*/
16
+ body{width: 100%;background:#7f8eaf no-repeat center bottom; background-size: cover;}
17
+ body .loginbg{ width:100%; height:100%; background:url(./static/loginbg.jpg) no-repeat center top;}
18
+ </style>
19
+ </head>
20
+ <body>
21
+ <android-app></android-app>
22
+ </body>
23
+ </html>
@@ -1,119 +1,119 @@
1
- var express = require('express')
2
- var webpack = require('webpack')
3
- var config = require('./webpack.dev.conf')
4
- var proxyMiddleware = require('http-proxy-middleware')
5
- // var httpProxy = require('http-proxy')
6
- var app = express()
7
- var compiler = webpack(config)
8
- // var proxy = httpProxy.createProxyServer()
9
- // var ldap = 'http://121.36.79.201:8400'
10
- // var applyinstall = 'http://121.36.79.201:8400'
11
- var ldap = 'http://192.168.50.4:8400'
12
- var applyinstall = 'http://127.0.0.1:8080'
13
-
14
- var proxyTable = {
15
- '/rs/logic/getSaleInitData': {
16
- target: ldap
17
- },
18
- '/rs/workflow': {
19
- target: applyinstall
20
- },
21
- '/rs/vue': {
22
- target: ldap
23
- },
24
- // 查找资源服务数据
25
- '/rs/search': {
26
- target: ldap
27
- },
28
- // 街道查询
29
- '/rs/sql/address_getstreetlist': {
30
- target: ldap
31
- },
32
- // 创建街道
33
- '/rs/logic/address_updatestreet': {
34
- target: ldap
35
- },
36
- // 创建小区
37
- '/rs/logic/address_updatearea': {
38
- target: ldap
39
- },
40
- // 用户登录服务地址
41
- '/rs/user': {
42
- target: ldap
43
- },
44
- '/rs/logic/getInitData': {
45
- target: ldap?ldap:applyinstall
46
- },
47
- '/rs/logic/getLogin': {
48
- target: ldap
49
- },
50
- '/rs/file': { // 文件上传
51
- target: applyinstall
52
- },
53
- '/project': { // 文件回显
54
- target: applyinstall
55
- },
56
- '/rs': {
57
- target: applyinstall
58
- },
59
- '/ws': {
60
- target: applyinstall,
61
- ws: true // 代理webSocket
62
- }
63
- }
64
-
65
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
66
- publicPath: config.output.publicPath,
67
- stats: {
68
- colors: true,
69
- chunks: false
70
- }
71
- })
72
-
73
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
74
- // force page reload when html-webpack-plugin template changes
75
- compiler.plugin('compilation', function (compilation) {
76
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
77
- hotMiddleware.publish({action: 'reload'})
78
- cb()
79
- })
80
- })
81
-
82
- // proxy api requests
83
- Object.keys(proxyTable).forEach(function (context) {
84
- var options = proxyTable[context]
85
- if (typeof options === 'string') {
86
- options = {target: options}
87
- }
88
- app.use(proxyMiddleware(context, options))
89
- })
90
-
91
- // handle fallback for HTML5 history API
92
- app.use(require('connect-history-api-fallback')())
93
- // app.use(function (req, res, next) {
94
- // res.header('Access-Control-Allow-Origin', '*')
95
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
96
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
97
- // res.header('X-Powered-By', '3,2,1')
98
- // res.header('Access-Control-Allow-Credentials', 'true')
99
- // res.header('Content-Type', 'application/json;charset=utf-8')
100
- // next()
101
- // })
102
-
103
- // serve webpack bundle output
104
- app.use(devMiddleware)
105
-
106
- // enable hot-reload and state-preserving
107
- // compilation error display
108
- app.use(hotMiddleware)
109
-
110
- // serve pure static assets
111
- app.use('/static', express.static('./static'))
112
-
113
- module.exports = app.listen(8300, function (err) {
114
- if (err) {
115
- console.log(err)
116
- return
117
- }
118
- console.log('Listening at http://localhost:8300')
119
- })
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ // var httpProxy = require('http-proxy')
6
+ var app = express()
7
+ var compiler = webpack(config)
8
+ // var proxy = httpProxy.createProxyServer()
9
+ // var ldap = 'http://121.36.79.201:8400'
10
+ // var applyinstall = 'http://121.36.79.201:8400'
11
+ var ldap = 'http://192.168.50.4:8400'
12
+ var applyinstall = 'http://127.0.0.1:8080'
13
+
14
+ var proxyTable = {
15
+ '/rs/logic/getSaleInitData': {
16
+ target: ldap
17
+ },
18
+ '/rs/workflow': {
19
+ target: applyinstall
20
+ },
21
+ '/rs/vue': {
22
+ target: ldap
23
+ },
24
+ // 查找资源服务数据
25
+ '/rs/search': {
26
+ target: ldap
27
+ },
28
+ // 街道查询
29
+ '/rs/sql/address_getstreetlist': {
30
+ target: ldap
31
+ },
32
+ // 创建街道
33
+ '/rs/logic/address_updatestreet': {
34
+ target: ldap
35
+ },
36
+ // 创建小区
37
+ '/rs/logic/address_updatearea': {
38
+ target: ldap
39
+ },
40
+ // 用户登录服务地址
41
+ '/rs/user': {
42
+ target: ldap
43
+ },
44
+ '/rs/logic/getInitData': {
45
+ target: ldap?ldap:applyinstall
46
+ },
47
+ '/rs/logic/getLogin': {
48
+ target: ldap
49
+ },
50
+ '/rs/file': { // 文件上传
51
+ target: applyinstall
52
+ },
53
+ '/project': { // 文件回显
54
+ target: applyinstall
55
+ },
56
+ '/rs': {
57
+ target: applyinstall
58
+ },
59
+ '/ws': {
60
+ target: applyinstall,
61
+ ws: true // 代理webSocket
62
+ }
63
+ }
64
+
65
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
66
+ publicPath: config.output.publicPath,
67
+ stats: {
68
+ colors: true,
69
+ chunks: false
70
+ }
71
+ })
72
+
73
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
74
+ // force page reload when html-webpack-plugin template changes
75
+ compiler.plugin('compilation', function (compilation) {
76
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
77
+ hotMiddleware.publish({action: 'reload'})
78
+ cb()
79
+ })
80
+ })
81
+
82
+ // proxy api requests
83
+ Object.keys(proxyTable).forEach(function (context) {
84
+ var options = proxyTable[context]
85
+ if (typeof options === 'string') {
86
+ options = {target: options}
87
+ }
88
+ app.use(proxyMiddleware(context, options))
89
+ })
90
+
91
+ // handle fallback for HTML5 history API
92
+ app.use(require('connect-history-api-fallback')())
93
+ // app.use(function (req, res, next) {
94
+ // res.header('Access-Control-Allow-Origin', '*')
95
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
96
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
97
+ // res.header('X-Powered-By', '3,2,1')
98
+ // res.header('Access-Control-Allow-Credentials', 'true')
99
+ // res.header('Content-Type', 'application/json;charset=utf-8')
100
+ // next()
101
+ // })
102
+
103
+ // serve webpack bundle output
104
+ app.use(devMiddleware)
105
+
106
+ // enable hot-reload and state-preserving
107
+ // compilation error display
108
+ app.use(hotMiddleware)
109
+
110
+ // serve pure static assets
111
+ app.use('/static', express.static('./static'))
112
+
113
+ module.exports = app.listen(8300, function (err) {
114
+ if (err) {
115
+ console.log(err)
116
+ return
117
+ }
118
+ console.log('Listening at http://localhost:8300')
119
+ })
@@ -5,7 +5,8 @@ var projectRoot = path.resolve(__dirname, '../')
5
5
  module.exports = {
6
6
  entry: {
7
7
  app: './src/main.js',
8
- 'android-app': './src/android.js'
8
+ 'android-app': './src/android.js',
9
+ 'dingding-app': './src/dingding.js'
9
10
  },
10
11
  output: {
11
12
  path: path.resolve(__dirname, '../dist/static'),
@@ -11,6 +11,12 @@ Object.keys(baseConfig.entry).forEach(function (name) {
11
11
  module.exports = merge(baseConfig, {
12
12
  // eval-source-map is faster for development
13
13
  devtool: '#eval-source-map',
14
+ devServer: {
15
+ historyApiFallback: true,
16
+ host: '0.0.0.0',
17
+ disableHostCheck: true,
18
+ noInfo: true
19
+ },
14
20
  output: {
15
21
  // necessary for the html plugin to work properly
16
22
  // when serving the html from in-memory
@@ -34,6 +40,12 @@ module.exports = merge(baseConfig, {
34
40
  template: 'android.html',
35
41
  inject: true,
36
42
  chunks: ['android-app']
43
+ }),
44
+ new HtmlWebpackPlugin({
45
+ filename: 'dingding.html',
46
+ template: 'dingding.html',
47
+ inject: true,
48
+ chunks: ['dingding-app']
37
49
  })
38
50
  ]
39
51
  })
package/dingding.html ADDED
@@ -0,0 +1,23 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
+ <META HTTP-EQUIV="pragma" CONTENT="no-cache">
7
+ <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
+ <META HTTP-EQUIV="expires" CONTENT="0">
9
+ <title>报建系统</title>
10
+ <script src="https://g.alicdn.com/code/npm/@ali/dingtalk-h5-remote-debug-sdk/0.1.3/app.bundle.js"></script>
11
+ <script>
12
+ h5RemoteDebugSdk.init({
13
+ uuid: "31c780c4-2919-427d-a4fb-73e5a451f5b0",
14
+ observerElement: document.documentElement,
15
+ });
16
+ </script>
17
+ </head>
18
+ <body>
19
+ <ding-ding-app></ding-ding-app>
20
+ </body>
21
+ </html>
22
+ <script>
23
+ </script>
package/index.html CHANGED
@@ -1,33 +1,33 @@
1
- <!DOCTYPE html>
2
- <html lang="zh-CN">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
- <META HTTP-EQUIV="pragma" CONTENT="no-cache">
7
- <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
- <META HTTP-EQUIV="expires" CONTENT="0">
9
- <title>报建系统</title>
10
- <script src="https://webapi.amap.com/maps?v=1.4.2&key=4889f1e58df01cb40415536c8907bf64"></script>
11
- <!--引入UI组件库(1.1版本) -->
12
- <script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
13
- <style media="screen">
14
- /*url(./static/newmainbg.jpg)*/
15
-
16
- body {
17
- font-size:16px !important;
18
- width: 100%;
19
- background: #7f8eaf no-repeat center bottom;
20
- background-size: cover;
21
- }
22
-
23
- body .loginbg {
24
- width: 100%;
25
- height: 100%;
26
- background: url(./static/loginbg.jpg) no-repeat center top;
27
- }
28
- </style>
29
- </head>
30
- <body id="bodymain" class="themeOne">
31
- <app></app>
32
- </body>
33
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
+ <META HTTP-EQUIV="pragma" CONTENT="no-cache">
7
+ <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
+ <META HTTP-EQUIV="expires" CONTENT="0">
9
+ <title>报建系统</title>
10
+ <script src="https://webapi.amap.com/maps?v=1.4.2&key=4889f1e58df01cb40415536c8907bf64"></script>
11
+ <!--引入UI组件库(1.1版本) -->
12
+ <script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
13
+ <style media="screen">
14
+ /*url(./static/newmainbg.jpg)*/
15
+
16
+ body {
17
+ font-size:16px !important;
18
+ width: 100%;
19
+ background: #7f8eaf no-repeat center bottom;
20
+ background-size: cover;
21
+ }
22
+
23
+ body .loginbg {
24
+ width: 100%;
25
+ height: 100%;
26
+ background: url(./static/loginbg.jpg) no-repeat center top;
27
+ }
28
+ </style>
29
+ </head>
30
+ <body id="bodymain" class="themeOne">
31
+ <app></app>
32
+ </body>
33
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.4.2",
3
+ "version": "3.4.4",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -29,6 +29,7 @@
29
29
  "dependencies": {
30
30
  "@logicflow/core": "^0.4.3",
31
31
  "co": "4.6.0",
32
+ "dingtalk-jsapi": "^2.13.68",
32
33
  "jsencrypt": "^3.0.0-rc.1",
33
34
  "less": "^2.7.1",
34
35
  "less-loader": "^2.2.3",
@@ -1,35 +1,35 @@
1
- <template>
2
- <!-- <app-base> -->
3
- <div id="android-app">
4
- <article>
5
- <!-- <route :comp="{name: 'build-tsak'}" name="root"></route>-->
6
- <!-- <route :comp="{name: 'app-process-supervisory'}" name="root"></route>-->
7
- <!-- <route :comp="{name: 'apply-reserve'}" name="root"></route>-->
8
- <!-- <route :comp="{name: 'task-graph'}" name="root"></route>-->
9
- <!-- <route :comp="{name: 'app-istall-function'}" name="root"></route>-->
10
- <route :comp="{name: 'login-app'}" name="root"></route>
11
- </article>
12
- <time-out></time-out>
13
- <message-box></message-box>
14
- <alert-box></alert-box>
15
- <alert-box-batch></alert-box-batch>
16
- </div>
17
- </template>
18
-
19
- <script>
20
-
21
- import AlertBox from "vue-client/src/components/AlertBox";
22
- import AlertBoxBatch from "vue-client/src/components/AlertBoxBatch";
23
-
24
- export default {
25
- ready () {
26
- if(!window.onerror) {
27
- window.onerror = function (message, file, line, col, error) {
28
- // HostApp.alert("Error occured: " + error.message)
29
- return false
30
- }
31
- }
32
- },
33
- components: { AlertBox, AlertBoxBatch }
34
- }
35
- </script>
1
+ <template>
2
+ <!-- <app-base> -->
3
+ <div id="android-app">
4
+ <article>
5
+ <!-- <route :comp="{name: 'app-exploration-user'}" name="root"></route>-->
6
+ <!-- <route :comp="{name: 'app-process-supervisory'}" name="root"></route>-->
7
+ <!-- <route :comp="{name: 'apply-reserve'}" name="root"></route>-->
8
+ <!-- <route :comp="{name: 'task-graph'}" name="root"></route>-->
9
+ <!-- <route :comp="{name: 'app-istall-function'}" name="root"></route>-->
10
+ <route :comp="{name: 'login-app'}" name="root"></route>
11
+ </article>
12
+ <time-out></time-out>
13
+ <message-box></message-box>
14
+ <alert-box></alert-box>
15
+ <alert-box-batch></alert-box-batch>
16
+ </div>
17
+ </template>
18
+
19
+ <script>
20
+
21
+ import AlertBox from "vue-client/src/components/AlertBox";
22
+ import AlertBoxBatch from "vue-client/src/components/AlertBoxBatch";
23
+
24
+ export default {
25
+ ready () {
26
+ if(!window.onerror) {
27
+ window.onerror = function (message, file, line, col, error) {
28
+ // HostApp.alert("Error occured: " + error.message)
29
+ return false
30
+ }
31
+ }
32
+ },
33
+ components: { AlertBox, AlertBoxBatch }
34
+ }
35
+ </script>
@@ -0,0 +1,51 @@
1
+ <template>
2
+ <div id="dingding-app">
3
+ {{ title }}
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ export default {
9
+ title: '报建系统',
10
+ data () {
11
+ return {
12
+ title: 'Hello DingDing'
13
+ }
14
+ },
15
+ ready () {
16
+ // 获取免登授权码
17
+ this.$dd.ready(() => {
18
+ console.log('加载成功')
19
+
20
+ this.test2()
21
+ })
22
+ },
23
+ methods: {
24
+ test (res) {
25
+ this.$dd.device.notification.alert({
26
+ title: '提示',
27
+ message: res,
28
+ buttonName: '确认',
29
+ onSuccess: () => {
30
+ },
31
+ onFail: () => {}
32
+ })
33
+ },
34
+ test2 () {
35
+ this.$dd.runtime.permission.requestAuthCode({
36
+ corpId: 'ding6406c45c1a45736df2c783f7214b6d69',
37
+ onSuccess: (res) => {
38
+ console.info('获取成功')
39
+ console.info(res.code)
40
+ this.test(res.code)
41
+ },
42
+ onFail: (err) => {
43
+ console.info('获取失败')
44
+ console.info(err)
45
+ this.test('失败')
46
+ }
47
+ })
48
+ }
49
+ }
50
+ }
51
+ </script>
package/src/android.js CHANGED
@@ -1,21 +1,21 @@
1
- import Vue from 'vue'
2
- import AndroidApp from './AndroidApp'
3
- import { all } from 'vue-client'
4
- import apply from './apply'
5
- import {systemphonegrid} from 'system-phone'
6
- import applyAndroid from './applyAndroid'
7
-
8
- all()
9
- apply()
10
- applyAndroid('yuchuan')
11
- systemphonegrid()
12
-
13
- require('./android-bootstrap/less/bootstrap.less')
14
- require('./expandcssAndroid.less')
15
-
16
- Vue.android = true
17
- /* eslint-disable no-new */
18
- new Vue({
19
- el: 'body',
20
- components: { AndroidApp }
21
- })
1
+ import Vue from 'vue'
2
+ import AndroidApp from './AndroidApp'
3
+ import { all } from 'vue-client'
4
+ import apply from './apply'
5
+ import {systemphonegrid} from 'system-phone'
6
+ import applyAndroid from './applyAndroid'
7
+
8
+ all()
9
+ apply()
10
+ applyAndroid()
11
+ systemphonegrid()
12
+
13
+ require('./android-bootstrap/less/bootstrap.less')
14
+ require('./expandcssAndroid.less')
15
+
16
+ Vue.android = true
17
+ /* eslint-disable no-new */
18
+ new Vue({
19
+ el: 'body',
20
+ components: { AndroidApp }
21
+ })