Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c87c18b9
authored
Sep 29, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 详情
1 parent
ebbf1c8a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
17 deletions
api/module/evaluation.js
pages/evaluationForm/EvaluationFormDetails.vue
pages/evaluationForm/evaluationFormMap.js
utils/logger/LogCat.js
api/module/evaluation.js
View file @
c87c18b
...
@@ -71,7 +71,7 @@ module.exports = {
...
@@ -71,7 +71,7 @@ module.exports = {
/** 发起代保管协议签署 */
/** 发起代保管协议签署 */
signAgreement
(
data
)
{
signAgreement
(
data
)
{
return
http
.
post
(
`/applyPayment/
signAgreement
`
,
{
return
http
.
post
(
`/applyPayment/
payFinal
`
,
{
...
data
...
data
})
})
},
},
...
...
pages/evaluationForm/EvaluationFormDetails.vue
View file @
c87c18b
This diff is collapsed.
Click to expand it.
pages/evaluationForm/evaluationFormMap.js
View file @
c87c18b
...
@@ -109,3 +109,39 @@ export const vehicleCategoryMap = {
...
@@ -109,3 +109,39 @@ export const vehicleCategoryMap = {
1
:
'置换车'
,
1
:
'置换车'
,
2
:
'报废车'
2
:
'报废车'
}
}
export
const
usageTypeMap
=
{
1
:
'非营运'
,
2
:
'营运'
,
3
:
'营转非'
}
export
const
ownerTypeMap
=
{
1
:
'个人'
,
2
:
'单位'
}
export
const
sunroofMap
=
{
1
:
'无天窗'
,
2
:
'普通天窗'
,
3
:
'全景天窗'
}
export
const
emissionStandardMap
=
{
3
:
'国3'
,
4
:
'国4'
,
5
:
'国5'
}
export
const
buyNewCarMap
=
{
0
:
'是'
,
1
:
'否'
}
export
const
hasAccidentMap
=
{
0
:
'是'
,
1
:
'否'
}
export
const
overallRatingMap
=
{
1
:
'优'
,
2
:
'良'
,
3
:
'中'
,
4
:
'差'
}
utils/logger/LogCat.js
View file @
c87c18b
import
{
getTime
}
from
'./util'
import
{
getTime
}
from
'./util'
import
{
serializeIfObject
}
from
'../utils'
import
{
serializeIfObject
}
from
'../utils'
class
LogCat
{
class
LogCat
{
main
=
plus
.
android
.
runtimeMainActivity
()
//
main = plus.android.runtimeMainActivity()
File
=
plus
.
android
.
importClass
(
'java.io.File'
)
//
File = plus.android.importClass('java.io.File')
Environment
=
plus
.
android
.
importClass
(
'android.os.Environment'
)
//
Environment = plus.android.importClass('android.os.Environment')
BufferedWriter
=
plus
.
android
.
importClass
(
'java.io.BufferedWriter'
)
//
BufferedWriter = plus.android.importClass('java.io.BufferedWriter')
FileOutputStream
=
plus
.
android
.
importClass
(
'java.io.FileOutputStream'
)
//
FileOutputStream = plus.android.importClass('java.io.FileOutputStream')
OutputStreamWriter
=
plus
.
android
.
importClass
(
'java.io.OutputStreamWriter'
)
//
OutputStreamWriter = plus.android.importClass('java.io.OutputStreamWriter')
// BufferedReader = plus.android.importClass('java.io.BufferedReader')
//
//
BufferedReader = plus.android.importClass('java.io.BufferedReader')
// FileInputStream = plus.android.importClass('java.io.FileInputStream')
// FileInputStream = plus.android.importClass('java.io.FileInputStream')
// InputStreamReader = plus.android.importClass('java.io.InputStreamReader')
// InputStreamReader = plus.android.importClass('java.io.InputStreamReader')
LogPath
=
''
LogPath
=
''
constructor
(
folderName
=
'_zyzs_log'
)
{
constructor
(
folderName
=
'_zyzs_log'
)
{
if
(
this
.
Environment
.
MEDIA_MOUNTED
||
!
this
.
Environment
.
isExternalStorageRemovable
())
{
//
if (this.Environment.MEDIA_MOUNTED || !this.Environment.isExternalStorageRemovable()) {
this
.
LogPath
=
this
.
main
.
getExternalFilesDir
(
null
).
getPath
()
+
folderName
//
this.LogPath = this.main.getExternalFilesDir(null).getPath() + folderName
}
else
{
//
} else {
this
.
LogPath
=
this
.
main
.
getFilesDir
().
getPath
()
+
folderName
//
this.LogPath = this.main.getFilesDir().getPath() + folderName
}
//
}
console
.
log
(
'日志文件存放路径->'
,
this
.
LogPath
)
console
.
log
(
'日志文件存放路径->'
,
this
.
LogPath
)
}
}
writeLog
(
tag
,
messages
)
{
writeLog
(
tag
,
messages
)
{
...
@@ -28,10 +28,10 @@ class LogCat {
...
@@ -28,10 +28,10 @@ class LogCat {
//写入的内容
//写入的内容
let
content
=
`
${
datetime
}
[
${
tag
}
] :
${
msg
}
\n`
let
content
=
`
${
datetime
}
[
${
tag
}
] :
${
msg
}
\n`
console
.
log
(
content
.
replace
(
/
\n
/g
,
''
))
console
.
log
(
content
.
replace
(
/
\n
/g
,
''
))
let
path
=
new
this
.
File
(
this
.
LogPath
)
//
let path = new this.File(this.LogPath)
if
(
!
path
.
exists
())
{
//
if (!path.exists()) {
path
.
mkdirs
()
//创建父路径
//
path.mkdirs() //创建父路径
}
//
}
let
fos
=
null
let
fos
=
null
let
bw
=
null
let
bw
=
null
try
{
try
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment