Commit 2b7019a2 by wangzhihui

fixed

1 parent f2047449
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(
......
...@@ -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,
......
/**二手车 */ /**二手车 */
import request from "./newRequest" import request from "./gscRequest"
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) => {
......
<!--
* @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: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!