apply-clients 3.3.223 → 3.4.2-FuGu-6
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/build/css-loaders.js +34 -0
- package/build/dev-android.js +101 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server-app.js +76 -0
- package/build/dev-server.js +119 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +85 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +51 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/build/webpack.test.conf.js +31 -0
- package/dingding.html +23 -0
- package/dist-android/static/doc.jpg +0 -0
- package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/imgerror.jpg +0 -0
- package/dist-android/static/newStyle/clear.png +0 -0
- package/dist-android/static/newStyle/fife.png +0 -0
- package/dist-android/static/newStyle/hidden.png +0 -0
- package/dist-android/static/newStyle/label-clear.png +0 -0
- package/dist-android/static/newStyle/left-img.png +0 -0
- package/dist-android/static/newStyle/list_ok.png +0 -0
- package/dist-android/static/newStyle/login-check.png +0 -0
- package/dist-android/static/newStyle/login-con.png +0 -0
- package/dist-android/static/newStyle/login-do.gif +0 -0
- package/dist-android/static/newStyle/login-f.png +0 -0
- package/dist-android/static/newStyle/login-info.png +0 -0
- package/dist-android/static/newStyle/login-left.png +0 -0
- package/dist-android/static/newStyle/login-org.png +0 -0
- package/dist-android/static/newStyle/login-pwd.png +0 -0
- package/dist-android/static/newStyle/login-user.png +0 -0
- package/dist-android/static/newStyle/loginbg.gif +0 -0
- package/dist-android/static/newStyle/loginbg1280.gif +0 -0
- package/dist-android/static/newStyle/loginbg1366.gif +0 -0
- package/dist-android/static/newStyle/setting.png +0 -0
- package/dist-android/static/newStyle/setting1.png +0 -0
- package/dist-android/static/newStyle/shirk.png +0 -0
- package/dist-android/static/newStyle/stretch_bottom.png +0 -0
- package/dist-android/static/newStyle/stretch_left.png +0 -0
- package/dist-android/static/newStyle/stretch_right.png +0 -0
- package/dist-android/static/newStyle/stretch_top.png +0 -0
- package/dist-android/static/newStyle/system-off.png +0 -0
- package/dist-android/static/pdf.jpg +0 -0
- package/index.html +1 -1
- package/package.json +115 -114
- package/src/AndroidApp.vue +18 -13
- package/src/DingDingApp.vue +51 -0
- package/src/android.js +1 -1
- package/src/apply.js +10 -26
- package/src/applyAndroid.js +3 -32
- package/src/applyDingDing.js +12 -0
- package/src/components/android/AppOnetomany.vue +37 -21
- package/src/components/android/AppServiceView.vue +3 -7
- package/src/components/android/AppSign.vue +3 -3
- package/src/components/android/AppTakePic.vue +12 -13
- package/src/components/android/Process/AppExplorationUser.vue +88 -38
- package/src/components/android/Process/AppServiceControl.vue +87 -16
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +90 -100
- package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -0
- package/src/components/android/ProgressReport/ProgressReportList.vue +209 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +73 -152
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +29 -23
- package/src/components/android/TaskGraph.vue +125 -0
- package/src/components/build/Install/ExplorationUser.vue +304 -0
- package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +36 -50
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/ApplyCharge/printCharge.vue +142 -0
- package/src/components/product/Function/InstallFunction.vue +11 -2
- package/src/components/product/Function/InstallInfoSelect.vue +29 -47
- package/src/components/product/Function/Service/FunctionServiceControl.vue +172 -6
- package/src/components/product/Onetomany.vue +105 -24
- package/src/components/product/Order/OrderApply.vue +30 -30
- package/src/components/product/Order/OrderApplyList.vue +79 -67
- package/src/components/product/Order/OrderMessage.vue +11 -88
- package/src/components/product/Process/ExplorationSelect.vue +176 -149
- package/src/components/product/Process/ExplorationUser.vue +95 -85
- package/src/components/product/Process/Processes/InstallationDetails.vue +440 -352
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +35 -9
- package/src/components/product/Process/Processes/chargeManagement.vue +188 -192
- package/src/components/product/Process/Processes/devicesManagement.vue +22 -2
- package/src/components/product/Process/Processes/selectApply.vue +1 -1
- package/src/components/product/Process/Service/ServiceControl.vue +1111 -753
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +313 -423
- package/src/components/product/Stop/StopApply.vue +27 -25
- package/src/components/product/Stop/StopApplyList.vue +26 -11
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +18 -349
- package/src/components/product/Supervisory/SupervisoryControl.vue +110 -108
- package/src/components/product/Supervisory/SupervisoryList.vue +237 -253
- package/src/components/product/Supervisory/SupervisoryhCart.vue +32 -54
- package/src/components/product/VueUtils/ApplyUpload.vue +54 -45
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/dingding.js +20 -0
- package/src/expandcssAndroid.less +879 -362
- package/src/main.js +1 -1
- package/src/components/android/Function/AppFunctionServiceControl.vue +0 -329
- package/src/components/android/Function/AppInstallFunction.vue +0 -330
- package/src/components/android/Order/ApplyOrder.vue +0 -141
- package/src/components/android/Process/Processes/AppBuildSign.vue +0 -47
- package/src/components/android/Process/Processes/AppChargeManagement.vue +0 -468
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +0 -490
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +0 -297
- package/src/components/android/Process/Processes/AppjiaSign.vue +0 -47
- package/src/components/android/Process/Processes/AppjiafangSign.vue +0 -47
- package/src/components/android/Process/Processes/ApptechnologySign.vue +0 -47
- package/src/components/image/danwei.png +0 -0
- package/src/components/image/dizhi.png +0 -0
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/name.png +0 -0
- package/src/components/image/phone.png +0 -0
- package/src/components/image/type.png +0 -0
- package/src/components/image/yasuobao.jpg +0 -0
- package/src/components/image/zaixiantousu1.png +0 -0
- package/src/components/image/zizhukaitong.png +0 -0
- package/src/components/image//346/210/221/347/232/204.png +0 -0
- package/src/components/product/Function/Inform.vue +0 -73
- package/src/components/product/Function/MarketSurvey.vue +0 -81
- package/src/components/product/Process/Processes/printCharge.vue +0 -121
- package/src/components/product/Process/ShowBackReason.vue +0 -33
- package/src/components/product/Supervisory/Service/printChargeNode.vue +0 -873
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +0 -1090
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
- package/src/filiale/wuan/android.js +0 -0
- package/src/filiale/wuan/pc.js +0 -4
- package/src/filiale/yuchuan/android/AppServiceView.vue +0 -599
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -414
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -456
- package/src/filiale/yuchuan/android/Reserve/ApplyReserve.vue +0 -200
- package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
- package/src/filiale/yuchuan/android.js +0 -8
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -517
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
- package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -356
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -131
- package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -517
- package/src/filiale/yuchuan/pc.js +0 -13
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var webpack = require('webpack')
|
|
2
|
+
var merge = require('webpack-merge')
|
|
3
|
+
var baseConfig = require('./webpack.base.conf')
|
|
4
|
+
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
5
|
+
|
|
6
|
+
// add hot-reload related code to entry chunks
|
|
7
|
+
Object.keys(baseConfig.entry).forEach(function (name) {
|
|
8
|
+
baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
module.exports = merge(baseConfig, {
|
|
12
|
+
// eval-source-map is faster for development
|
|
13
|
+
devtool: '#eval-source-map',
|
|
14
|
+
devServer: {
|
|
15
|
+
historyApiFallback: true,
|
|
16
|
+
host: '0.0.0.0',
|
|
17
|
+
disableHostCheck: true,
|
|
18
|
+
noInfo: true
|
|
19
|
+
},
|
|
20
|
+
output: {
|
|
21
|
+
// necessary for the html plugin to work properly
|
|
22
|
+
// when serving the html from in-memory
|
|
23
|
+
publicPath: '/'
|
|
24
|
+
},
|
|
25
|
+
plugins: [
|
|
26
|
+
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
|
|
27
|
+
new webpack.optimize.OccurenceOrderPlugin(),
|
|
28
|
+
new webpack.HotModuleReplacementPlugin(),
|
|
29
|
+
new webpack.NoErrorsPlugin(),
|
|
30
|
+
// https://github.com/ampedandwired/html-webpack-plugin
|
|
31
|
+
new HtmlWebpackPlugin({
|
|
32
|
+
filename: 'index.html',
|
|
33
|
+
template: 'index.html',
|
|
34
|
+
inject: true,
|
|
35
|
+
chunks: ['app']
|
|
36
|
+
}),
|
|
37
|
+
// 安卓模拟页面
|
|
38
|
+
new HtmlWebpackPlugin({
|
|
39
|
+
filename: 'android.html',
|
|
40
|
+
template: 'android.html',
|
|
41
|
+
inject: true,
|
|
42
|
+
chunks: ['android-app']
|
|
43
|
+
}),
|
|
44
|
+
new HtmlWebpackPlugin({
|
|
45
|
+
filename: 'dingding.html',
|
|
46
|
+
template: 'dingding.html',
|
|
47
|
+
inject: true,
|
|
48
|
+
chunks: ['dingding-app']
|
|
49
|
+
})
|
|
50
|
+
]
|
|
51
|
+
})
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var webpack = require('webpack')
|
|
2
|
+
var merge = require('webpack-merge')
|
|
3
|
+
var baseConfig = require('./webpack.baseandroid.conf')
|
|
4
|
+
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
5
|
+
|
|
6
|
+
// add hot-reload related code to entry chunks
|
|
7
|
+
Object.keys(baseConfig.entry).forEach(function (name) {
|
|
8
|
+
baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
module.exports = merge(baseConfig, {
|
|
12
|
+
// eval-source-map is faster for development
|
|
13
|
+
devtool: 'source-map',
|
|
14
|
+
//devtool: '#eval-source-map',
|
|
15
|
+
output: {
|
|
16
|
+
// necessary for the html plugin to work properly
|
|
17
|
+
// when serving the html from in-memory
|
|
18
|
+
publicPath: '/'
|
|
19
|
+
},
|
|
20
|
+
plugins: [
|
|
21
|
+
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
|
|
22
|
+
new webpack.optimize.OccurenceOrderPlugin(),
|
|
23
|
+
new webpack.HotModuleReplacementPlugin(),
|
|
24
|
+
new webpack.NoErrorsPlugin(),
|
|
25
|
+
// https://github.com/ampedandwired/html-webpack-plugin
|
|
26
|
+
//plugin trick
|
|
27
|
+
new HtmlWebpackPlugin({
|
|
28
|
+
filename: 'android.html',
|
|
29
|
+
template: 'android.html',
|
|
30
|
+
inject: true,
|
|
31
|
+
chunks: ['android-app']
|
|
32
|
+
})
|
|
33
|
+
]
|
|
34
|
+
})
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
var fs = require('fs')
|
|
2
|
+
var webpack = require('webpack')
|
|
3
|
+
var merge = require('webpack-merge')
|
|
4
|
+
var baseConfig = require('./webpack.base.conf')
|
|
5
|
+
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
6
|
+
|
|
7
|
+
// add hot-reload related code to entry chunks
|
|
8
|
+
Object.keys(baseConfig.entry).forEach(function (name) {
|
|
9
|
+
baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
|
|
10
|
+
})
|
|
11
|
+
|
|
12
|
+
// 把examples下所有index.html转换成测试例子.html
|
|
13
|
+
fs.readdirSync('./examples').forEach((file) => {
|
|
14
|
+
baseConfig.plugins.push(
|
|
15
|
+
// https://github.com/ampedandwired/html-webpack-plugin
|
|
16
|
+
new HtmlWebpackPlugin({
|
|
17
|
+
filename: file + '.html',
|
|
18
|
+
template: `examples/${file}/index.html`,
|
|
19
|
+
inject: false
|
|
20
|
+
})
|
|
21
|
+
)
|
|
22
|
+
})
|
|
23
|
+
|
|
24
|
+
// 把examples下子目录里的main.js打包成对应组件名的App.js
|
|
25
|
+
fs.readdirSync('./examples').forEach((file) => {
|
|
26
|
+
baseConfig.entry[file + 'App'] = `./examples/${file}/main.js`
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
module.exports = merge(baseConfig, {
|
|
30
|
+
// eval-source-map is faster for development
|
|
31
|
+
devtool: '#eval-source-map',
|
|
32
|
+
output: {
|
|
33
|
+
// necessary for the html plugin to work properly
|
|
34
|
+
// when serving the html from in-memory
|
|
35
|
+
publicPath: '/'
|
|
36
|
+
},
|
|
37
|
+
plugins: [
|
|
38
|
+
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
|
|
39
|
+
new webpack.optimize.OccurenceOrderPlugin(),
|
|
40
|
+
new webpack.HotModuleReplacementPlugin(),
|
|
41
|
+
new webpack.NoErrorsPlugin(),
|
|
42
|
+
// https://github.com/ampedandwired/html-webpack-plugin
|
|
43
|
+
new HtmlWebpackPlugin({
|
|
44
|
+
filename: 'index.html',
|
|
45
|
+
template: 'index.html',
|
|
46
|
+
inject: true
|
|
47
|
+
})
|
|
48
|
+
]
|
|
49
|
+
})
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var webpack = require('webpack')
|
|
2
|
+
var merge = require('webpack-merge')
|
|
3
|
+
var baseConfig = require('./webpack.base.conf')
|
|
4
|
+
var cssLoaders = require('./css-loaders')
|
|
5
|
+
var ExtractTextPlugin = require('extract-text-webpack-plugin')
|
|
6
|
+
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
7
|
+
|
|
8
|
+
// whether to generate source map for production files.
|
|
9
|
+
// disabling this can speed up the build.
|
|
10
|
+
var SOURCE_MAP = true
|
|
11
|
+
|
|
12
|
+
module.exports = merge(baseConfig, {
|
|
13
|
+
stats: {
|
|
14
|
+
children: false
|
|
15
|
+
},
|
|
16
|
+
devtool: SOURCE_MAP ? '#source-map' : false,
|
|
17
|
+
output: {
|
|
18
|
+
// naming output files with hashes for better caching.
|
|
19
|
+
// dist/index.html will be auto-generated with correct URLs.
|
|
20
|
+
filename: '[name][chunkhash].js',
|
|
21
|
+
chunkFilename: '[id].[chunkhash].js'
|
|
22
|
+
},
|
|
23
|
+
vue: {
|
|
24
|
+
loaders: cssLoaders({
|
|
25
|
+
sourceMap: SOURCE_MAP,
|
|
26
|
+
extract: true
|
|
27
|
+
})
|
|
28
|
+
},
|
|
29
|
+
plugins: [
|
|
30
|
+
// http://vuejs.github.io/vue-loader/workflow/production.html
|
|
31
|
+
new webpack.DefinePlugin({
|
|
32
|
+
'process.env': {
|
|
33
|
+
NODE_ENV: '"production"'
|
|
34
|
+
}
|
|
35
|
+
}),
|
|
36
|
+
new webpack.optimize.UglifyJsPlugin({
|
|
37
|
+
compress: {
|
|
38
|
+
warnings: false
|
|
39
|
+
}
|
|
40
|
+
}),
|
|
41
|
+
new webpack.optimize.OccurenceOrderPlugin(),
|
|
42
|
+
// extract css into its own file
|
|
43
|
+
new ExtractTextPlugin('[name].css'),
|
|
44
|
+
// generate dist index.html with correct asset hash for caching.
|
|
45
|
+
// you can customize output by editing /index.html
|
|
46
|
+
// see https://github.com/ampedandwired/html-webpack-plugin
|
|
47
|
+
new HtmlWebpackPlugin({
|
|
48
|
+
filename: '../index.html',
|
|
49
|
+
template: 'index.html',
|
|
50
|
+
inject: true,
|
|
51
|
+
minify: {
|
|
52
|
+
removeComments: true,
|
|
53
|
+
collapseWhitespace: true,
|
|
54
|
+
removeAttributeQuotes: true
|
|
55
|
+
// more options:
|
|
56
|
+
// https://github.com/kangax/html-minifier#options-quick-reference
|
|
57
|
+
}
|
|
58
|
+
})
|
|
59
|
+
]
|
|
60
|
+
})
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var webpack = require('webpack')
|
|
2
|
+
var merge = require('webpack-merge')
|
|
3
|
+
var baseConfig = require('./webpack.baseandroid.conf')
|
|
4
|
+
var cssLoaders = require('./css-loaders')
|
|
5
|
+
var ExtractTextPlugin = require('extract-text-webpack-plugin')
|
|
6
|
+
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
7
|
+
|
|
8
|
+
// whether to generate source map for production files.
|
|
9
|
+
// disabling this can speed up the build.
|
|
10
|
+
var SOURCE_MAP = true
|
|
11
|
+
|
|
12
|
+
module.exports = merge(baseConfig, {
|
|
13
|
+
stats: {
|
|
14
|
+
children: false
|
|
15
|
+
},
|
|
16
|
+
devtool: SOURCE_MAP ? '#source-map' : false,
|
|
17
|
+
output: {
|
|
18
|
+
// naming output files with hashes for better caching.
|
|
19
|
+
// dist/index.html will be auto-generated with correct URLs.
|
|
20
|
+
filename: '[name].js',
|
|
21
|
+
chunkFilename: '[id].js'
|
|
22
|
+
},
|
|
23
|
+
vue: {
|
|
24
|
+
loaders: cssLoaders({
|
|
25
|
+
sourceMap: SOURCE_MAP,
|
|
26
|
+
extract: true
|
|
27
|
+
})
|
|
28
|
+
},
|
|
29
|
+
plugins: [
|
|
30
|
+
// http://vuejs.github.io/vue-loader/workflow/production.html
|
|
31
|
+
new webpack.DefinePlugin({
|
|
32
|
+
'process.env': {
|
|
33
|
+
NODE_ENV: '"production"'
|
|
34
|
+
}
|
|
35
|
+
}),
|
|
36
|
+
new webpack.optimize.UglifyJsPlugin({
|
|
37
|
+
compress: {
|
|
38
|
+
warnings: false
|
|
39
|
+
}
|
|
40
|
+
}),
|
|
41
|
+
new webpack.optimize.OccurenceOrderPlugin(),
|
|
42
|
+
// extract css into its own file
|
|
43
|
+
new ExtractTextPlugin('[name].css'),
|
|
44
|
+
// generate dist index.html with correct asset hash for caching.
|
|
45
|
+
// you can customize output by editing /index.html
|
|
46
|
+
// see https://github.com/ampedandwired/html-webpack-plugin
|
|
47
|
+
new HtmlWebpackPlugin({
|
|
48
|
+
filename: '../index.html',
|
|
49
|
+
template: 'android.html',
|
|
50
|
+
inject: true,
|
|
51
|
+
minify: {
|
|
52
|
+
removeComments: true,
|
|
53
|
+
collapseWhitespace: true,
|
|
54
|
+
removeAttributeQuotes: true
|
|
55
|
+
// more options:
|
|
56
|
+
// https://github.com/kangax/html-minifier#options-quick-reference
|
|
57
|
+
}
|
|
58
|
+
})
|
|
59
|
+
]
|
|
60
|
+
})
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This is the webpack config used for unit tests.
|
|
2
|
+
|
|
3
|
+
var utils = require('./utils')
|
|
4
|
+
var webpack = require('webpack')
|
|
5
|
+
var merge = require('webpack-merge')
|
|
6
|
+
var baseConfig = require('./webpack.base.conf')
|
|
7
|
+
|
|
8
|
+
var webpackConfig = merge(baseConfig, {
|
|
9
|
+
module: {
|
|
10
|
+
rules: utils.styleLoaders()
|
|
11
|
+
},
|
|
12
|
+
// use inline sourcemap for karma-sourcemap-loader
|
|
13
|
+
devtool: '#inline-source-map',
|
|
14
|
+
resolveLoader: {
|
|
15
|
+
alias: {
|
|
16
|
+
// necessary to to make lang="scss" work in test when using vue-loader's ?inject option
|
|
17
|
+
// see discussion at https://github.com/vuejs/vue-loader/issues/724
|
|
18
|
+
'scss-loader': 'sass-loader'
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
plugins: [
|
|
22
|
+
new webpack.DefinePlugin({
|
|
23
|
+
'process.env': require('../config/test.env')
|
|
24
|
+
})
|
|
25
|
+
]
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
// no need for app entry during tests
|
|
29
|
+
delete webpackConfig.entry
|
|
30
|
+
|
|
31
|
+
module.exports = webpackConfig
|
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>
|
|
Binary file
|
|
Binary file
|
package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png
ADDED
|
Binary file
|
package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
|
|
7
7
|
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
|
|
8
8
|
<META HTTP-EQUIV="expires" CONTENT="0">
|
|
9
|
-
<title
|
|
9
|
+
<title>报建系统</title>
|
|
10
10
|
<script src="https://webapi.amap.com/maps?v=1.4.2&key=4889f1e58df01cb40415536c8907bf64"></script>
|
|
11
11
|
<!--引入UI组件库(1.1版本) -->
|
|
12
12
|
<script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
|