Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2b7019a2
authored
Sep 25, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
f2047449
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
49 deletions
src/api/newRequest.js → src/api/gscRequest.js
src/api/request.js
src/api/usedCarManagement.js
src/views/usedCarManagement/evaluationManagement/index.vue
src/api/
new
Request.js
→
src/api/
gsc
Request.js
View file @
2b7019a
import
{
Request
}
from
"glsk-toolkit"
import
{
Request
}
from
"glsk-toolkit"
import
{
baseConfig
}
from
"@/main"
import
{
baseConfig
}
from
"@/main"
import
util
from
"@/libs/util.js"
console
.
log
(
baseConfig
,
"baseConfig"
)
const
request
=
new
Request
({
const
request
=
new
Request
({
baseURL
:
"http://192.168.3.145:9898/gsc-vcp-web-facade"
,
...
baseConfig
.
gsc
,
appId
:
"dj_zhixin"
,
appSecret
:
"c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b"
,
timeout
:
5000
,
sentry
:
{
enable
:
false
,
dsn
:
"https://be4fb79a912b4c34a5d1c539a1618978@sentry.glsx.com.cn/1"
},
security
:
{
enable
:
false
,
address
:
"https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=glsx-common"
// 自定义地址
},
response
:
{
code_key
:
"code"
,
// 或者你后台实际使用的状态码字段名
code_success_value
:
"0"
,
data_key
:
"data"
,
errId
:
"errId"
,
errId_logout_value
:
"21"
},
events
:
{
events
:
{
response
:
(
responseData
,
config
)
=>
{
response
:
(
responseData
,
config
)
=>
{
console
.
log
(
console
.
log
(
...
...
src/api/request.js
View file @
2b7019a
...
@@ -12,6 +12,7 @@ import RequestMethods from "./request.methods"
...
@@ -12,6 +12,7 @@ import RequestMethods from "./request.methods"
import
util
from
"@/libs/util.js"
import
util
from
"@/libs/util.js"
import
{
baseConfig
}
from
"@/main"
import
{
baseConfig
}
from
"@/main"
import
axiosPackage
from
"axios"
import
axiosPackage
from
"axios"
console
.
log
(
baseConfig
,
"requestbaseConfig"
)
const
request
=
(
const
request
=
(
params
=
{},
params
=
{},
method
=
RequestMethods
.
GET
,
method
=
RequestMethods
.
GET
,
...
...
src/api/usedCarManagement.js
View file @
2b7019a
/**二手车 */
/**二手车 */
import
request
from
"./
new
Request"
import
request
from
"./
gsc
Request"
export
function
getListApi
(
data
)
{
// 评估单列表
return
request
.
post
(
export
function
getEvalOrderList
(
data
)
{
"/test/param/test"
,
return
request
.
post
(
"/evalOrderManage/getEvalOrderList"
,
data
)
// 请求体数据
{
id
:
6
,
objs
:
[
"hehe"
,
"haah"
],
dogs
:
[
{
name
:
"haogou"
,
age
:
1
},
{
name
:
"拉布拉多"
,
age
:
2
}
],
dog
:
{
name
:
"haogou"
,
age
:
1
}
},
{
duplicatePrevention
:
true
// 简化配置:直接传入 true
}
)
}
}
// export function getListApi(data) {
// export function getListApi(data) {
// return new Promise(async (resolve) => {
// return new Promise(async (resolve) => {
...
...
src/views/usedCarManagement/evaluationManagement/index.vue
View file @
2b7019a
<!--
* @Author: 'wangzhihui' '1733904062@qq.com'
* @Date: 2025-09-18 14:34:53
* @LastEditors: 'wangzhihui' '1733904062@qq.com'
* @LastEditTime: 2025-09-22 21:12:42
* @FilePath: \dj-car-life-system\src\views\usedCarManagement\evaluationManagement\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!-- 评估管理 -->
<!-- 评估管理 -->
<
template
>
<
template
>
<d2-container
class=
"evaluation-wrap"
>
<d2-container
class=
"evaluation-wrap"
>
...
@@ -34,7 +26,7 @@
...
@@ -34,7 +26,7 @@
<!-- :get-list-api="getListApi" -->
<!-- :get-list-api="getListApi" -->
<d2-table
<d2-table
ref=
"table"
ref=
"table"
:
tableData=
"tableData
"
:
get-list-api=
"getListApi
"
:search-form=
"searchFormSearch"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
:before-search-fn=
"beforeSearchFn"
...
@@ -82,6 +74,7 @@ import { receptionTagPage, receptionTagPageExport } from "@/api/resident.js"
...
@@ -82,6 +74,7 @@ import { receptionTagPage, receptionTagPageExport } from "@/api/resident.js"
import
preview
from
"../components/preview"
import
preview
from
"../components/preview"
import
{
listShop4sByRef
}
from
"@api/merchant"
import
{
listShop4sByRef
}
from
"@api/merchant"
import
{
getBrandList
}
from
"@/api/scene.js"
import
{
getBrandList
}
from
"@/api/scene.js"
import
{
getEvalOrderList
}
from
"@/api/usedCarManagement.js"
import
{
import
{
usageTypeOpt
,
usageTypeOpt
,
ownerTypeOpt
,
ownerTypeOpt
,
...
@@ -99,7 +92,8 @@ export default {
...
@@ -99,7 +92,8 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
getListApi
:
receptionTagPage
,
// getEvalOrderList
getListApi
:
""
,
picOptions
:
{
picOptions
:
{
width
:
"138px"
,
width
:
"138px"
,
height
:
"54px"
,
height
:
"54px"
,
...
@@ -449,6 +443,9 @@ export default {
...
@@ -449,6 +443,9 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
// getEvalOrderList().then((res) => {
// console.log(res, "9999")
// })
this
.
getOptionsList
()
this
.
getOptionsList
()
},
},
methods
:
{
methods
:
{
...
...
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