You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
8.6 KiB
1 line
8.6 KiB
4 months ago
|
"use strict";(self["webpackChunkagile_portal_front"]=self["webpackChunkagile_portal_front"]||[]).push([[479],{35479:(e,t,a)=>{a.r(t),a.d(t,{default:()=>p});var l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"lab-apply"},[t("div",{staticClass:"btn-group",staticStyle:{"text-align":"right","margin-bottom":"10px"}},[t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.handleImport}},[e._v("新增")])],1),t("div",{staticClass:"tale-list"},[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"min-height":"355px","max-height":"500px"},attrs:{stripe:"",data:e.myLablyList,"max-height":"500px"}},[t("div",{staticStyle:{"text-align":"left"},attrs:{slot:"empty"},slot:"empty"},[t("el-empty",{attrs:{description:"暂无数据"}})],1),t("el-table-column",{attrs:{align:"center",label:"文件名称",prop:"fileName","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{align:"center",label:"上传时间",prop:"createTime","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{align:"center",label:"文件大小",prop:"fileSize","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(e.convertFileSize(a.row.fileSize)))])]}}])}),t("el-table-column",{attrs:{align:"center",label:"文件说明",prop:"remarks","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{align:"center",label:"文件类型",prop:"fileType","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s("data"==a.row.fileType?"数据文件":"python组件"))])]}}])}),t("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(a){return["01"!=a.row.reviewStatus?t("el-button",{attrs:{size:"small",type:"text"},on:{click:function(t){return e.handleDelete(a.row)}}},[e._v("删除")]):e._e()]}}])})],1)],1),t("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),t("el-dialog",{attrs:{title:e.upload.title,visible:e.upload.open,width:"500px","append-to-body":"","close-on-click-modal":!1,"close-on-press-escape":!1},on:{"update:visible":function(t){return e.$set(e.upload,"open",t)}}},[t("el-form",{ref:"uploadform",attrs:{model:e.upload,rules:e.uploadrules,"label-width":"80px"}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"组件类型",prop:"upData.fileType"}},[t("el-select",{attrs:{placeholder:"请选择组件类型"},on:{change:e.fileTypefn},model:{value:e.upload.upData.fileType,callback:function(t){e.$set(e.upload.upData,"fileType",t)},expression:"upload.upData.fileType"}},e._l(e.fileTypeList,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"内容说明",prop:"upData.remarks"}},[t("el-input",{attrs:{type:"textarea",placeholder:"请输入内容说明"},model:{value:e.upload.upData.remarks,callback:function(t){e.$set(e.upload.upData,"remarks",t)},expression:"upload.upData.remarks"}})],1)],1)],1)],1),t("el-upload",{ref:"upload",staticStyle:{"text-align":"center"},attrs:{limit:1,accept:e.upload.accept,headers:e.upload.headers,action:"",disabled:e.upload.isUploading,"on-change":e.beforeUpload,"on-success":e.handleFileSuccess,"auto-upload":!1,"http-request":e.uploadSectionFile,"on-remove":e.removeFile,drag:""}},[t("i",{staticClass:"el-icon-upload"}),t("div",{staticClass:"el-upload__text"},[e._v("将文件拖到此处,或"),t("em",[e._v("点击上传")])])]),t("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.submitFileForm}},[e._v("确 定")]),t("el-button",{on:{click:function(t){e.upload.open=!1}}},[e._v("取 消")])],1)],1)],1)},o=[
|