apply-clients 5.0.361 → 6.0.3
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 +72 -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 +83 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +39 -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/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/psicon.png +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/xinxi.png +0 -0
- package/package.json +5 -10
- package/src/AndroidApp.vue +1 -1
- package/src/App.vue +0 -1
- package/src/apply.js +172 -104
- package/src/applyAndroid.js +0 -5
- package/src/assets/shipin1.mp4 +0 -0
- package/src/bootstrap/less/bootstrap.less +2 -1
- package/src/components/Hello.vue +39 -0
- package/src/components/Table.js +2 -2
- package/src/components/Test.vue +26 -0
- package/src/components/Util.js +6 -11
- package/src/components/app_apply/Acceptance.vue +2 -7
- package/src/components/app_apply/ApplyApp.vue +6 -16
- package/src/components/app_apply/ApplyInfo.vue +1 -1
- package/src/components/app_apply/ApplyListUpload.vue +3 -3
- package/src/components/app_apply/ApplyToDoList.vue +3 -3
- package/src/components/app_apply/ApplyUserInfo.vue +3 -2
- package/src/components/app_apply/FieldExploration.vue +1 -3
- package/src/components/app_apply/PlaceControler.vue +49 -38
- package/src/components/{product/VueUtils → apply/base}/rightview/InstallCardList2.vue +38 -29
- package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
- package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/StopApplyDetail2.vue +1 -1
- package/src/components/build/Install/ApplyChargeSearch.vue +210 -0
- package/src/components/build/Install/ExplorationSelect.vue +308 -0
- package/src/components/build/Install/ExplorationUser.vue +315 -0
- package/src/components/build/Install/InstallFee/AddContract.vue +257 -0
- package/src/components/build/Install/InstallFee/InstallFee.vue +929 -0
- package/src/components/build/Install/InstallFee/InstallFee2.vue +291 -0
- package/src/components/{product/Function/functions → build/Install/InstallFee}/InstallFeeInfo.vue +11 -42
- package/src/components/build/Install/InstallFee/InstallFunction.vue +242 -0
- package/src/components/build/Install/InstallFee/InstallInfoSelect.vue +232 -0
- package/src/components/{product/Process → build/Install}/ModifyUserFiles.vue +1 -1
- package/src/components/build/Install/Process/BuildJob.vue +242 -0
- package/src/components/build/Install/Process/ContratSigne.vue +283 -0
- package/src/components/build/Install/Process/CustomerEssentialInfo.vue +325 -0
- package/src/components/build/Install/Process/CustomerFile.vue +423 -0
- package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -0
- package/src/components/build/Install/Process/CustomerRecordMessage.vue +749 -0
- package/src/components/build/Install/Process/DispatchingJob.vue +261 -0
- package/src/components/build/Install/Process/FeeNorme.vue +252 -0
- package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -0
- package/src/components/build/Install/Process/FeeVerifier.vue +199 -0
- package/src/components/build/Install/Process/IgnitionVentilation.vue +232 -0
- package/src/components/build/Install/Process/MeterType.vue +379 -0
- package/src/components/build/Install/Process/PlaceControler.vue +304 -0
- package/src/components/build/Install/Process/ProjeterFigure.vue +211 -0
- package/src/components/build/Install/Process/ReceivingNote.vue +317 -0
- package/src/components/build/Install/Process/boneng/qbj_placecontroler.vue +370 -0
- package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -0
- package/src/components/build/Install/Process/zhongran/ZR_ContratSigne.vue +496 -0
- package/src/components/build/Install/Process/zhongran/ZR_CustomerEssentialInfo.vue +415 -0
- package/src/components/build/Install/Process/zhongran/ZR_DispatchingJob.vue +409 -0
- package/src/components/build/Install/Process/zhongran/ZR_FeeNorme.vue +342 -0
- package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation.vue +253 -0
- package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation_transfer.vue +198 -0
- package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -0
- package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -0
- package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -0
- package/src/components/build/Install/Process/zhongran/ZR_PlaceControler_print.vue +187 -0
- package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote.vue +404 -0
- package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote1.vue +301 -0
- package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -0
- package/src/components/build/Install/Process/zhongran/ZR_end.vue +20 -0
- package/src/components/build/Install/ProcessInfo/BasicInfo.vue +68 -0
- package/src/components/build/Install/ProcessInfo/BuildInfo.vue +110 -0
- package/src/components/build/Install/ProcessInfo/ContratProcessInfo.vue +116 -0
- package/src/components/build/Install/ProcessInfo/DispatchingInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/FeeNormeInfo.vue +108 -0
- package/src/components/build/Install/ProcessInfo/FeeVerifierInfo.vue +102 -0
- package/src/components/build/Install/ProcessInfo/IgnitionInfo.vue +99 -0
- package/src/components/build/Install/ProcessInfo/MeterProcessInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/PlaceProcessInfo.vue +115 -0
- package/src/components/build/Install/ProcessInfo/ProjeterProcessInfo.vue +107 -0
- package/src/components/build/Install/ProcessInfo/ReceivingInfo.vue +107 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_BasicInfo.vue +74 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_BuildInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_ContratProcessInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_DispatchingInfo.vue +119 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_FeeNormeInfo.vue +105 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_IgnitionInfo.vue +99 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_MaterialPlan_info.vue +104 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_PlaceProcessInfo.vue +109 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_ReceivingInfo.vue +102 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_ignition_transfer_info.vue +104 -0
- package/src/components/{product/Bill → build/Install/bill}/BillXSDMakeInfo.vue +1 -1
- package/src/components/build/Install/monitor/SupervisoryControl.vue +178 -0
- package/src/components/build/Install/monitor/SupervisoryList.vue +209 -0
- package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryhCart.vue +3 -29
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +91 -1718
- package/src/main.js +2 -9
- package/src/stores/ApplyLoadParams.js +1 -1
- package/src/bootstrap/less/standard.less +0 -208
- package/src/components/app_apply/ServiceControl.vue +0 -442
- package/src/components/app_apply/ServiceView.vue +0 -356
- package/src/components/product/Common/ApplyValidateBill.vue +0 -55
- package/src/components/product/Common/PrintBill.vue +0 -120
- package/src/components/product/Function/InstallFunction.vue +0 -142
- package/src/components/product/Function/InstallInfoSelect.vue +0 -254
- package/src/components/product/Function/Service/FunctionServiceControl.vue +0 -328
- package/src/components/product/Function/functions/AddContract.vue +0 -301
- package/src/components/product/Function/functions/BuyerMessage.vue +0 -512
- package/src/components/product/Function/functions/InstallFee.vue +0 -919
- package/src/components/product/Function/functions/material_recording.vue +0 -237
- package/src/components/product/MaterialBatchList.vue +0 -109
- package/src/components/product/MaterialBatchManage.vue +0 -34
- package/src/components/product/Process/ExplorationSelect.vue +0 -636
- package/src/components/product/Process/ExplorationUser.vue +0 -131
- package/src/components/product/Process/MaterialUseList.vue +0 -159
- package/src/components/product/Process/ProcessInfo/history_control.vue +0 -134
- package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -776
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -910
- package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -383
- package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -957
- package/src/components/product/Process/Processes/SendOrder.vue +0 -47
- package/src/components/product/Process/Processes/Service/ApplyAcceptBill.vue +0 -89
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -305
- package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
- package/src/components/product/Process/ShowBackReason.vue +0 -18
- package/src/components/product/ServiceView.vue +0 -800
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +0 -407
- package/src/components/product/Supervisory/SupervisoryControl.vue +0 -130
- package/src/components/product/Supervisory/SupervisoryList.vue +0 -349
- package/src/components/product/stopInfo/ApplyStopInfo.vue +0 -280
- package/src/plugins/commonService.js +0 -229
- package/yarn.lock +0 -8072
- /package/src/components/{product/VueUtils → apply/base}/ToolsPage.vue +0 -0
- /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/BuildFeeDetail2.vue +0 -0
- /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ChangeFeeDetail2.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/AllSelect.vue +0 -0
- /package/src/components/{product/Function → build/Install/InstallFee}/InstallInfoDown.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/PreparationFee.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/PrestoreFee.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/ReduceFee.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/StopInstall.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/UpdateFee.vue +0 -0
- /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerBuildingMessage.vue +0 -0
- /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerEquipmentMessage.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/ProcessInfo}/ApplyRecordCancel.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillGZK.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillGZKMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillGZKRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillJLB.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillJLBMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillJLBRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillKTK.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillKTKMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillKTKRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillQRK.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillQRKMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillQRKRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillSelect.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillXSD.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillXSDRecordInfo.vue +0 -0
- /package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryBaseInfo.vue +0 -0
|
@@ -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
|
|
File without changes
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.3",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -27,13 +27,11 @@
|
|
|
27
27
|
"author": "zx <939981212@qq.com>",
|
|
28
28
|
"license": "ISC",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"co": "4.6.0",
|
|
31
30
|
"less": "^2.7.1",
|
|
32
31
|
"less-loader": "^2.2.3",
|
|
33
32
|
"lib-flexible": "^0.3.2",
|
|
34
33
|
"px2rem-loader": "^0.1.9",
|
|
35
|
-
"vue": "^1.0.17"
|
|
36
|
-
"vue-bubble": "^1.0.3"
|
|
34
|
+
"vue": "^1.0.17"
|
|
37
35
|
},
|
|
38
36
|
"devDependencies": {
|
|
39
37
|
"babel-core": "^6.0.0",
|
|
@@ -46,7 +44,6 @@
|
|
|
46
44
|
"cross-env": "^1.0.7",
|
|
47
45
|
"cross-spawn": "^2.1.5",
|
|
48
46
|
"css-loader": "^0.23.0",
|
|
49
|
-
"echarts": "^4.1.0",
|
|
50
47
|
"eslint": "^2.0.0",
|
|
51
48
|
"eslint-config-standard": "^5.1.0",
|
|
52
49
|
"eslint-friendly-formatter": "^1.2.2",
|
|
@@ -59,7 +56,6 @@
|
|
|
59
56
|
"express": "^4.17.0",
|
|
60
57
|
"extract-text-webpack-plugin": "^1.0.1",
|
|
61
58
|
"file-loader": "^0.8.4",
|
|
62
|
-
"form-create": "^1.6.6",
|
|
63
59
|
"function-bind": "^1.0.2",
|
|
64
60
|
"html-webpack-plugin": "^2.8.1",
|
|
65
61
|
"http-proxy-middleware": "^0.11.0",
|
|
@@ -76,8 +72,7 @@
|
|
|
76
72
|
"karma-sourcemap-loader": "^0.3.7",
|
|
77
73
|
"karma-spec-reporter": "0.0.31",
|
|
78
74
|
"karma-webpack": "^2.0.2",
|
|
79
|
-
"ldap-clients": "^0.
|
|
80
|
-
"material-client": "^1.1.2",
|
|
75
|
+
"ldap-clients": "^0.3.3",
|
|
81
76
|
"mkdirp": "^0.5.1",
|
|
82
77
|
"mocha": "^3.2.0",
|
|
83
78
|
"ncp": "^2.0.0",
|
|
@@ -89,10 +84,10 @@
|
|
|
89
84
|
"sinon-chai": "^2.8.0",
|
|
90
85
|
"style": "0.0.3",
|
|
91
86
|
"style-loader": "^0.20.3",
|
|
92
|
-
"system-clients": "1.6.
|
|
87
|
+
"system-clients": "^1.6.16",
|
|
93
88
|
"system-phone": "1.1.18",
|
|
94
89
|
"url-loader": "^0.5.7",
|
|
95
|
-
"vue-client": "1.
|
|
90
|
+
"vue-client": "^1.21.14",
|
|
96
91
|
"vue-hot-reload-api": "^1.2.0",
|
|
97
92
|
"vue-html-loader": "^1.0.0",
|
|
98
93
|
"vue-loader": "^8.2.1",
|
package/src/AndroidApp.vue
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<article>
|
|
5
5
|
<route :comp="{name: 'login-app'}" name="root"></route>
|
|
6
6
|
<!--<route :comp="{name: 'apply_app'}" name="root"></route>-->
|
|
7
|
-
|
|
7
|
+
<!-- <route :comp="{name: 'applytodolist'}" name="root"></route>-->
|
|
8
8
|
<!--<route :comp="{name: 'paper-state-noncivil'}" name="root"></route>-->
|
|
9
9
|
</article>
|
|
10
10
|
<time-out></time-out>
|