Commit 6429f0a0 by swl

gx

parent 5d48f159
No preview for this file type
...@@ -19,11 +19,20 @@ export function getList(params) { ...@@ -19,11 +19,20 @@ export function getList(params) {
export function get(params) { export function get(params) {
return api( return api(
Object.assign(formatParams("GET", params), { Object.assign(formatParams("GET", params), {
url: `${config.proxy}/admin-api/talent/detail`,
})
);
}
/**
* 查询详情
*/
export function getFamily(params) {
return api(
Object.assign(formatParams("GET", params), {
url: `${config.proxy}/admin-api/familyCode/detail`, url: `${config.proxy}/admin-api/familyCode/detail`,
}) })
); );
} }
/** /**
* 查询类型 * 查询类型
*/ */
......
...@@ -4,8 +4,8 @@ import { getToken } from "@/utils/auth"; ...@@ -4,8 +4,8 @@ import { getToken } from "@/utils/auth";
const config = { const config = {
// proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址 // proxy: "https://exam.smart-zj.cn:9100/exam/", // 新线上地址
// proxy: "http://81.69.231.72:8881/", // 测试地址 proxy: "http://81.69.231.72:8881/", // 测试地址
proxy: "http://192.168.3.87:8881/", //本地 // proxy: "http://192.168.3.87:8881/", //本地
// proxy: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口 // proxy: "https://exam.smart-zj.cn:9100/smartExam/", // 新正式接口
}; };
......
...@@ -605,7 +605,7 @@ import TableTemplate from "@/components/Table"; ...@@ -605,7 +605,7 @@ import TableTemplate from "@/components/Table";
// import { changeList } from '@/utils'; // import { changeList } from '@/utils';
import { import {
getList, getList,
get, getFamily,
getRecord, getRecord,
getType, getType,
getReviewState, getReviewState,
...@@ -864,7 +864,7 @@ export default { ...@@ -864,7 +864,7 @@ export default {
let params = { let params = {
code: row.familyCode, code: row.familyCode,
}; };
get(params).then((res) => { getFamily(params).then((res) => {
this.viewDetail = res.data; this.viewDetail = res.data;
this.viewRow = row; this.viewRow = row;
this.viewShow = true; this.viewShow = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment