apply-clients 3.0.10-80 → 3.0.10-ys
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/.gradle/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +0 -0
- package/gradlew.bat +84 -0
- package/package.json +6 -5
- package/src/apply.js +31 -0
- package/src/components/Util.js +26 -22
- package/src/components/app_apply/ApplyDownList.vue +179 -179
- package/src/components/app_apply/ApplyToDoList.vue +200 -219
- package/src/components/app_apply/ApplyUserInfo.vue +56 -56
- package/src/components/app_apply/PlaceControler.vue +255 -255
- package/src/components/app_apply/ServiceControl.vue +1387 -1387
- package/src/components/app_apply/ServiceView.vue +583 -496
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/product/BatchFunction/BatchPay.vue +35 -4
- package/src/components/product/Function/InstallFunction.vue +6 -6
- package/src/components/product/Function/InstallInfoSelect.vue +96 -14
- package/src/components/product/Function/Service/FunctionServiceControl.vue +3 -1
- package/src/components/product/Function/functions/InstallFee.vue +3 -2
- package/src/components/product/Function/functions/StopInstall.vue +13 -1
- package/src/components/product/HiddenDangersInProjects/AddHiddenDangers.vue +965 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectList.vue +433 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectSchedule.vue +146 -0
- package/src/components/product/Process/ExplorationSelect.vue +143 -12
- package/src/components/product/Process/ExplorationUser.vue +14 -4
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +338 -69
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +226 -224
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +516 -746
- package/src/components/product/Process/Processes/chargeManagement.vue +248 -0
- package/src/components/product/ProjectManagement/AddProjectSchedule.vue +896 -0
- package/src/components/product/ProjectManagement/ProjectList.vue +406 -0
- package/src/components/product/ProjectManagement/ProjectSchedule.vue +144 -0
- package/src/components/product/ReportForm/PaymentRecord.vue +801 -0
- package/src/components/product/ReportForm/PaymentRecordAdd.vue +105 -0
- package/src/components/product/ReportForm/PaymentRecordBad.vue +1273 -0
- package/src/components/product/ReportForm/PaymentRecordDetailed.vue +472 -0
- package/src/components/product/ReportForm/PaymentRecordTooBad.vue +60 -0
- package/src/components/product/ReportForm/PaymentReport.vue +149 -36
- package/src/components/product/ReportForm/ProjectReport.vue +447 -0
- package/src/components/product/ReportForm/SummaryReport.vue +85 -33
- package/src/components/product/ReportForm/UserReport.vue +82 -33
- package/src/components/product/ServiceView.vue +4 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +1 -1
- package/src/components/product/Supervisory/SupervisoryControl.vue +11 -8
- package/src/components/product/Supervisory/SupervisoryList.vue +119 -20
- package/src/components/product/VueUtils/ApplyUpload.vue +314 -0
- package/src/main.js +4 -0
- package/success.rar +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
File without changes
|
|
Binary file
|
package/gradlew
ADDED
|
File without changes
|
package/gradlew.bat
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
@if "%DEBUG%" == "" @echo off
|
|
2
|
+
@rem ##########################################################################
|
|
3
|
+
@rem
|
|
4
|
+
@rem Gradle startup script for Windows
|
|
5
|
+
@rem
|
|
6
|
+
@rem ##########################################################################
|
|
7
|
+
|
|
8
|
+
@rem Set local scope for the variables with windows NT shell
|
|
9
|
+
if "%OS%"=="Windows_NT" setlocal
|
|
10
|
+
|
|
11
|
+
set DIRNAME=%~dp0
|
|
12
|
+
if "%DIRNAME%" == "" set DIRNAME=.
|
|
13
|
+
set APP_BASE_NAME=%~n0
|
|
14
|
+
set APP_HOME=%DIRNAME%
|
|
15
|
+
|
|
16
|
+
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
17
|
+
set DEFAULT_JVM_OPTS="-Xmx64m"
|
|
18
|
+
|
|
19
|
+
@rem Find java.exe
|
|
20
|
+
if defined JAVA_HOME goto findJavaFromJavaHome
|
|
21
|
+
|
|
22
|
+
set JAVA_EXE=java.exe
|
|
23
|
+
%JAVA_EXE% -version >NUL 2>&1
|
|
24
|
+
if "%ERRORLEVEL%" == "0" goto init
|
|
25
|
+
|
|
26
|
+
echo.
|
|
27
|
+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
28
|
+
echo.
|
|
29
|
+
echo Please set the JAVA_HOME variable in your environment to match the
|
|
30
|
+
echo location of your Java installation.
|
|
31
|
+
|
|
32
|
+
goto fail
|
|
33
|
+
|
|
34
|
+
:findJavaFromJavaHome
|
|
35
|
+
set JAVA_HOME=%JAVA_HOME:"=%
|
|
36
|
+
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
37
|
+
|
|
38
|
+
if exist "%JAVA_EXE%" goto init
|
|
39
|
+
|
|
40
|
+
echo.
|
|
41
|
+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
42
|
+
echo.
|
|
43
|
+
echo Please set the JAVA_HOME variable in your environment to match the
|
|
44
|
+
echo location of your Java installation.
|
|
45
|
+
|
|
46
|
+
goto fail
|
|
47
|
+
|
|
48
|
+
:init
|
|
49
|
+
@rem Get command-line arguments, handling Windows variants
|
|
50
|
+
|
|
51
|
+
if not "%OS%" == "Windows_NT" goto win9xME_args
|
|
52
|
+
|
|
53
|
+
:win9xME_args
|
|
54
|
+
@rem Slurp the command line arguments.
|
|
55
|
+
set CMD_LINE_ARGS=
|
|
56
|
+
set _SKIP=2
|
|
57
|
+
|
|
58
|
+
:win9xME_args_slurp
|
|
59
|
+
if "x%~1" == "x" goto execute
|
|
60
|
+
|
|
61
|
+
set CMD_LINE_ARGS=%*
|
|
62
|
+
|
|
63
|
+
:execute
|
|
64
|
+
@rem Setup the command line
|
|
65
|
+
|
|
66
|
+
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
67
|
+
|
|
68
|
+
@rem Execute Gradle
|
|
69
|
+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
|
70
|
+
|
|
71
|
+
:end
|
|
72
|
+
@rem End local scope for the variables with windows NT shell
|
|
73
|
+
if "%ERRORLEVEL%"=="0" goto mainEnd
|
|
74
|
+
|
|
75
|
+
:fail
|
|
76
|
+
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
77
|
+
rem the _cmd.exe /c_ return code!
|
|
78
|
+
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
|
79
|
+
exit /b 1
|
|
80
|
+
|
|
81
|
+
:mainEnd
|
|
82
|
+
if "%OS%"=="Windows_NT" endlocal
|
|
83
|
+
|
|
84
|
+
:omega
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "3.0.10-
|
|
3
|
+
"version": "3.0.10-ys",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"author": "zx <939981212@qq.com>",
|
|
28
28
|
"license": "ISC",
|
|
29
29
|
"dependencies": {
|
|
30
|
+
"ant-design-vue": "^1.7.6",
|
|
30
31
|
"co": "4.6.0",
|
|
31
32
|
"less": "^2.7.1",
|
|
32
33
|
"less-loader": "^2.2.3",
|
|
@@ -36,6 +37,7 @@
|
|
|
36
37
|
"vue-bubble": "^1.0.3"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
40
|
+
"axios": "0.15.3",
|
|
39
41
|
"babel-core": "^6.0.0",
|
|
40
42
|
"babel-loader": "^6.0.0",
|
|
41
43
|
"babel-plugin-transform-runtime": "^6.0.0",
|
|
@@ -90,9 +92,9 @@
|
|
|
90
92
|
"style": "0.0.3",
|
|
91
93
|
"style-loader": "^0.20.3",
|
|
92
94
|
"system-clients": "3.0.57",
|
|
93
|
-
"system-phone": "1.
|
|
95
|
+
"system-phone": "1.1.18",
|
|
94
96
|
"url-loader": "^0.5.7",
|
|
95
|
-
"vue-client": "1.
|
|
97
|
+
"vue-client": "1.24.48",
|
|
96
98
|
"vue-hot-reload-api": "^1.2.0",
|
|
97
99
|
"vue-html-loader": "^1.0.0",
|
|
98
100
|
"vue-loader": "^8.2.1",
|
|
@@ -106,7 +108,6 @@
|
|
|
106
108
|
"webpack-dev-middleware": "^1.4.0",
|
|
107
109
|
"webpack-hot-middleware": "^2.6.0",
|
|
108
110
|
"webpack-merge": "^0.8.3",
|
|
109
|
-
"weixin-js-sdk": "^1.2.0"
|
|
110
|
-
"axios": "0.15.3"
|
|
111
|
+
"weixin-js-sdk": "^1.2.0"
|
|
111
112
|
}
|
|
112
113
|
}
|
package/src/apply.js
CHANGED
|
@@ -155,4 +155,35 @@ export default function () {
|
|
|
155
155
|
Vue.component('summary-report', (resolve) => { require(['./components/product/ReportForm/SummaryReport'], resolve) })
|
|
156
156
|
// 市场结算报表
|
|
157
157
|
Vue.component('settlement-report', (resolve) => { require(['./components/product/ReportForm/SettlementReport'], resolve) })
|
|
158
|
+
// 收费汇总报表
|
|
159
|
+
Vue.component('project-report', (resolve) => { require(['./components/product/ReportForm/ProjectReport'], resolve) })
|
|
160
|
+
// 打款记录汇总报表
|
|
161
|
+
Vue.component('payment-record-bad', (resolve) => { require(['./components/product/ReportForm/PaymentRecord'], resolve) })
|
|
162
|
+
// 打款记录明细报表
|
|
163
|
+
Vue.component('payment-record-detailed', (resolve) => { require(['./components/product/ReportForm/PaymentRecordDetailed'], resolve) })
|
|
164
|
+
// 打款记录新增
|
|
165
|
+
Vue.component('payment-record-add', (resolve) => { require(['./components/product/ReportForm/PaymentRecordAdd'], resolve) })
|
|
166
|
+
// 打款记录明细报表
|
|
167
|
+
Vue.component('payment-record', (resolve) => { require(['./components/product/ReportForm/PaymentRecordBad'], resolve) })
|
|
168
|
+
// 打款记录明细卡片
|
|
169
|
+
Vue.component('payment-record-too-bad', (resolve) => { require(['./components/product/ReportForm/PaymentRecordTooBad'], resolve) })
|
|
170
|
+
|
|
171
|
+
Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
|
|
172
|
+
|
|
173
|
+
// 工程项目 添加项目信息
|
|
174
|
+
Vue.component('add-project-schedule', (resolve) => { require(['./components/product/ProjectManagement/AddProjectSchedule'], resolve) })
|
|
175
|
+
// 添加项目信息
|
|
176
|
+
Vue.component('project-schedule', (resolve) => { require(['./components/product/ProjectManagement/ProjectSchedule'], resolve) })
|
|
177
|
+
// 查询
|
|
178
|
+
Vue.component('project-list', (resolve) => { require(['./components/product/ProjectManagement/ProjectList'], resolve) })
|
|
179
|
+
|
|
180
|
+
// 隐患项目 添加项目信息
|
|
181
|
+
Vue.component('add-hidden-schedule', (resolve) => { require(['./components/product/HiddenDangersInProjects/AddHiddenDangers'], resolve) })
|
|
182
|
+
// 添加项目信息
|
|
183
|
+
Vue.component('hidden-project-schedule', (resolve) => { require(['./components/product/HiddenDangersInProjects/HiddenProjectSchedule'], resolve) })
|
|
184
|
+
// 查询
|
|
185
|
+
Vue.component('hidden-project-list', (resolve) => { require(['./components/product/HiddenDangersInProjects/HiddenProjectList'], resolve) })
|
|
186
|
+
|
|
187
|
+
Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Process/Processes/chargeManagement'], resolve) })
|
|
188
|
+
|
|
158
189
|
}
|
package/src/components/Util.js
CHANGED
|
@@ -21,6 +21,10 @@ export function getAttendanceState (item, timeToWork, timeToGo) {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
export function isEmpty (str) {
|
|
25
|
+
return str === undefined || str === null || str.toString().trim() === ''
|
|
26
|
+
}
|
|
27
|
+
|
|
24
28
|
export function toStandardYearMonth () {
|
|
25
29
|
let dt = new Date()
|
|
26
30
|
let month = dt.getMonth() + 1
|
|
@@ -44,7 +48,7 @@ export function toStartAndEndDateString () {
|
|
|
44
48
|
let month = dt.getMonth() + 1
|
|
45
49
|
// let date = dt.getDate()
|
|
46
50
|
return [dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-01',
|
|
47
|
-
|
|
51
|
+
dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (new Date(dt.getFullYear(), month, 0).getDate())]
|
|
48
52
|
// return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
|
|
49
53
|
}
|
|
50
54
|
|
|
@@ -56,7 +60,7 @@ export function toStandardTimeString () {
|
|
|
56
60
|
let min = dt.getMinutes()
|
|
57
61
|
let sec = dt.getSeconds()
|
|
58
62
|
return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date) +
|
|
59
|
-
|
|
63
|
+
' ' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
|
|
60
64
|
}
|
|
61
65
|
|
|
62
66
|
export function to3339TimeString () {
|
|
@@ -67,7 +71,7 @@ export function to3339TimeString () {
|
|
|
67
71
|
let min = dt.getMinutes()
|
|
68
72
|
let sec = dt.getSeconds()
|
|
69
73
|
return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date) +
|
|
70
|
-
|
|
74
|
+
'T' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
export function parse3339String(strDate) {
|
|
@@ -91,11 +95,11 @@ export function guid() {
|
|
|
91
95
|
let buf = new Uint16Array(8)
|
|
92
96
|
window.crypto.getRandomValues(buf)
|
|
93
97
|
let S4 = function(num) {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
let ret = num.toString(16)
|
|
99
|
+
while(ret.length < 4){
|
|
100
|
+
ret = '0' + ret
|
|
101
|
+
}
|
|
102
|
+
return ret
|
|
99
103
|
}
|
|
100
104
|
return (S4(buf[0])+S4(buf[1])+S4(buf[2])+S4(buf[3])+S4(buf[4])+S4(buf[5])+S4(buf[6])+S4(buf[7]))
|
|
101
105
|
}
|
|
@@ -141,16 +145,16 @@ export function isFloat(n){
|
|
|
141
145
|
|
|
142
146
|
// this will convert all true/false to boolean
|
|
143
147
|
export function booleanFilter(paper) {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
148
|
+
for(let key in paper) {
|
|
149
|
+
if(!paper.hasOwnProperty(key))
|
|
150
|
+
continue
|
|
151
|
+
if(typeof paper[key] == "object" && paper[key] != null) {
|
|
152
|
+
booleanFilter(paper[key]);
|
|
153
|
+
} else {
|
|
154
|
+
if(paper[key] === "true" || paper[key] == "false")
|
|
155
|
+
paper[key] = (paper[key] === "true")
|
|
153
156
|
}
|
|
157
|
+
}
|
|
154
158
|
}
|
|
155
159
|
// recursively traverse through each path
|
|
156
160
|
export function ratifyPics(paper) {
|
|
@@ -185,11 +189,11 @@ export function loadscript(type, fileName) {
|
|
|
185
189
|
element.setAttribute('async', '')
|
|
186
190
|
element.setAttribute('defer', '')
|
|
187
191
|
element.addEventListener('load', function() {
|
|
188
|
-
|
|
189
|
-
|
|
192
|
+
resolve(element)
|
|
193
|
+
}, false)
|
|
190
194
|
element.addEventListener('error', function() {
|
|
191
|
-
|
|
192
|
-
|
|
195
|
+
reject(element)
|
|
196
|
+
}, false)
|
|
193
197
|
document.body.appendChild(element)
|
|
194
198
|
}
|
|
195
199
|
})
|
|
@@ -227,7 +231,7 @@ export function addDate (date, days) {
|
|
|
227
231
|
let min = endDate.getMinutes()
|
|
228
232
|
let sec = endDate.getSeconds()
|
|
229
233
|
return endDate.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (day < 10 ? '0' + day : day) +
|
|
230
|
-
|
|
234
|
+
' ' + (hour < 10 ? '0' + hour : hour) + ':' + (min < 10 ? '0' + min : min) + ':' + (sec < 10 ? '0' + sec : sec)
|
|
231
235
|
// return a
|
|
232
236
|
}
|
|
233
237
|
|