apply-clients 3.0.10-23 → 3.0.10-230
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/doc//346/226/260/347/224/250/346/210/267/350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xls +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 +5 -4
- package/src/apply.js +42 -1
- package/src/components/Util.js +26 -22
- package/src/components/app_apply/ApplyDownList.vue +21 -8
- package/src/components/app_apply/ApplyToDoList.vue +83 -59
- package/src/components/app_apply/ApplyUserInfo.vue +3 -3
- 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 -389
- 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 +694 -0
- package/src/components/product/Function/InstallFunction.vue +9 -9
- package/src/components/product/Function/InstallInfoSelect.vue +230 -38
- package/src/components/product/Function/Service/FunctionServiceControl.vue +3 -1
- package/src/components/product/Function/functions/InstallFee.vue +59 -35
- package/src/components/product/Function/functions/StopInstall.vue +13 -1
- package/src/components/product/HiddenDangersInProjects/AddHiddenDangers.vue +964 -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 +302 -71
- package/src/components/product/Process/ExplorationUser.vue +18 -3
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +736 -200
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +75 -69
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +752 -633
- package/src/components/product/ProjectManagement/AddProjectSchedule.vue +910 -0
- package/src/components/product/ProjectManagement/ProjectList.vue +411 -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 +532 -0
- package/src/components/product/ReportForm/ProjectReport.vue +447 -0
- package/src/components/product/ReportForm/SettlementReport.vue +336 -0
- package/src/components/product/ReportForm/SummaryReport.vue +451 -0
- package/src/components/product/ReportForm/UserReport.vue +402 -0
- package/src/components/product/ServiceView.vue +17 -9
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +36 -2
- package/src/components/product/Supervisory/SupervisoryControl.vue +30 -6
- package/src/components/product/Supervisory/SupervisoryList.vue +249 -34
- package/src/components/product/VueUtils/ApplyUpload.vue +310 -0
- package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -1
- package/src/main.js +4 -0
- package/success.rar +0 -0
- package/doc//350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xlsx +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
|
|
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-230",
|
|
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",
|
|
@@ -92,7 +94,7 @@
|
|
|
92
94
|
"system-clients": "3.0.57",
|
|
93
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
|
@@ -24,12 +24,14 @@ export default function () {
|
|
|
24
24
|
Vue.component('material-use-list', (resolve) => { require(['./components/product/Process/MaterialUseList'], resolve) })
|
|
25
25
|
// 预算材料
|
|
26
26
|
Vue.component('material-message', (resolve) => { require(['./components/product/Process/Processes/CustomerMaterialMessage'], resolve) })
|
|
27
|
-
|
|
27
|
+
// 领取材料
|
|
28
28
|
Vue.component('receive-batch', (resolve) => { require(['./components/product/Process/Processes/ReceiveBatch'], resolve) })
|
|
29
29
|
// 报建材料记录功能
|
|
30
30
|
Vue.component('material_recording', (resolve) => { require(['./components/product/Function/functions/material_recording'], resolve) })
|
|
31
31
|
// 档案tab页
|
|
32
32
|
Vue.component('record-message', (resolve) => { require(['./components/product/Process/Processes/CustomerRecordMessage'], resolve) })
|
|
33
|
+
// 档案tab页1
|
|
34
|
+
// Vue.component('record-message1', (resolve) => { require(['./components/product/Process/Processes/CustomerRecordMessage1'], resolve) })
|
|
33
35
|
// 材料tab页
|
|
34
36
|
Vue.component('material-message', (resolve) => { require(['./components/product/Process/Processes/CustomerMaterialMessage'], resolve) })
|
|
35
37
|
// 设备tab页
|
|
@@ -143,4 +145,43 @@ export default function () {
|
|
|
143
145
|
Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
|
|
144
146
|
// 汇总查询入口 src/components/product/Statistics/ApplyStatisticsROOT.vue
|
|
145
147
|
Vue.component('apply-statistics-root', (resolve) => { require(['./components/product/Statistics/ApplyStatisticsROOT'], resolve) })
|
|
148
|
+
// 批量缴费
|
|
149
|
+
Vue.component('batch-pay', (resolve) => { require(['./components/product/BatchFunction/BatchPay'], resolve) })
|
|
150
|
+
// 交费明细报表
|
|
151
|
+
Vue.component('payment-report', (resolve) => { require(['./components/product/ReportForm/PaymentReport'], resolve) })
|
|
152
|
+
// 用户明细报表
|
|
153
|
+
Vue.component('user-report', (resolve) => { require(['./components/product/ReportForm/UserReport'], resolve) })
|
|
154
|
+
// 收费汇总报表
|
|
155
|
+
Vue.component('summary-report', (resolve) => { require(['./components/product/ReportForm/SummaryReport'], resolve) })
|
|
156
|
+
// 市场结算报表
|
|
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
|
+
|
|
146
187
|
}
|
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
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!--<div class="app-botton" @click="back()">-->
|
|
4
4
|
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
5
5
|
<!--</div>-->
|
|
6
|
-
<back-page :need-back='true' @flag="back()"></back-page
|
|
6
|
+
<!-- <back-page :need-back='true' @flag="back()"></back-page>-->
|
|
7
7
|
<div class="bq-parent">
|
|
8
8
|
<blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
|
|
9
9
|
<p>
|
|
@@ -19,16 +19,13 @@
|
|
|
19
19
|
<div class="panel-body bg-info" style="padding: 10px">
|
|
20
20
|
<div class="row form-group">
|
|
21
21
|
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
22
|
-
<div class="row"
|
|
22
|
+
<div class="row" @click="selected(row)">
|
|
23
23
|
<div :class="{'text-danger': row.f_remindersign}" class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
24
24
|
报建编号: {{row.f_apply_num}}<!--<span v-if="row.f_remindersign">(催单)</span>-->
|
|
25
25
|
</div>
|
|
26
26
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
27
27
|
用户姓名: {{row.f_user_name}}
|
|
28
28
|
</div>
|
|
29
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
30
|
-
用户类型: {{row.f_user_type}}
|
|
31
|
-
</div>
|
|
32
29
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
33
30
|
用户地址: {{row.f_address}}
|
|
34
31
|
</div>
|
|
@@ -48,9 +45,9 @@
|
|
|
48
45
|
|
|
49
46
|
</div>
|
|
50
47
|
</div>
|
|
51
|
-
<div class="col-sm-12 col-xs-12 col-md-12"
|
|
52
|
-
<button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right"
|
|
53
|
-
</div
|
|
48
|
+
<!-- <div class="col-sm-12 col-xs-12 col-md-12">-->
|
|
49
|
+
<!-- <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right" >查看</button>-->
|
|
50
|
+
<!-- </div>-->
|
|
54
51
|
</div>
|
|
55
52
|
</div>
|
|
56
53
|
</div>
|
|
@@ -83,6 +80,12 @@
|
|
|
83
80
|
},
|
|
84
81
|
methods: {
|
|
85
82
|
selected (row) {
|
|
83
|
+
var pardate = {
|
|
84
|
+
_this:this,
|
|
85
|
+
tittle:'已办详情',
|
|
86
|
+
safe:true
|
|
87
|
+
}
|
|
88
|
+
this.$dispatch('gotoson',pardate)
|
|
86
89
|
row.canedit = false
|
|
87
90
|
if(this.sourcet == '横屏'){
|
|
88
91
|
this.$goto('placecontrolerapp', {row: row},'self',this.search)
|
|
@@ -140,6 +143,16 @@
|
|
|
140
143
|
_this.search()
|
|
141
144
|
}, 6000000)//60000
|
|
142
145
|
},
|
|
146
|
+
created(){
|
|
147
|
+
var result = HostApp.readLocalFile('workflow_apply.json')
|
|
148
|
+
if(result.code == 500){
|
|
149
|
+
this.$showMessage('获取流程配置文件失败,请联系系统管理员')
|
|
150
|
+
return
|
|
151
|
+
}
|
|
152
|
+
var data = JSON.parse(result.data)
|
|
153
|
+
console.log('前台存入缓存中的data=>' + JSON.stringify(data))
|
|
154
|
+
Vue.workflow_vue = Vue.prototype.$workflow_vue = data
|
|
155
|
+
}
|
|
143
156
|
}
|
|
144
157
|
</script>
|
|
145
158
|
|
|
@@ -1,70 +1,66 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="repair-bg auto" id="repair-first" style="padding-bottom:5px;overflow:auto">
|
|
3
3
|
<!--<div class="app-botton" @click="back()">-->
|
|
4
|
-
|
|
4
|
+
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
5
5
|
<!--</div>-->
|
|
6
|
-
<back-page :need-back='true' @flag="back()"></back-page
|
|
6
|
+
<!-- <back-page :need-back='true' @flag="back()"></back-page>-->
|
|
7
7
|
<div class="bq-parent">
|
|
8
8
|
<blockquote style="color: #499edf;border-left-color: #499edf;font-size: 16px">
|
|
9
9
|
<p>
|
|
10
10
|
待办报建<span v-if="rows">({{rows.length}}单)</span>
|
|
11
11
|
<span v-if="!rows">(暂无待处理报建单)</span>
|
|
12
|
-
<img @click="
|
|
12
|
+
<img @click="flushsearch" src="../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
|
|
13
13
|
</p>
|
|
14
14
|
</blockquote>
|
|
15
15
|
</div>
|
|
16
16
|
<div class="panel panel-default repair-info-content auto">
|
|
17
17
|
<div class="panel-body">
|
|
18
|
-
<div class="
|
|
19
|
-
<div class="
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
用户姓名: {{row.f_user_name}}
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
30
|
-
用户类型: {{row.f_user_type}}
|
|
31
|
-
</div>
|
|
32
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
33
|
-
用户地址: {{row.f_address}}
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
36
|
-
用户电话: {{row.f_phone}}
|
|
37
|
-
<img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(row.f_phone)'>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
40
|
-
流程状态: {{row.f_order_type}}
|
|
41
|
-
</div>
|
|
42
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
43
|
-
报建类型: {{row.f_apply_type}}
|
|
44
|
-
</div>
|
|
45
|
-
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
46
|
-
报建日期: {{row.f_apply_date}}
|
|
47
|
-
</div>
|
|
18
|
+
<div class="row">
|
|
19
|
+
<div class="col-sm-7">
|
|
20
|
+
<label>用户姓名</label>
|
|
21
|
+
<input type="text" v-model="username" placeholder='用户姓名' />
|
|
22
|
+
<label>用户电话</label>
|
|
23
|
+
<input type="text" v-model="userphone" placeholder='用户电话' />
|
|
24
|
+
<!-- <button type="button" name="button" class="btn btn-primary" @click="search" style="float: left" >查询</button>-->
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-sm-7">
|
|
48
27
|
|
|
49
|
-
|
|
28
|
+
<!-- <button type="button" name="button" class="btn btn-primary" @click="search" style="float: left" >查询</button>-->
|
|
29
|
+
</div>
|
|
30
|
+
<!-- <div class="col-sm-3" style="float: left;margin-left: 3%;margin-bottom: 3%">-->
|
|
31
|
+
<!-- <button type="button" name="button" class="btn btn-primary" @click='ifsearch(" and f_orderstatus!=null ")' >查询临时保存</button>-->
|
|
32
|
+
<!-- </div>-->
|
|
33
|
+
</div>
|
|
34
|
+
<div class="panel panel-default repair-info-content auto" >
|
|
35
|
+
<div class="bg-info row panel-body" v-for="row in rows" style="border: #fff solid 0.5px;margin-bottom: 2px;border-radius:2%" >
|
|
36
|
+
<div class="panel-body bg-info" style="padding: 10px" @click="selected(row)">
|
|
37
|
+
|
|
38
|
+
<div class="col-sm-5 col-xs-5 col-md-5 padd-div-shu">
|
|
39
|
+
{{row.f_user_name}}
|
|
50
40
|
</div>
|
|
51
|
-
<div class="col-sm-
|
|
52
|
-
|
|
41
|
+
<div class="col-sm-5 col-xs-5 col-md-5 padd-div-shu">
|
|
42
|
+
{{row.f_phone}}
|
|
43
|
+
<!-- <img src="../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(row.f_phone)'>-->
|
|
53
44
|
</div>
|
|
45
|
+
|
|
54
46
|
</div>
|
|
55
47
|
</div>
|
|
48
|
+
|
|
56
49
|
</div>
|
|
57
50
|
</div>
|
|
58
51
|
</div>
|
|
59
52
|
</div>
|
|
53
|
+
|
|
60
54
|
</template>
|
|
61
55
|
<script>
|
|
62
|
-
|
|
56
|
+
import Vue from 'vue'
|
|
63
57
|
export default{
|
|
64
58
|
title: '待办报建列表',
|
|
65
59
|
data () {
|
|
66
60
|
return {
|
|
67
61
|
// rows: Object
|
|
62
|
+
username:'',
|
|
63
|
+
userphone:'',
|
|
68
64
|
rows: [],
|
|
69
65
|
editshow:false,
|
|
70
66
|
row:{
|
|
@@ -83,6 +79,12 @@ export default{
|
|
|
83
79
|
},
|
|
84
80
|
methods: {
|
|
85
81
|
selected (row) {
|
|
82
|
+
var pardate = {
|
|
83
|
+
_this:this,
|
|
84
|
+
tittle:'待办详情',
|
|
85
|
+
safe:true
|
|
86
|
+
}
|
|
87
|
+
this.$dispatch('gotoson',pardate)
|
|
86
88
|
row.canedit = true
|
|
87
89
|
if(this.sourcet == '横屏'){
|
|
88
90
|
this.$goto('placecontrolerapp', {row: row},'self',this.search)
|
|
@@ -94,6 +96,22 @@ export default{
|
|
|
94
96
|
let _this = this
|
|
95
97
|
_this.$back()
|
|
96
98
|
},
|
|
99
|
+
flushsearch(){
|
|
100
|
+
|
|
101
|
+
HostApp.__this__ = this
|
|
102
|
+
HostApp.logicWithHint({
|
|
103
|
+
// logic别名,key必须为logic
|
|
104
|
+
'logic': 'ApplyTimeOut',
|
|
105
|
+
// 回调执行方法名,key必须为callback
|
|
106
|
+
'callback': 'javascript:HostApp.__this__.search()',
|
|
107
|
+
// logic执行需要的业务参数
|
|
108
|
+
'data': {"workflow_names":"'报建缴费','现场勘察','通气'"},
|
|
109
|
+
// 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
|
|
110
|
+
// 执行回调方法传入key为backresult
|
|
111
|
+
// 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
|
|
112
|
+
'backresult': 1
|
|
113
|
+
})
|
|
114
|
+
},
|
|
97
115
|
search () {
|
|
98
116
|
//pc模拟开发用
|
|
99
117
|
// console.log('------app开始查询本地代办工单------')
|
|
@@ -112,14 +130,20 @@ export default{
|
|
|
112
130
|
|
|
113
131
|
// app正式运行程序
|
|
114
132
|
console.log('------app开始查询本地代办工单------')
|
|
115
|
-
var condition = ' (u.f_app_upload != \'已上传\' or u.f_app_upload is null)
|
|
133
|
+
var condition = ' (u.f_app_upload != \'已上传\' or u.f_app_upload is null)'
|
|
134
|
+
if (this.username){
|
|
135
|
+
condition+=` and f_user_name like '%${this.username}%'`
|
|
136
|
+
}
|
|
137
|
+
if (this.userphone){
|
|
138
|
+
condition+=` and f_phone like '%${this.userphone}%'`
|
|
139
|
+
}
|
|
116
140
|
console.log(`login_user_id=>>>${Vue.user.id}`)
|
|
117
141
|
var param = {"condition": condition,"id": Vue.user.id}
|
|
118
142
|
console.log(`param=>>>${JSON.stringify(param)}`)
|
|
119
143
|
let res = this.$androidUtil.bzLogic('getapplymobile',param)
|
|
120
144
|
console.log(`前台本地报建代办工单查询结果data=>>>${res.data}`)
|
|
121
145
|
if(res.data){
|
|
122
|
-
|
|
146
|
+
this.rows = res.data.rows
|
|
123
147
|
}else{
|
|
124
148
|
this.rows = []
|
|
125
149
|
}
|
|
@@ -133,7 +157,7 @@ export default{
|
|
|
133
157
|
}
|
|
134
158
|
},
|
|
135
159
|
ready () {
|
|
136
|
-
this.
|
|
160
|
+
this.flushsearch()
|
|
137
161
|
var _this = this;
|
|
138
162
|
this.timeoutHandle = window.setInterval(function() {
|
|
139
163
|
_this.search()
|
|
@@ -154,23 +178,23 @@ export default{
|
|
|
154
178
|
</script>
|
|
155
179
|
|
|
156
180
|
<style>
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
181
|
+
.app-botton {
|
|
182
|
+
position:fixed;
|
|
183
|
+
background: #87b2dd;
|
|
184
|
+
color: #FFF;
|
|
185
|
+
padding: 8px;
|
|
186
|
+
text-align: center;
|
|
187
|
+
font-size: 1.2em;
|
|
188
|
+
z-index: 10;
|
|
189
|
+
opacity:0.5;
|
|
190
|
+
bottom: 50px;
|
|
191
|
+
margin-top: -10px;
|
|
192
|
+
height: 40px;
|
|
193
|
+
}
|
|
194
|
+
.class-a{
|
|
195
|
+
border:1px solid red;
|
|
196
|
+
}
|
|
197
|
+
.padd-div-shu{
|
|
198
|
+
padding-bottom: 5px;
|
|
199
|
+
}
|
|
176
200
|
</style>
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
<p>客户姓名: {{service.f_user_name}}</p>
|
|
12
12
|
<p>客户电话: {{service.f_phone}}</p>
|
|
13
13
|
<p>客户地址: {{service.f_address}}</p>
|
|
14
|
-
<p
|
|
15
|
-
<p
|
|
16
|
-
<p
|
|
14
|
+
<p>报建类型: {{service.f_apply_type}}</p>
|
|
15
|
+
<p>项目名称: {{service.f_entry_name}}</p>
|
|
16
|
+
<p>项目编号: {{service.f_apply_num}}</p>
|
|
17
17
|
<!--<p>申请户数: {{service.f_apply_count}}</p>-->
|
|
18
18
|
<!--<p>房屋类型: {{service.f_house_type}}</p>-->
|
|
19
19
|
</div>
|