| | |
| | | <template> |
| | | <div class="authorityManagement_box"> |
| | | <My-bread |
| | | :list="[ |
| | | <My-bread :list="[ |
| | | `${$t('dataManage.dataManage')}`, |
| | | `${$t('dataManage.metadataManage')}`, |
| | | ]" |
| | | ></My-bread> |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <div class="inquire subpage_Div" ref="container"> |
| | | <el-form ref="queryForm" :model="queryForm" :inline="true"> |
| | | <div |
| | | class="inquire subpage_Div" |
| | | ref="container" |
| | | > |
| | | <el-form |
| | | ref="queryForm" |
| | | :model="queryForm" |
| | | :inline="true" |
| | | > |
| | | <div class="flex_box"> |
| | | <div style="margin-right: auto"> |
| | | <el-form-item size="small"> |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item prop="name" size="small"> |
| | | <el-form-item |
| | | prop="name" |
| | | size="small" |
| | | > |
| | | <!-- suffix-icon="el-icon-edit" :placeholder="$t('common.pleaseInput')"--> |
| | | <el-input |
| | | v-model="queryForm.name" |
| | | :placeholder="$t('shuJuGuanLi.lable2')" |
| | | style="width: 200px" |
| | | ><i |
| | | ><i |
| | | slot="suffix" |
| | | class="el-icon-search" |
| | | @click="queryInfo()" |
| | | style="padding-right: 8px" |
| | | ></i |
| | | ></el-input> |
| | | ></i></el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <div> |
| | |
| | | size="small" |
| | | @click="deleteMetaInfo" |
| | | icon="el-icon-delete" |
| | | >{{ $t("common.delete") }} |
| | | >{{ $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") }} |
| | | >{{ $t("common.download") }} |
| | | </el-button> |
| | | </el-form-item> |
| | | |
| | |
| | | icon="el-icon-refresh" |
| | | type="info" |
| | | size="small" |
| | | >{{ $t("common.reset") }} |
| | | >{{ $t("common.reset") }} |
| | | </el-button> |
| | | </el-form-item> |
| | | </div> |
| | |
| | | </el-form> |
| | | </div> |
| | | <div class="dividing-line"></div> |
| | | <div class="table_box subpage_Div" :style="styleVar"> |
| | | <div |
| | | class="table_box subpage_Div" |
| | | :style="styleVar" |
| | | > |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | |
| | | @selection-change="handleSelectionChange" |
| | | height="calc(100% - 57px)" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55" |
| | | /> |
| | | <el-table-column |
| | | :label="$t('dataManage.dictionaryManageObj.number')" |
| | | type="index" |
| | |
| | | title="源数据查询" |
| | | @click="setQueryMetaData(scope.row)" |
| | | target="_blank" |
| | | >{{ scope.row.name }}</el-link |
| | | > |
| | | >{{ scope.row.name }}</el-link> |
| | | </span> |
| | | <span v-else-if="scope.row.metaid > 0"> |
| | | <el-link |
| | |
| | | title="元数据查询" |
| | | @click="setMetaDataQuery(scope.row)" |
| | | target="_blank" |
| | | >{{ scope.row.name }}</el-link |
| | | ></span |
| | | > |
| | | >{{ scope.row.name }}</el-link></span> |
| | | <span v-else>{{ scope.row.name }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column prop="type" :label="$t('dataManage.vmobj.format')" /> |
| | | <el-table-column |
| | | prop="type" |
| | | :label="$t('dataManage.vmobj.format')" |
| | | /> |
| | | <el-table-column |
| | | prop="sizes" |
| | | :label="$t('dataManage.vmobj.size')" |
| | |
| | | <template slot-scope="scope"> |
| | | <!-- <span ></span> --> |
| | | <el-link></el-link> |
| | | <el-link :underline="false" @click="detail(scope.row)">{{ |
| | | <el-link |
| | | :underline="false" |
| | | @click="detail(scope.row)" |
| | | >{{ |
| | | scope.row.tab |
| | | }}</el-link> |
| | | </template> |
| | |
| | | :label="$t('dataManage.vmobj.tab')" |
| | | :formatter="formatData" |
| | | /> --> |
| | | <el-table-column prop="rows" :label="$t('dataManage.vmobj.row')" /> |
| | | <el-table-column |
| | | prop="rows" |
| | | :label="$t('dataManage.vmobj.row')" |
| | | /> |
| | | <el-table-column |
| | | prop="uname" |
| | | :label="$t('dataManage.vmobj.createonuser')" |
| | |
| | | :label="$t('dataManage.vmobj.createontime')" |
| | | :formatter="formatData" |
| | | /> |
| | | <el-table-column min-width="210" :label="$t('common.operate')"> |
| | | <el-table-column |
| | | min-width="210" |
| | | :label="$t('common.operate')" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | @click="showDetail(scope.row)" |
| | | type="primary" |
| | | plain |
| | | size="small" |
| | | >{{ $t("common.details") }} |
| | | >{{ $t("common.details") }} |
| | | </el-button> |
| | | <el-button |
| | | type="warning" |
| | |
| | | v-if="btnStatus.update" |
| | | @click="editInfo(scope.row)" |
| | | style="margin-left: 10px" |
| | | >{{ $t("common.edit") }} |
| | | >{{ $t("common.edit") }} |
| | | </el-button> |
| | | <el-button |
| | | plain |
| | |
| | | v-if="showPreview(scope.row)" |
| | | @click="handlePreview(scope.row)" |
| | | style="margin-left: 10px" |
| | | >{{ $t("common.preview") }} |
| | | >{{ $t("common.preview") }} |
| | | </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div class="pagination_box" style="margin-top: 15px"> |
| | | <div |
| | | class="pagination_box" |
| | | style="margin-top: 15px" |
| | | > |
| | | <el-pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | |
| | | </el-pagination> |
| | | </div> |
| | | </div> |
| | | <div class="infoBox_box" v-show="showinfoBox"> |
| | | <div |
| | | class="infoBox_box" |
| | | v-show="showinfoBox" |
| | | > |
| | | <div class="infoBox box_div"> |
| | | <div slot="header" class="clearfix"> |
| | | <div |
| | | slot="header" |
| | | class="clearfix" |
| | | > |
| | | <span>{{ $t("common.details") }}</span> |
| | | <div style="float: right; cursor: pointer" @click="closeDetial"> |
| | | <div |
| | | style="float: right; cursor: pointer" |
| | | @click="closeDetial" |
| | | > |
| | | <i class="el-icon-close"></i> |
| | | </div> |
| | | </div> |
| | | <el-divider></el-divider> |
| | | <div class="contentBox" style="padding: 1%"> |
| | | <div |
| | | class="contentBox" |
| | | style="padding: 1%" |
| | | > |
| | | <p>{{ $t("dataManage.vmobj.name") }}:{{ itemdetail.name }}</p> |
| | | <el-divider></el-divider> |
| | | <p>{{ $t("dataManage.vmobj.format") }}:{{ itemdetail.type }}</p> |
| | |
| | | </p> |
| | | <el-divider></el-divider> |
| | | <p> |
| | | {{ $t("dataManage.vmobj.updateonuser") }}:{{ |
| | | {{ $t("dataManage.vmobj.depName") }}:{{ |
| | | itemdetail.updateUser |
| | | }} |
| | | </p> |
| | | <el-divider></el-divider> |
| | | <p> |
| | | {{ $t("dataManage.vmobj.updateontime") }}:{{ |
| | | {{ $t("dataManage.vmobj.depName") }}:{{ |
| | | setInfoBoxTime(itemdetail.updateTime) |
| | | }} |
| | | </p> |
| | |
| | | :visible.sync="dialogFormVisible" |
| | | :before-close="handleClose" |
| | | > |
| | | <el-form :model="editForm" ref="editForm"> |
| | | <el-form |
| | | :model="editForm" |
| | | ref="editForm" |
| | | > |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.name')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.name" autocomplete="off"></el-input> |
| | | <el-input |
| | | v-model="editForm.name" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.format')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.type" autocomplete="off"></el-input> |
| | | <el-input |
| | | v-model="editForm.type" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.size')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.sizes" autocomplete="off"></el-input> |
| | | <el-input |
| | | v-model="editForm.sizes" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.vmobj.depName')" |
| | |
| | | :label="$t('dataManage.vmobj.describe')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input v-model="editForm.describe" autocomplete="off"></el-input> |
| | | <el-input |
| | | v-model="editForm.describe" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <!-- <el-form-item |
| | | :label="$t('dataManage.vmobj.gather')" |
| | |
| | | <el-input v-model="editForm.gather" autocomplete="off"></el-input> |
| | | </el-form-item> --> |
| | | </el-form> |
| | | <div v-if="behavior == '修改信息'" slot="footer" class="dialog-footer"> |
| | | <el-button size="small" @click="cancelEdit()" |
| | | >{{ $t("common.reset") }} |
| | | <div |
| | | v-if="behavior == '修改信息'" |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | size="small" |
| | | @click="cancelEdit()" |
| | | >{{ $t("common.reset") }} |
| | | </el-button> |
| | | <el-button |
| | | size="small" |
| | | type="primary" |
| | | @click="sendEdit('editForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t("common.submit") }} |
| | | >{{ $t("common.submit") }} |
| | | </el-button> |
| | | </div> |
| | | <div v-else slot="footer" class="dialog-footer"> |
| | | <el-button size="small" @click="cancelAdd('editForm')" |
| | | >{{ $t("common.reset") }} |
| | | <div |
| | | v-else |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | size="small" |
| | | @click="cancelAdd('editForm')" |
| | | >{{ $t("common.reset") }} |
| | | </el-button> |
| | | <el-button |
| | | size="small" |
| | | type="primary" |
| | | @click="sendAdd('editForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t("common.submit") }} |
| | | >{{ $t("common.submit") }} |
| | | </el-button> |
| | | </div> |
| | | </el-dialog> |
| | |
| | | align="center" |
| | | ></el-table-column> |
| | | </el-table> |
| | | <div style="margin-top: 10px" class="pagination_box"> |
| | | <div |
| | | style="margin-top: 10px" |
| | | class="pagination_box" |
| | | > |
| | | <el-pagination |
| | | @size-change="handleLoaderSizeChange" |
| | | @current-change="handleLoaderCurrentChange" |
| | |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <div class="downloadBox box_div subpage_Div" v-if="showCodeBox"> |
| | | <div |
| | | class="downloadBox box_div subpage_Div" |
| | | v-if="showCodeBox" |
| | | > |
| | | <h4 style="padding: 20px">{{ $t("common.passworld") }}</h4> |
| | | <el-form |
| | | :model="codeForm" |
| | |
| | | label-width="100px" |
| | | class="codeForm" |
| | | > |
| | | <el-form-item :label="$t('common.passworld')" prop="password"> |
| | | <el-form-item |
| | | :label="$t('common.passworld')" |
| | | prop="password" |
| | | > |
| | | <el-input |
| | | type="password" |
| | | v-model="codeForm.password" |
| | | show-password |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item :label="$t('common.SPassword')" prop="repassword"> |
| | | <el-form-item |
| | | :label="$t('common.SPassword')" |
| | | prop="repassword" |
| | | > |
| | | <el-input |
| | | type="password" |
| | | v-model="codeForm.repassword" |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button class="primary" size="small" @click="download('codeForm')" |
| | | >{{ $t("common.confirm") }} |
| | | <el-button |
| | | class="primary" |
| | | size="small" |
| | | @click="download('codeForm')" |
| | | >{{ $t("common.confirm") }} |
| | | </el-button> |
| | | <el-button type="info" size="small" @click="closeDown('codeForm')" |
| | | >{{ $t("common.cancel") }} |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="closeDown('codeForm')" |
| | | >{{ $t("common.cancel") }} |
| | | </el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | width="70%" |
| | | > |
| | | <div style="height: 65vh; width: 100%"> |
| | | <el-form :inline="true" :model="fromQueryMeta" class="demo-form-inline"> |
| | | <el-form |
| | | :inline="true" |
| | | :model="fromQueryMeta" |
| | | class="demo-form-inline" |
| | | > |
| | | <el-form-item> |
| | | <el-input size="small" v-model="fromQueryMeta.name"></el-input> |
| | | <el-input |
| | | size="small" |
| | | v-model="fromQueryMeta.name" |
| | | ></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item> |
| | | <el-button type="primary" size="small" @click="setSearchMetaData()" |
| | | >查询 |
| | | <el-button |
| | | type="primary" |
| | | size="small" |
| | | @click="setSearchMetaData()" |
| | | >查询 |
| | | </el-button> |
| | | <el-button type="info" size="small" @click="setRestMetaData()" |
| | | >重置 |
| | | <el-button |
| | | type="info" |
| | | size="small" |
| | | @click="setRestMetaData()" |
| | | >重置 |
| | | </el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | :label="$t('dataManage.dataUpObj.tableName')" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <a class="scopeRowColor" @click="detail(scope.row)">{{ |
| | | <a |
| | | class="scopeRowColor" |
| | | @click="detail(scope.row)" |
| | | >{{ |
| | | scope.row.tab |
| | | }}</a> |
| | | </template> |
| | |
| | | :label="$t('dataManage.dataUpObj.describe')" |
| | | /> |
| | | </el-table> |
| | | <div class="pagination_box" style="margin-top: 15px"> |
| | | <div |
| | | class="pagination_box" |
| | | style="margin-top: 15px" |
| | | > |
| | | <el-pagination |
| | | @size-change="handleMetaSizeChange" |
| | | @current-change="handMetaCurrentChange" |
| | |
| | | :label="$t('dataManage.dataUpObj.tableName')" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <a class="scopeRowColor" @click="detail(scope.row)">{{ |
| | | <a |
| | | class="scopeRowColor" |
| | | @click="detail(scope.row)" |
| | | >{{ |
| | | scope.row.tab |
| | | }}</a> |
| | | </template> |
| | |
| | | width="70%" |
| | | :close-on-click-modal="false" |
| | | > |
| | | <div v-if="dialog.isPdf" class="pdfClass"> |
| | | <div |
| | | v-if="dialog.isPdf" |
| | | class="pdfClass" |
| | | > |
| | | <iframe |
| | | :src="dialog.src" |
| | | type="application/x-google-chrome-pdf" |
| | |
| | | > |
| | | </iframe> |
| | | </div> |
| | | <div v-if="dialog.isJpg" class="pdfClass"> |
| | | <img style="width: 100%; height: 100%" :src="dialog.src" alt="" /> |
| | | <div |
| | | v-if="dialog.isJpg" |
| | | class="pdfClass" |
| | | > |
| | | <img |
| | | style="width: 100%; height: 100%" |
| | | :src="dialog.src" |
| | | alt="" |
| | | /> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | this.editForm = {} |
| | | done() |
| | | }) |
| | | .catch(_ => {}) |
| | | .catch(_ => { }) |
| | | }, |
| | | |
| | | // 提交修改 |