apply-clients 3.0.10-19 → 3.0.10-190
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/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -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.properties +5 -5
- package/gradlew +0 -172
- package/package.json +5 -4
- package/src/apply.js +27 -1
- package/src/components/Util.js +26 -22
- package/src/components/app_apply/ApplyDownList.vue +21 -8
- package/src/components/app_apply/ApplyToDoList.vue +94 -59
- package/src/components/app_apply/ApplyUserInfo.vue +3 -3
- package/src/components/app_apply/FieldExploration.vue +0 -1
- package/src/components/app_apply/PlaceControler.vue +16 -19
- package/src/components/app_apply/ServiceControl.vue +1137 -17
- package/src/components/app_apply/ServiceView.vue +386 -169
- 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 +663 -0
- package/src/components/product/Function/InstallFunction.vue +9 -9
- package/src/components/product/Function/InstallInfoSelect.vue +414 -222
- package/src/components/product/Function/Service/FunctionServiceControl.vue +3 -1
- package/src/components/product/Function/functions/InstallFee.vue +1140 -1117
- package/src/components/product/Function/functions/InstallFeeInfo.vue +101 -101
- package/src/components/product/Function/functions/StopInstall.vue +13 -1
- package/src/components/product/Process/ExplorationSelect.vue +742 -511
- package/src/components/product/Process/ExplorationUser.vue +180 -168
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +1457 -922
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +224 -218
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +728 -629
- 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 +1272 -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 +843 -835
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +289 -255
- package/src/components/product/Supervisory/SupervisoryControl.vue +197 -173
- package/src/components/product/Supervisory/SupervisoryList.vue +547 -332
- 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/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +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
|
|
File without changes
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=5
|
|
1
|
+
#Tue Jan 26 18:54:07 CST 2021
|
|
2
|
+
gradle.version=3.5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
distributionBase=GRADLE_USER_HOME
|
|
2
|
-
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
|
|
4
|
-
zipStoreBase=GRADLE_USER_HOME
|
|
5
|
-
zipStorePath=wrapper/dists
|
|
1
|
+
distributionBase=GRADLE_USER_HOME
|
|
2
|
+
distributionPath=wrapper/dists
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
|
|
4
|
+
zipStoreBase=GRADLE_USER_HOME
|
|
5
|
+
zipStorePath=wrapper/dists
|
package/gradlew
CHANGED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
|
|
3
|
-
##############################################################################
|
|
4
|
-
##
|
|
5
|
-
## Gradle start up script for UN*X
|
|
6
|
-
##
|
|
7
|
-
##############################################################################
|
|
8
|
-
|
|
9
|
-
# Attempt to set APP_HOME
|
|
10
|
-
# Resolve links: $0 may be a link
|
|
11
|
-
PRG="$0"
|
|
12
|
-
# Need this for relative symlinks.
|
|
13
|
-
while [ -h "$PRG" ] ; do
|
|
14
|
-
ls=`ls -ld "$PRG"`
|
|
15
|
-
link=`expr "$ls" : '.*-> \(.*\)$'`
|
|
16
|
-
if expr "$link" : '/.*' > /dev/null; then
|
|
17
|
-
PRG="$link"
|
|
18
|
-
else
|
|
19
|
-
PRG=`dirname "$PRG"`"/$link"
|
|
20
|
-
fi
|
|
21
|
-
done
|
|
22
|
-
SAVED="`pwd`"
|
|
23
|
-
cd "`dirname \"$PRG\"`/" >/dev/null
|
|
24
|
-
APP_HOME="`pwd -P`"
|
|
25
|
-
cd "$SAVED" >/dev/null
|
|
26
|
-
|
|
27
|
-
APP_NAME="Gradle"
|
|
28
|
-
APP_BASE_NAME=`basename "$0"`
|
|
29
|
-
|
|
30
|
-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
31
|
-
DEFAULT_JVM_OPTS='"-Xmx64m"'
|
|
32
|
-
|
|
33
|
-
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
34
|
-
MAX_FD="maximum"
|
|
35
|
-
|
|
36
|
-
warn () {
|
|
37
|
-
echo "$*"
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
die () {
|
|
41
|
-
echo
|
|
42
|
-
echo "$*"
|
|
43
|
-
echo
|
|
44
|
-
exit 1
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
# OS specific support (must be 'true' or 'false').
|
|
48
|
-
cygwin=false
|
|
49
|
-
msys=false
|
|
50
|
-
darwin=false
|
|
51
|
-
nonstop=false
|
|
52
|
-
case "`uname`" in
|
|
53
|
-
CYGWIN* )
|
|
54
|
-
cygwin=true
|
|
55
|
-
;;
|
|
56
|
-
Darwin* )
|
|
57
|
-
darwin=true
|
|
58
|
-
;;
|
|
59
|
-
MINGW* )
|
|
60
|
-
msys=true
|
|
61
|
-
;;
|
|
62
|
-
NONSTOP* )
|
|
63
|
-
nonstop=true
|
|
64
|
-
;;
|
|
65
|
-
esac
|
|
66
|
-
|
|
67
|
-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
|
68
|
-
|
|
69
|
-
# Determine the Java command to use to start the JVM.
|
|
70
|
-
if [ -n "$JAVA_HOME" ] ; then
|
|
71
|
-
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
|
72
|
-
# IBM's JDK on AIX uses strange locations for the executables
|
|
73
|
-
JAVACMD="$JAVA_HOME/jre/sh/java"
|
|
74
|
-
else
|
|
75
|
-
JAVACMD="$JAVA_HOME/bin/java"
|
|
76
|
-
fi
|
|
77
|
-
if [ ! -x "$JAVACMD" ] ; then
|
|
78
|
-
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
|
79
|
-
|
|
80
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
81
|
-
location of your Java installation."
|
|
82
|
-
fi
|
|
83
|
-
else
|
|
84
|
-
JAVACMD="java"
|
|
85
|
-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
86
|
-
|
|
87
|
-
Please set the JAVA_HOME variable in your environment to match the
|
|
88
|
-
location of your Java installation."
|
|
89
|
-
fi
|
|
90
|
-
|
|
91
|
-
# Increase the maximum file descriptors if we can.
|
|
92
|
-
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
|
93
|
-
MAX_FD_LIMIT=`ulimit -H -n`
|
|
94
|
-
if [ $? -eq 0 ] ; then
|
|
95
|
-
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
|
96
|
-
MAX_FD="$MAX_FD_LIMIT"
|
|
97
|
-
fi
|
|
98
|
-
ulimit -n $MAX_FD
|
|
99
|
-
if [ $? -ne 0 ] ; then
|
|
100
|
-
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
|
101
|
-
fi
|
|
102
|
-
else
|
|
103
|
-
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
|
104
|
-
fi
|
|
105
|
-
fi
|
|
106
|
-
|
|
107
|
-
# For Darwin, add options to specify how the application appears in the dock
|
|
108
|
-
if $darwin; then
|
|
109
|
-
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
|
110
|
-
fi
|
|
111
|
-
|
|
112
|
-
# For Cygwin, switch paths to Windows format before running java
|
|
113
|
-
if $cygwin ; then
|
|
114
|
-
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
|
115
|
-
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
|
116
|
-
JAVACMD=`cygpath --unix "$JAVACMD"`
|
|
117
|
-
|
|
118
|
-
# We build the pattern for arguments to be converted via cygpath
|
|
119
|
-
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
|
120
|
-
SEP=""
|
|
121
|
-
for dir in $ROOTDIRSRAW ; do
|
|
122
|
-
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
|
123
|
-
SEP="|"
|
|
124
|
-
done
|
|
125
|
-
OURCYGPATTERN="(^($ROOTDIRS))"
|
|
126
|
-
# Add a user-defined pattern to the cygpath arguments
|
|
127
|
-
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
|
128
|
-
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
|
129
|
-
fi
|
|
130
|
-
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
|
131
|
-
i=0
|
|
132
|
-
for arg in "$@" ; do
|
|
133
|
-
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
|
134
|
-
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
|
135
|
-
|
|
136
|
-
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
|
137
|
-
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
|
138
|
-
else
|
|
139
|
-
eval `echo args$i`="\"$arg\""
|
|
140
|
-
fi
|
|
141
|
-
i=$((i+1))
|
|
142
|
-
done
|
|
143
|
-
case $i in
|
|
144
|
-
(0) set -- ;;
|
|
145
|
-
(1) set -- "$args0" ;;
|
|
146
|
-
(2) set -- "$args0" "$args1" ;;
|
|
147
|
-
(3) set -- "$args0" "$args1" "$args2" ;;
|
|
148
|
-
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
|
149
|
-
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
|
150
|
-
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
|
151
|
-
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
|
152
|
-
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
|
153
|
-
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
|
154
|
-
esac
|
|
155
|
-
fi
|
|
156
|
-
|
|
157
|
-
# Escape application args
|
|
158
|
-
save () {
|
|
159
|
-
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
|
160
|
-
echo " "
|
|
161
|
-
}
|
|
162
|
-
APP_ARGS=$(save "$@")
|
|
163
|
-
|
|
164
|
-
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
|
165
|
-
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
|
166
|
-
|
|
167
|
-
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
|
168
|
-
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
|
169
|
-
cd "$(dirname "$0")"
|
|
170
|
-
fi
|
|
171
|
-
|
|
172
|
-
exec "$JAVACMD" "$@"
|
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-190",
|
|
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.23.9-1",
|
|
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,28 @@ 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) })
|
|
146
172
|
}
|
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
|
|