| | |
| | | icon="el-icon-refresh" |
| | | type="info" |
| | | size="small" |
| | | >{{ $t("common.reset") }}</el-button |
| | | >{{ $t("common.reset") }} |
| | | </el-button |
| | | > |
| | | </el-form-item> |
| | | <el-form-item> |
| | |
| | | icon="el-icon-search" |
| | | class="primary" |
| | | size="small" |
| | | >{{ $t("common.iquery") }}</el-button |
| | | >{{ $t("common.iquery") }} |
| | | </el-button |
| | | > |
| | | </el-form-item> |
| | | <el-form-item v-if="btnStatus.delete"> |
| | |
| | | size="small" |
| | | @click="deleteMetaInfo" |
| | | icon="el-icon-delete" |
| | | >{{ $t("common.delete") }}</el-button |
| | | >{{ $t("common.delete") }} |
| | | </el-button |
| | | > |
| | | </el-form-item> |
| | | <el-form-item v-if="btnStatus.download"> |
| | |
| | | icon="el-icon-download" |
| | | type="success" |
| | | size="small" |
| | | >{{ $t("common.download") }}</el-button |
| | | >{{ $t("common.download") }} |
| | | </el-button |
| | | > |
| | | </el-form-item> |
| | | </div> |
| | |
| | | type="primary" |
| | | plain |
| | | size="small" |
| | | >{{ $t("common.details") }}</el-button |
| | | >{{ $t("common.details") }} |
| | | </el-button |
| | | > |
| | | <el-button |
| | | type="warning" |
| | |
| | | v-if="btnStatus.update" |
| | | @click="editInfo(scope.row)" |
| | | style="margin-left: 10px" |
| | | >{{ $t("common.edit") }}</el-button |
| | | >{{ $t("common.edit") }} |
| | | </el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | |
| | | <div v-if="behavior == '修改信息'" slot="footer" class="dialog-footer"> |
| | | <el-button size="small" @click="cancelEdit()">{{ |
| | | $t("common.reset") |
| | | }}</el-button> |
| | | }} |
| | | </el-button> |
| | | <el-button |
| | | size="small" |
| | | type="primary" |
| | | @click="sendEdit('editForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t("common.submit") }}</el-button |
| | | >{{ $t("common.submit") }} |
| | | </el-button |
| | | > |
| | | </div> |
| | | <div v-else slot="footer" class="dialog-footer"> |
| | | <el-button size="small" @click="cancelAdd('editForm')">{{ |
| | | $t("common.reset") |
| | | }}</el-button> |
| | | }} |
| | | </el-button> |
| | | <el-button |
| | | size="small" |
| | | type="primary" |
| | | @click="sendAdd('editForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t("common.submit") }}</el-button |
| | | >{{ $t("common.submit") }} |
| | | </el-button |
| | | > |
| | | </div> |
| | | </el-dialog> |
| | |
| | | class="primary" |
| | | size="small" |
| | | @click="download('codeForm')" |
| | | >{{ $t("common.confirm") }}</el-button |
| | | >{{ $t("common.confirm") }} |
| | | </el-button |
| | | > |
| | | <el-button type="info" size="small" @click="closeDown('codeForm')">{{ |
| | | $t("common.cancel") |
| | | }}</el-button> |
| | | }} |
| | | </el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | |
| | | <el-form-item> |
| | | <el-button type="primary" size="small" @click="setSearchMetaData()" |
| | | >查询</el-button |
| | | >查询 |
| | | </el-button |
| | | > |
| | | <el-button type="info" size="small" @click="setRestMetaData()" |
| | | >重置</el-button |
| | | >重置 |
| | | </el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | import $ from "jquery"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import { |
| | | select_meta_ByPageAndCount, |
| | | // queryDataCount, |
| | | updateMeta, |
| | | deleteMeta, |
| | | insertMeta, |
| | | selectDictTab, |
| | | selectdirTab, |
| | | selectdepTab, |
| | | meta_downloadReq, |
| | | sign_getPublicKey, |
| | | meta_selectByPageForUpload, |
| | | meta_selectDownloadFile, |
| | | meta_selectFields, |
| | | meta_selectByPageForUpload, |
| | | meta_selectVerByDirid, |
| | | meta_selectPageAndCountByPid, |
| | | meta_selectVerByDirid, |
| | | select_meta_ByPageAndCount, |
| | | selectdepTab, |
| | | selectdirTab, |
| | | sign_getPublicKey, |
| | | updateMeta, |
| | | } from "../../api/api"; |
| | | |
| | | import MyBread from "../../components/MyBread.vue"; |
| | | |
| | | export default { |
| | | name: "metadataManage", |
| | | components: { MyBread }, |
| | |
| | | this.editForm = {}; |
| | | done(); |
| | | }) |
| | | .catch((_) => {}); |
| | | .catch((_) => { |
| | | }); |
| | | }, |
| | | |
| | | // 提交修改 |
| | |
| | | display: block; |
| | | margin-left: 10px; //这个用于圆点居中 |
| | | } |
| | | |
| | | .downloadBox { |
| | | position: absolute; |
| | | top: 20%; |