1 line
7.6 KiB
JavaScript
1 line
7.6 KiB
JavaScript
|
|
"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[90],{329:function(e,t,i){i.d(t,{Z:function(){return p}});var a=i(6252),o=i(9963);const s=(0,a._)("span",{class:"icon iconfont icon-guanbi"},null,-1),n=[s],l={class:"history_detail_content scroll_style"},r={class:"history_img_item"},c=["src"];function h(e,t,i,s,h,u){const m=(0,a.up)("a-modal");return(0,a.wg)(),(0,a.j4)(m,{class:"hsitory_detail_modal_component",visible:e.hsitoryDetailShow,"onUpdate:visible":t[1]||(t[1]=t=>e.hsitoryDetailShow=t),footer:null,title:e.collectionName,width:"80%",maskClosable:!1,keyboard:!1,centered:!0},{closeIcon:(0,a.w5)((()=>[(0,a._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,o.iM)((t=>e.changeDetailShow()),["stop"]))},n)])),default:(0,a.w5)((()=>[(0,a._)("div",l,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.groupDetails,(e=>((0,a.wg)(),(0,a.iD)("div",{class:"history_img_block",key:e},[(0,a._)("div",r,[(0,a._)("img",{class:"element_img",src:e.url},null,8,c)])])))),128))])])),_:1},8,["visible","title"])}var u=(0,a.aZ)({props:{groupDetails:{default:{}},collectionName:{default:""}},setup(){},data(){return{hsitoryDetailShow:!1}},methods:{changeDetailShow(){this.hsitoryDetailShow=!this.hsitoryDetailShow}}}),m=i(3744);const d=(0,m.Z)(u,[["render",h]]);var p=d},1090:function(e,t,i){i.r(t),i.d(t,{default:function(){return M}});var a=i(6252),o=i(3577),s=i(9963),n=i(5328);const l={class:"history_page"},r={class:"page_content"},c=(0,a._)("img",{class:"page_content_bg",src:n},null,-1),h={class:"page_content_body"},u={class:"history_page_body"},m={class:"history_header"},d={class:"history_table_search"},p=(0,a._)("span",{class:"icon iconfont range_picker_icon icon-rili"},null,-1),g={class:"content_search_block"},_=["placeholder"],y=(0,a._)("span",{class:"icon iconfont icon-sousuo"},null,-1),D=[y],k={class:"history_table_content",ref:"historyTable"},v={key:0,class:"operate_list"},w=["onClick"],C=["onClick"],H=["onClick"],P=["onClick"],b={class:"collection_rename_content"},f={class:"rename_form_content"},N=["placeholder"];function V(e,t,i,n,y,V){const T=(0,a.up)("HeaderComponent"),S=(0,a.up)("a-range-picker"),x=(0,a.up)("a-table"),Z=(0,a.up)("HistoryDetail"),z=(0,a.up)("a-modal"),L=(0,a.up)("RobotAssist");return(0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",r,[c,(0,a._)("div",h,[(0,a.Wm)(T),(0,a._)("div",u,[(0,a._)("div",m,(0,o.zw)(e.$t("HistoryPage.History")),1),(0,a._)("div",d,[(0,a.Wm)(S,{class:"range_picker",value:e.rangePickerValue,"onUpdate:value":t[0]||(t[0]=t=>e.rangePickerValue=t),placeholder:[e.$t("HistoryPage.StartDate"),e.$t("HistoryPage.EndDate")],valueFormat:"YYYY-MM-DD"},{suffixIcon:(0,a.w5)((()=>[p])),_:1},8,["value","placeholder"]),(0,a._)("div",g,[(0,a.wy)((0,a._)("input",{class:"search_input",placeholder:e.$t("HistoryPage.inputContent1"),"onUpdate:modelValue":t[1]||(t[1]=t=>e.searchCollectionName=t),onKeydown:t[2]||(t[2]=(0,s.D2)((t=>e.searchHistoryList()),["enter"]))},null,40,_),[[s.nr,e.searchCollectionName]]),(0,a._)("div",{class:"search_icon_block",onClick:t[3]||(t[3]=t=>e.searchHistoryList())},D)])]),(0,a._)("div",k,[(0,a.Wm)(x,{columns:e.columns,"data-source":e.collectionList,scroll:{y:e.historyTableHeight},onChange:e.changePage,pagination:{showSizeChanger:!0,current:e.currentPage,pageSize:e.pageSize,total:e.total,showQuickJumper:!0,bordered:!1}},{bodyCell:(0,a.w5)((({column:t,text:i,record:s,index:n})=>[t?.Operations?((0,a.wg)(),(0,a.iD)("div",v,[(0,a._)("div",{class:"operate_item",onClick:t=>e.turnToDetail(s)},(0,o.zw)(e.$t("HistoryPage.Detail")),9,w),(0,a._)("div",{class:"operate_item",onClick:t=>e.renameCollection(s,n)},(0,o.zw)(e.$t("HistoryPage.Rename")),9,C),(0,a._)("div",{class:"operate_item",onClick:t=>e.retrieveHome(s)},(0,o.zw)(e.$t("HistoryPage.Retrieve")),9,H),(0,a._)("div",{class:"operate_item",onClick:t=>e.deleteGroup(s,n)},(0,o.zw)(e.$t("HistoryPage.Delete")),9,P)])):(0,a.kq)("",!0)])),_:1},8,["columns","data-source","scroll","onChange","pagination"])],512)])])]),(0,a.Wm)(Z,{ref:"historyDetail",groupDetails:e.groupDetails,collectionName:e.collectionName},null,8,["groupDetails","collectionNa
|