update
|
|
@ -16,6 +16,7 @@ declare module 'vue' {
|
|||
AppNewsBox: typeof import('./src/components/AppNewsBox.vue')['default']
|
||||
AppPagination: typeof import('./src/components/AppPagination.vue')['default']
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElCascader: typeof import('element-plus/es')['ElCascader']
|
||||
ElCol: typeof import('element-plus/es')['ElCol']
|
||||
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
|
||||
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ export function report(data: any) {
|
|||
// {"msg":"b5c17f42-4f63-4fbd-b5cf-9c82b033c9a7","code":200}
|
||||
export interface LoginReq {
|
||||
// 账号 13923879210
|
||||
account: string,
|
||||
account: string
|
||||
// 密码 123456
|
||||
password: string,
|
||||
password: string
|
||||
authType: string
|
||||
}
|
||||
export function login(data: LoginReq) {
|
||||
|
|
@ -63,18 +63,17 @@ export async function deptTree(params: any) {
|
|||
return http.get('/user/deptTree', { params })
|
||||
}
|
||||
export interface userPage {
|
||||
pageNum?:string,
|
||||
pageSize?:string,
|
||||
phonenumber?:string,
|
||||
status?:string,
|
||||
beingTime:string,
|
||||
endTime:string,
|
||||
deptId?:string,
|
||||
nickName:string,
|
||||
reviewSource:string,
|
||||
pageNum?: string
|
||||
pageSize?: string
|
||||
phonenumber?: string
|
||||
status?: string
|
||||
beingTime: string
|
||||
endTime: string
|
||||
deptId?: string
|
||||
nickName: string
|
||||
reviewSource: string
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 接口URL:daikin-获取用户分页列表
|
||||
GET
|
||||
|
|
@ -117,7 +116,7 @@ export interface ArticlePageReq {
|
|||
// 类型 1-外部情报 2-内部情报
|
||||
type?: string
|
||||
// 分类 1-外部环境 2-竞争对手 3-供方动向 4-大金集团 5-中国据点 6-调达本部 7-news 8-重要通知
|
||||
cate?: String,
|
||||
cate?: String
|
||||
position: String
|
||||
}
|
||||
export async function getArticlePage(params: ArticlePageReq) {
|
||||
|
|
@ -156,7 +155,7 @@ export async function getManagerDetail(id: string) {
|
|||
}
|
||||
// 撤回
|
||||
export async function deleteWithdraw(id: string) {
|
||||
return http.get("/article/withdraw?id=" + id)
|
||||
return http.get('/article/withdraw?id=' + id)
|
||||
}
|
||||
// 外部情报-管理列表
|
||||
export async function getManagerList(params: { pageNum: any; pageSize: any }) {
|
||||
|
|
@ -169,21 +168,24 @@ export async function getExternalManagerDetail(id: string) {
|
|||
}
|
||||
// news/重要通知-撤回
|
||||
export async function externalWithdraw(id: string) {
|
||||
return http.get("/article/external/withdraw?id=" + id)
|
||||
return http.get('/article/external/withdraw?id=' + id)
|
||||
}
|
||||
// news/重要通知-流程列表
|
||||
export async function getExternalManagerList(params: {pageNum: any;pageSize:any}) {
|
||||
export async function getExternalManagerList(params: {
|
||||
pageNum: any
|
||||
pageSize: any
|
||||
}) {
|
||||
return http.get('/article/external/getManagerList', { params })
|
||||
}
|
||||
// -------------------------------------列表end
|
||||
export interface ArticleSave {
|
||||
title: string, //标题
|
||||
content: string, //内容
|
||||
tag: string, //标签 紧急/New
|
||||
source: string, //"网站添加", //来源 文本
|
||||
type?: string,
|
||||
cate?: string, //分类 1-外部环境 2-竞争对手 3-供方动向 4-大金集团 5-中国据点 6-调达本部
|
||||
reviewSource:number,
|
||||
title: string //标题
|
||||
content: string //内容
|
||||
tag: string //标签 紧急/New
|
||||
source: string //"网站添加", //来源 文本
|
||||
type?: string
|
||||
cate?: string //分类 1-外部环境 2-竞争对手 3-供方动向 4-大金集团 5-中国据点 6-调达本部
|
||||
reviewSource: number
|
||||
}
|
||||
// 接口URL: 提交情报
|
||||
|
||||
|
|
@ -198,7 +200,7 @@ export interface ArticleSave {
|
|||
// }
|
||||
export async function saveArticle(data: ArticleSave) {
|
||||
// return openApiRequest({ url: `/article/save`, data })
|
||||
return http.post("/article/save",data)
|
||||
return http.post('/article/save', data)
|
||||
}
|
||||
|
||||
// 接口URL: 分类文件-上下拖动排序
|
||||
|
|
@ -211,7 +213,7 @@ export async function saveArticle(data: ArticleSave) {
|
|||
// "lastId": 5 //被移动位置的文件id
|
||||
// }
|
||||
export async function dragFile(data: ArticleSave) {
|
||||
return http.post("/db/cateFileSort",data)
|
||||
return http.post('/db/cateFileSort', data)
|
||||
}
|
||||
|
||||
/**情报banner图
|
||||
|
|
@ -219,13 +221,11 @@ export async function dragFile(data: ArticleSave) {
|
|||
*
|
||||
*/
|
||||
export async function getBannerList(params: any) {
|
||||
return http.get("/article/getBannerList",{params})
|
||||
return http.get('/article/getBannerList', { params })
|
||||
}
|
||||
|
||||
|
||||
|
||||
export interface notice {
|
||||
reviewStatus:number,
|
||||
reviewStatus: number
|
||||
reviewSource: number
|
||||
}
|
||||
|
||||
|
|
@ -237,7 +237,7 @@ token
|
|||
674f3e91-38de-4065-a4e2-2ce8981864fa
|
||||
*/
|
||||
export async function getNoticeList(params: notice) {
|
||||
return http.get("/article/getNoticeList",{params})
|
||||
return http.get('/article/getNoticeList', { params })
|
||||
}
|
||||
|
||||
/** 首页列表
|
||||
|
|
@ -248,11 +248,11 @@ token
|
|||
674f3e91-38de-4065-a4e2-2ce8981864fa
|
||||
*/
|
||||
export async function getHomeList(params: notice) {
|
||||
return http.get("/cd/homeList",{params})
|
||||
return http.get('/cd/homeList', { params })
|
||||
}
|
||||
|
||||
export async function statDel(params: notice) {
|
||||
return http.get("/cd/statDel",{params})
|
||||
return http.get('/cd/statDel', { params })
|
||||
}
|
||||
|
||||
/** 树数据
|
||||
|
|
@ -263,18 +263,17 @@ token
|
|||
674f3e91-38de-4065-a4e2-2ce8981864fa
|
||||
*/
|
||||
export async function getTreeList(params: notice) {
|
||||
return http.get("/cd/treeList",{params})
|
||||
return http.get('/cd/treeList', { params })
|
||||
}
|
||||
|
||||
export async function statEdit(data: ArticleReview) {
|
||||
return http.post("/cd/statEdit",data)
|
||||
return http.post('/cd/statEdit', data)
|
||||
}
|
||||
|
||||
|
||||
export interface msg {
|
||||
pageNum:number,
|
||||
treeSource:number,
|
||||
pageSize:number,
|
||||
pageNum: number
|
||||
treeSource: number
|
||||
pageSize: number
|
||||
}
|
||||
/**留言板列表
|
||||
* http://127.0.0.1:8811/openApi/article/boardMsgList
|
||||
|
|
@ -282,10 +281,10 @@ export interface msg{
|
|||
*
|
||||
*/
|
||||
export async function boardMsgList(params: msg) {
|
||||
return http.get("/article/boardMsgList",{params})
|
||||
return http.get('/article/boardMsgList', { params })
|
||||
}
|
||||
export async function deleteMsgById(id: string) {
|
||||
return http.get("/article/delMsgList?id=" + id)
|
||||
return http.get('/article/delMsgList?id=' + id)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -294,21 +293,24 @@ POST
|
|||
http://127.0.0.1:8811/openApi/supplier/trendsAdd
|
||||
*/
|
||||
export async function trendsAdd(data: { title: any; content: string }) {
|
||||
return http.post("/supplier/trendsAdd",data)
|
||||
return http.post('/supplier/trendsAdd', data)
|
||||
}
|
||||
/**
|
||||
* 留言板-动态-详情
|
||||
http://127.0.0.1:8811/openApi/supplier/trendsDetail?id=1
|
||||
*/
|
||||
export async function trendsDetail(params: any) {
|
||||
return http.get("/supplier/trendsDetail" ,{params})
|
||||
return http.get('/supplier/trendsDetail', { params })
|
||||
}
|
||||
|
||||
/**留言板-动态-分页列表
|
||||
* http://127.0.0.1:8811/openApi/supplier/trendsPage?pageNum=1&pageSize=20
|
||||
*/
|
||||
export async function trendsPage(params: { pageNum: number; pageSize: number }) {
|
||||
return http.get("/supplier/trendsPage" ,{params})
|
||||
export async function trendsPage(params: {
|
||||
pageNum: number
|
||||
pageSize: number
|
||||
}) {
|
||||
return http.get('/supplier/trendsPage', { params })
|
||||
}
|
||||
|
||||
/**留言板-需求依赖-添加
|
||||
|
|
@ -316,40 +318,43 @@ export async function trendsPage(params: { pageNum: number; pageSize: number })
|
|||
http://127.0.0.1:8811/openApi/supplier/demandAdd
|
||||
*/
|
||||
export async function demandAdd(data: any) {
|
||||
return http.post("/supplier/demandAdd",data)
|
||||
return http.post('/supplier/demandAdd', data)
|
||||
}
|
||||
/**
|
||||
* 留言板-需求依赖-详情
|
||||
* http://127.0.0.1:8811/openApi/supplier/demandDetail?id=1
|
||||
*/
|
||||
export async function demandDetail(params: any) {
|
||||
return http.get("/supplier/demandDetail" ,{params})
|
||||
return http.get('/supplier/demandDetail', { params })
|
||||
}
|
||||
/**
|
||||
* 留言板-需求依赖-分页列表
|
||||
* http://127.0.0.1:8811/openApi/supplier/demandPage?pageNum=1&pageSize=20
|
||||
*/
|
||||
export async function demandPage(params: { pageNum: number; pageSize: number }) {
|
||||
return http.get("/supplier/demandPage" ,{params})
|
||||
export async function demandPage(params: {
|
||||
pageNum: number
|
||||
pageSize: number
|
||||
}) {
|
||||
return http.get('/supplier/demandPage', { params })
|
||||
}
|
||||
/***
|
||||
* 留言板-供应商留言-添加
|
||||
* http://127.0.0.1:8811/openApi/supplier/faqAdd
|
||||
*/
|
||||
export async function faqAdd(data: any) {
|
||||
return http.post("/supplier/faqAdd",data)
|
||||
return http.post('/supplier/faqAdd', data)
|
||||
}
|
||||
/**留言板-供应商留言-详情
|
||||
* http://127.0.0.1:8811/openApi/supplier/faqDetail?id=2
|
||||
*/
|
||||
export async function faqDetail(params: any) {
|
||||
return http.get("/supplier/faqDetail" ,{params})
|
||||
return http.get('/supplier/faqDetail', { params })
|
||||
}
|
||||
/**留言板-供应商留言-分页列表
|
||||
* http://127.0.0.1:8811/openApi/supplier/faqPage?pageNum=1&pageSize=20
|
||||
*/
|
||||
export async function faqPage(params: { pageNum: number; pageSize: number }) {
|
||||
return http.get("/supplier/faqPage" ,{params})
|
||||
return http.get('/supplier/faqPage', { params })
|
||||
}
|
||||
|
||||
/**留言删除
|
||||
|
|
@ -368,7 +373,7 @@ export async function demandDel(params: any) {
|
|||
* http://127.0.0.1:8811/openApi/supplier/reply
|
||||
*/
|
||||
export async function reply(data: any) {
|
||||
return http.post("/supplier/reply",data)
|
||||
return http.post('/supplier/reply', data)
|
||||
}
|
||||
|
||||
/**留言板-供应商留言-撤回
|
||||
|
|
@ -386,12 +391,12 @@ export async function demandWithdraw(data: any) {
|
|||
}
|
||||
|
||||
export interface ArticleReview {
|
||||
id?:string,
|
||||
title:string,
|
||||
content:string,
|
||||
source:string,
|
||||
cate?:string,
|
||||
noticeId?:string,
|
||||
id?: string
|
||||
title: string
|
||||
content: string
|
||||
source: string
|
||||
cate?: string
|
||||
noticeId?: string
|
||||
userIdList: any[]
|
||||
}
|
||||
|
||||
|
|
@ -413,30 +418,26 @@ http://127.0.0.1:8811/openApi/article/review
|
|||
* @returns
|
||||
*/
|
||||
export async function review(data: ArticleReview) {
|
||||
return http.post("/article/review",data)
|
||||
return http.post('/article/review', data)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* CD-首页发注金额列表
|
||||
* @returns http://127.0.0.1:8811/openApi/cd/amountList
|
||||
*/
|
||||
export async function amountList() {
|
||||
return http.get("/cd/amountList")
|
||||
return http.get('/cd/amountList')
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* "number": "DIS", //编号 DIS/DSZ/DISH
|
||||
"amount": "30"
|
||||
* @returns http://127.0.0.1:8811/openApi/cd/updateAmount
|
||||
*/
|
||||
export async function updateAmount(data: any) {
|
||||
return http.post("/cd/updateAmount",data)
|
||||
return http.post('/cd/updateAmount', data)
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 接口URL:
|
||||
// GET
|
||||
// http://127.0.0.1:8811/openApi/cdCate/treeList
|
||||
|
|
@ -471,9 +472,8 @@ export async function curYearDataStat(data:getData){
|
|||
return http.post('/cdCate/curYearDataStat', data)
|
||||
}
|
||||
|
||||
|
||||
export interface hisYearD {
|
||||
cateId:number,
|
||||
cateId: number
|
||||
yearTime: string
|
||||
}
|
||||
/*
|
||||
|
|
@ -493,7 +493,6 @@ export async function hisYearDataStat(data:hisYearD){
|
|||
return http.post('/cdCate/hisYearDataStat', data)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* CD业种-历史度数据列表
|
||||
* http://127.0.0.1:8811/openApi/cdCate/hisDataList
|
||||
|
|
@ -541,12 +540,13 @@ http://127.0.0.1:8811/openApi/common/upload
|
|||
multipart/form-data
|
||||
*/
|
||||
|
||||
|
||||
export async function upload(params: any,Headers: AxiosRequestConfig<any> | undefined){
|
||||
export async function upload(
|
||||
params: any,
|
||||
Headers: AxiosRequestConfig<any> | undefined
|
||||
) {
|
||||
return http.post('/common/upload', params, Headers)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 接口URL:获取分组列表
|
||||
GET
|
||||
|
|
@ -560,11 +560,10 @@ export async function getGroupList(){
|
|||
return http.get('/group/getList')
|
||||
}
|
||||
|
||||
|
||||
export interface getNotice {
|
||||
id:string,
|
||||
name:string,
|
||||
userIdList:Array<any>,
|
||||
id: string
|
||||
name: string
|
||||
userIdList: Array<any>
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -573,13 +572,15 @@ POST
|
|||
http://127.0.0.1:8811/openApi/group/add
|
||||
*
|
||||
*/
|
||||
export async function addGroup(params: getNotice,Headers:AxiosRequestConfig<any> | undefined){
|
||||
export async function addGroup(
|
||||
params: getNotice,
|
||||
Headers: AxiosRequestConfig<any> | undefined
|
||||
) {
|
||||
return http.post('/group/add', params, Headers)
|
||||
}
|
||||
|
||||
|
||||
export interface group {
|
||||
id:string,
|
||||
id: string
|
||||
}
|
||||
|
||||
/**删除分组
|
||||
|
|
@ -591,9 +592,6 @@ export async function deleteGroup(params: group){
|
|||
return http.get('/group/delete', { params })
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
export interface newPwd {
|
||||
newPassword: string
|
||||
oldPassword: string
|
||||
|
|
@ -604,11 +602,13 @@ export interface newPwd{
|
|||
http://127.0.0.1:8811/openApi/auth/updatePwd
|
||||
*
|
||||
*/
|
||||
export async function updatePwd(params: newPwd,Headers:AxiosRequestConfig<any> | undefined){
|
||||
export async function updatePwd(
|
||||
params: newPwd,
|
||||
Headers: AxiosRequestConfig<any> | undefined
|
||||
) {
|
||||
return http.post('/auth/updatePwd', params, Headers)
|
||||
}
|
||||
|
||||
|
||||
export interface work {
|
||||
pageNum: number
|
||||
}
|
||||
|
|
@ -636,8 +636,8 @@ export async function getPageWork(params:work){
|
|||
}
|
||||
|
||||
export interface visit {
|
||||
pageNum:number,
|
||||
status:number,
|
||||
pageNum: number
|
||||
status: number
|
||||
source: number
|
||||
}
|
||||
|
||||
|
|
@ -651,7 +651,6 @@ export async function getPageInv(params:visit){
|
|||
return http.get('/inv/getPage', { params })
|
||||
}
|
||||
|
||||
|
||||
/**拜访列表
|
||||
* http://127.0.0.1:8811/openApi/visit/getPage
|
||||
*
|
||||
|
|
@ -662,20 +661,23 @@ export async function getPageVisit(params:visit){
|
|||
}
|
||||
|
||||
export interface pupid {
|
||||
title:string,
|
||||
content:string,
|
||||
actName:string,
|
||||
actSTime:string,
|
||||
actETime:string,
|
||||
position:string,
|
||||
userIdList:Array<any>,
|
||||
title: string
|
||||
content: string
|
||||
actName: string
|
||||
actSTime: string
|
||||
actETime: string
|
||||
position: string
|
||||
userIdList: Array<any>
|
||||
}
|
||||
/**发布邀请函
|
||||
* :
|
||||
POST
|
||||
http://127.0.0.1:8811/openApi/inv/add
|
||||
*/
|
||||
export async function addPageInv(params: pupid,Headers:AxiosRequestConfig<any> | undefined){
|
||||
export async function addPageInv(
|
||||
params: pupid,
|
||||
Headers: AxiosRequestConfig<any> | undefined
|
||||
) {
|
||||
return http.post('/inv/add', params, Headers)
|
||||
}
|
||||
|
||||
|
|
@ -687,7 +689,10 @@ export async function addPageInv(params: pupid,Headers:AxiosRequestConfig<any> |
|
|||
POST
|
||||
http://127.0.0.1:8811/openApi/visit/add
|
||||
*/
|
||||
export async function addPageVisit(params: pupid,Headers:AxiosRequestConfig<any> | undefined){
|
||||
export async function addPageVisit(
|
||||
params: pupid,
|
||||
Headers: AxiosRequestConfig<any> | undefined
|
||||
) {
|
||||
return http.post('/visit/add', params, Headers)
|
||||
}
|
||||
|
||||
|
|
@ -702,7 +707,6 @@ export async function visitInfo(id: string){
|
|||
return http.get(`/visit/getDetail/${id}`)
|
||||
}
|
||||
|
||||
|
||||
/**邀请函详情
|
||||
|
||||
* 接口URL:
|
||||
|
|
@ -714,7 +718,6 @@ export async function invInfo(id: string){
|
|||
return http.get(`/inv/getDetail/${id}`)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取CSR属性信息
|
||||
* http://127.0.0.1:8811/openApi/csr/getDetail
|
||||
|
|
@ -723,13 +726,11 @@ export async function getCSRDetail(){
|
|||
return http.get(`/csr/getDetail`)
|
||||
}
|
||||
|
||||
|
||||
export interface CSR {
|
||||
id:string,
|
||||
id: string
|
||||
content: Object
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* http://127.0.0.1:8811/openApi/csr/updateFootprint
|
||||
* 碳足迹板块信息-新增/更新
|
||||
|
|
@ -742,7 +743,11 @@ export async function updateFootprint(data: CSR){
|
|||
* 碳足迹板块信息-列表
|
||||
* http://127.0.0.1:8811/openApi/csr/getFootprintList
|
||||
*/
|
||||
export async function getFootprintList(params: { pageNum: number; pageSize: number; moduleId: string }){
|
||||
export async function getFootprintList(params: {
|
||||
pageNum: number
|
||||
pageSize: number
|
||||
moduleId: string
|
||||
}) {
|
||||
return http.get(`/csr/getFootprintList`, { params })
|
||||
}
|
||||
/**碳足迹板块用户权限-新增/更新
|
||||
|
|
@ -761,7 +766,6 @@ export async function delFootprint(params: any){
|
|||
return http.get(`/csr/delFootprint`, { params })
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新CSR属性信息
|
||||
* http://127.0.0.1:8811/openApi/csr/add
|
||||
|
|
@ -770,7 +774,6 @@ export async function CSRAdd(data: CSR){
|
|||
return http.post(`/csr/add`, data)
|
||||
}
|
||||
|
||||
|
||||
/**获取PLUS活动信息
|
||||
* http://127.0.0.1:8811/openApi/csr/getCsrActList
|
||||
*/
|
||||
|
|
@ -787,7 +790,6 @@ export async function updateAct(data: any){
|
|||
return http.post(`/csr/updateAct`, data)
|
||||
}
|
||||
|
||||
|
||||
/**获取Lab属性信息
|
||||
* http://127.0.0.1:8811/openApi/lab/getDetail
|
||||
*/
|
||||
|
|
@ -795,7 +797,6 @@ export async function getLabActList(){
|
|||
return http.get(`/lab/getDetail`)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新Lab属性信息
|
||||
http://127.0.0.1:8811/openApi/lab/add
|
||||
|
|
@ -826,9 +827,6 @@ export async function actLABDel(params: any){
|
|||
return http.get(`/lab/actDel`, { params })
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**获取基础研究方向信息
|
||||
* http://127.0.0.1:8811/openApi/lab/getCsrActList
|
||||
*/
|
||||
|
|
@ -855,7 +853,6 @@ export async function deleteCate(params: any){
|
|||
return http.get(`/lab/deleteCate`, { params })
|
||||
}
|
||||
|
||||
|
||||
/**更新分类下的列表数据
|
||||
* http://127.0.0.1:8811/openApi/lab/editCateItem
|
||||
*/
|
||||
|
|
@ -876,9 +873,6 @@ export async function getCateItemList(params: any){
|
|||
return http.get(`/lab/getCateItemList`, { params })
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**更新BCP属性信息
|
||||
* http://127.0.0.1:8811/openApi/bcp/add
|
||||
*/
|
||||
|
|
@ -886,7 +880,6 @@ export async function addBPC(data: any){
|
|||
return http.post(`/bcp/add`, data)
|
||||
}
|
||||
|
||||
|
||||
/**获取BCP属性信息
|
||||
* http://127.0.0.1:8811/openApi/bcp/getDetail
|
||||
*/
|
||||
|
|
@ -962,9 +955,9 @@ export async function delBPCActList(params:{id: any}){
|
|||
export async function BPCDownload(params: { id: any }) {
|
||||
// return http.get(`/bcp/download`,{params})
|
||||
return http({
|
||||
method: "get",
|
||||
url: "/bcp/download?id=" +params.id,
|
||||
responseType: "arraybuffer"
|
||||
method: 'get',
|
||||
url: '/bcp/download?id=' + params.id,
|
||||
responseType: 'arraybuffer'
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -999,16 +992,16 @@ export async function saveMarketUser(data: any){
|
|||
export async function MarketDownload(params: { id: any }) {
|
||||
// return http.get(`/bcp/download`,{params})
|
||||
return http({
|
||||
method: "get",
|
||||
url: "/marketPre/download?id=" +params.id,
|
||||
responseType: "arraybuffer"
|
||||
method: 'get',
|
||||
url: '/marketPre/download?id=' + params.id,
|
||||
responseType: 'arraybuffer'
|
||||
})
|
||||
}
|
||||
/**预览文件
|
||||
* http://127.0.0.1:8811/openApi/marketPre/preview?id=11
|
||||
*/
|
||||
export async function MarketPreview(params: { id: any }) {
|
||||
return http.get("/marketPre/preview",{params})
|
||||
return http.get('/marketPre/preview', { params })
|
||||
}
|
||||
/***获取近7天数据-市况
|
||||
* http://127.0.0.1:8811/openApi/market/historySevenDay
|
||||
|
|
@ -1045,22 +1038,15 @@ export async function rateHistoryStat(data: any){
|
|||
* http://127.0.0.1:8811/openApi/common/getCurrencyList
|
||||
*/
|
||||
export async function getCurrencyList() {
|
||||
return http.get("/common/getCurrencyList")
|
||||
return http.get('/common/getCurrencyList')
|
||||
}
|
||||
/**获取市况材料列表
|
||||
* http://127.0.0.1:8811/openApi/common/getMetalList
|
||||
*/
|
||||
export async function getMetalList() {
|
||||
return http.get("/common/getMetalList")
|
||||
return http.get('/common/getMetalList')
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**首页-汇率列表
|
||||
* http://127.0.0.1:8811/openApi/rate/homePage
|
||||
*/
|
||||
|
|
@ -1076,9 +1062,6 @@ export async function marketPreADD(data: any){
|
|||
return http.post(`/marketPre/add`, data)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**不良情报-添加
|
||||
*
|
||||
* http://127.0.0.1:8811/openApi/quality/badartAdd
|
||||
|
|
@ -1138,7 +1121,6 @@ export async function badartList(){
|
|||
return http.get(`/quality/badartList?pageNum=1&pageSize=1000`)
|
||||
}
|
||||
|
||||
|
||||
/**外部优质情报-列表
|
||||
* http://127.0.0.1:8811/openApi/quality/highList?pageNum=1
|
||||
*/
|
||||
|
|
@ -1169,8 +1151,6 @@ export async function topStat(){
|
|||
return http.get(`/quality/topStat`)
|
||||
}
|
||||
|
||||
|
||||
|
||||
// DATABASE
|
||||
/**添加分类
|
||||
* http://127.0.0.1:8811/openApi/db/cateAdd
|
||||
|
|
@ -1194,7 +1174,6 @@ export async function treeDbList(params: any){
|
|||
return http.get(`/db/treeList`, { params })
|
||||
}
|
||||
|
||||
|
||||
/**分类详情
|
||||
* http://127.0.0.1:8811/openApi/db/cateInfo?id=1
|
||||
*/
|
||||
|
|
@ -1202,7 +1181,6 @@ export async function cateInfo(params: any){
|
|||
return http.get(`/db/cateInfo`, { params })
|
||||
}
|
||||
|
||||
|
||||
/**分类删除
|
||||
* http://127.0.0.1:8811/openApi/db/cateDel?id=1
|
||||
*/
|
||||
|
|
@ -1237,9 +1215,9 @@ export async function cateFileList(params: any){
|
|||
*/
|
||||
export async function download(params: any) {
|
||||
return http({
|
||||
method: "get",
|
||||
url: "/db/download?id=" +params.id,
|
||||
responseType: "arraybuffer"
|
||||
method: 'get',
|
||||
url: '/db/download?id=' + params.id,
|
||||
responseType: 'arraybuffer'
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -1376,8 +1354,15 @@ export async function fetchUpdateHis(data?: any){
|
|||
return http.post(`/market/updateHis`, data)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 获取有权限的分类节点 https://console-docs.apipost.cn/preview/9ac14c51f96ce4d8/75274687248efb1c?target_id=a11153dc-ab84-41ca-aa1c-45fda68c4156
|
||||
*/
|
||||
export async function fetchReviewAuthCateList(params?: any) {
|
||||
return http.get(`/db/getReviewAuthCateList`, { params })
|
||||
}
|
||||
/**
|
||||
* 外部系统-统计列表 https://console-docs.apipost.cn/preview/9ac14c51f96ce4d8/75274687248efb1c?target_id=a11153dc-ab84-41ca-aa1c-45fda68c4156
|
||||
*/
|
||||
export async function fetchmoduleStatExternalPage(params?: any) {
|
||||
return http.get(`/moduleStat/externalPage`, { params })
|
||||
}
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 796 B After Width: | Height: | Size: 796 B |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 1012 B After Width: | Height: | Size: 1012 B |
|
Before Width: | Height: | Size: 771 B After Width: | Height: | Size: 771 B |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1002 B After Width: | Height: | Size: 1002 B |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 1021 B After Width: | Height: | Size: 1021 B |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 975 B After Width: | Height: | Size: 975 B |
|
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
|
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
|
Before Width: | Height: | Size: 537 KiB After Width: | Height: | Size: 537 KiB |
|
Before Width: | Height: | Size: 704 KiB After Width: | Height: | Size: 704 KiB |
|
Before Width: | Height: | Size: 499 KiB After Width: | Height: | Size: 499 KiB |
|
Before Width: | Height: | Size: 620 B After Width: | Height: | Size: 620 B |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 582 B After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 508 B After Width: | Height: | Size: 508 B |
|
Before Width: | Height: | Size: 503 B After Width: | Height: | Size: 503 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 403 B |
|
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 393 B |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 140 KiB |
|
Before Width: | Height: | Size: 424 KiB After Width: | Height: | Size: 424 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 523 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 794 B After Width: | Height: | Size: 794 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
|
Before Width: | Height: | Size: 613 B After Width: | Height: | Size: 613 B |
|
Before Width: | Height: | Size: 610 B After Width: | Height: | Size: 610 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 890 B |
|
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 655 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 838 B |
|
Before Width: | Height: | Size: 687 B After Width: | Height: | Size: 687 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 159 KiB After Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 552 KiB After Width: | Height: | Size: 552 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 360 KiB After Width: | Height: | Size: 360 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 506 B |
|
Before Width: | Height: | Size: 507 B After Width: | Height: | Size: 507 B |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |