diff --git a/dist.zip b/dist.zip index 3a6a71a..111300a 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/src/api/reqIpo/ipo.ts b/src/api/reqIpo/ipo.ts index 0d8a830..c59723c 100644 --- a/src/api/reqIpo/ipo.ts +++ b/src/api/reqIpo/ipo.ts @@ -10,7 +10,8 @@ enum Api { offeringsUrl="/api/ipo/refdata/offering", EventData="/api/ipos/listingData", TypeofList="/api/ipo/refdata/typeOfListing", - searchUrl="/api/ipo/refdata/search" + searchUrl="/api/ipo/refdata/search", + selectUrl="/api/ipo/refdata/filter" } //获取ipo详情页的数据 export const getIpo = (ipoID:string) => { @@ -36,4 +37,45 @@ export const getTypeofListing = (ipoID:string) => { export const getSearchListing = (keyword:string) => { return request.get(Api.searchUrl+`?keyword=${keyword}`); }; +type selectObj={ + status?:string|string[] + tradeCurrency?:string|string[] + offerType?:string|string[] + listSecurities?:string|string[] + IPOs?:string|string[] + listPlatform?:string|string[] + +} +// export const getSelectList = (body:selectObj) => { +// // return request.get(Api.searchUrl,{body}); +// const {status,tradeCurrency,offerType,listSecurities,IPOs,listPlatform}=body; +// var requestData='?' +// if(status){ +// requestData+=`status=${status}&` +// } +// if(tradeCurrency){ +// requestData+=`tradeCurrency=${status}&` +// } +// if(offerType){ +// requestData+=`offerType=${offerType}&` +// } +// if(listSecurities){ +// requestData+=`listSecurities=${listSecurities}&` +// } +// if(IPOs){ +// requestData+=`IPOs=${IPOs}&` +// } +// if(listPlatform){ +// requestData+=`listPlatform=${listPlatform}&` +// } +// requestData=requestData.substring(0, requestData.length - 1); + +// return request.get(Api.searchUrl+requestData); +// }; +export const getSelectList = (body:selectObj) => { + // const {Status}=body; + const status=body.status; + // var obj=JSON.stringify({status}) + return request.post(Api.selectUrl,body); +}; \ No newline at end of file diff --git a/src/locales/en.ts b/src/locales/en.ts index 32282f5..06e352c 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -30,7 +30,10 @@ export default { ListingType:'Listing Type', APPLY:'Apply', Cancel:'Cancel' - } + }, + HongKongDollar:'Hong Kong Dollar', + ChineseYuan:'Chinese Yuan', + UnitedStatesDollar:'United States Dollar' }, dashboard:{ Home:'Home', diff --git a/src/locales/zh-cn.ts b/src/locales/zh-cn.ts index 9c45e7d..36955d6 100644 --- a/src/locales/zh-cn.ts +++ b/src/locales/zh-cn.ts @@ -30,7 +30,10 @@ export default { ListingType:'上市类型', APPLY:'提交', Cancel:'取消' - } + }, + HongKongDollar:'港元', + ChineseYuan:'人民币', + UnitedStatesDollar:'美元' }, dashboard:{ Home:'主页', diff --git a/src/locales/zh-ct.ts b/src/locales/zh-ct.ts index cf2c226..709fe48 100644 --- a/src/locales/zh-ct.ts +++ b/src/locales/zh-ct.ts @@ -30,7 +30,10 @@ export default { ListingType:'上市類型', APPLY:'提交', Cancel:'取消' - } + }, + HongKongDollar:'港元', + ChineseYuan:'人民幣', + UnitedStatesDollar:'美元' }, dashboard:{ Home:'主頁', diff --git a/src/main.ts b/src/main.ts index 3cd12c1..ebcc913 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,7 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) { app.component(key, component) } app.config.warnHandler = (msg, instance, trace) => {} -app.config.errorHandler = (msg, instance, trace) => {}//错误捕获,不报给浏览器 +// app.config.errorHandler = (msg, instance, trace) => {}//错误捕获,不报给浏览器 app // .use(pinia) .use(router) diff --git a/src/views/dashBoard/image1/index.vue b/src/views/dashBoard/image1/index.vue index ebd3f11..eb91cc7 100644 --- a/src/views/dashBoard/image1/index.vue +++ b/src/views/dashBoard/image1/index.vue @@ -1,79 +1,87 @@ - - - + + - \ No newline at end of file + checkImgExists(props.src) + },1000) + }) + onMounted(()=>{ + setTimeout(()=>{ + checkImgExists(props.src) + },1000) + }) + + + + \ No newline at end of file diff --git a/src/views/login/components/Main.vue b/src/views/login/components/Main.vue index 3381d0f..0986c34 100644 --- a/src/views/login/components/Main.vue +++ b/src/views/login/components/Main.vue @@ -44,7 +44,7 @@ export default { - - + + - \ No newline at end of file + checkImgExists(props.src) + },1000) + }) + onMounted(()=>{ + setTimeout(()=>{ + checkImgExists(props.src) + },1000) + }) + + + + \ No newline at end of file diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 8b9b2fe..d7aee8e 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -12,8 +12,11 @@
+ + clearable class="inline-input w-50" @select="handleSelect" @keyup.enter="handleSelect" + :enterkeyhint="'search'" + >