src/views/datamanage/metadataManage.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/datamanage/styleManage.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/datamanage/metadataManage.vue
@@ -109,7 +109,8 @@ icon="el-icon-refresh" type="info" size="small" >{{ $t("common.reset") }}</el-button >{{ $t("common.reset") }} </el-button > </el-form-item> <el-form-item> @@ -118,7 +119,8 @@ 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"> @@ -127,7 +129,8 @@ 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"> @@ -136,7 +139,8 @@ icon="el-icon-download" type="success" size="small" >{{ $t("common.download") }}</el-button >{{ $t("common.download") }} </el-button > </el-form-item> </div> @@ -263,7 +267,8 @@ type="primary" plain size="small" >{{ $t("common.details") }}</el-button >{{ $t("common.details") }} </el-button > <el-button type="warning" @@ -272,7 +277,8 @@ 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> @@ -449,25 +455,29 @@ <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> @@ -541,11 +551,13 @@ 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> @@ -562,10 +574,12 @@ <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> @@ -663,24 +677,23 @@ 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 }, @@ -1278,7 +1291,8 @@ this.editForm = {}; done(); }) .catch((_) => {}); .catch((_) => { }); }, // 提交修改 @@ -1417,6 +1431,7 @@ display: block; margin-left: 10px; //这个用于圆点居中 } .downloadBox { position: absolute; top: 20%; src/views/datamanage/styleManage.vue
@@ -33,26 +33,30 @@ icon="el-icon-edit" type="success" size="small" >{{ $t('common.append') }}</el-button> >{{ $t('common.append') }} </el-button> <el-button v-if="btnStatus.delete" @click="delStyleData" icon="el-icon-delete" type="danger" size="small" >{{ $t('common.delete') }}</el-button> >{{ $t('common.delete') }} </el-button> <el-button @click="submitForm('ruleForm')" icon="el-icon-search" type="primary" size="small" >{{ $t('common.iquery') }}</el-button> >{{ $t('common.iquery') }} </el-button> <el-button @click="resetForm('ruleForm')" icon="el-icon-refresh" type="info" size="small" >{{ $t('common.empty') }}</el-button> >{{ $t('common.empty') }} </el-button> </el-form-item> </div> </div> @@ -139,13 +143,15 @@ type="primary" plain size="small" >{{ $t('common.see') }}</el-button> >{{ $t('common.see') }} </el-button> <el-button @click="handleEdit(scope.$index, scope.row)" type="warning" plain size="small" >{{ $t('common.update') }}</el-button> >{{ $t('common.update') }} </el-button> </template> </el-table-column> </el-table> @@ -463,13 +469,15 @@ size="small" :underline="false" @click="geteditFile(0)" >选择</el-button> >选择 </el-button> <el-button type="primary" size="small" :underline="false" @click="seteditFile(0)" >上传</el-button> >上传 </el-button> </div> </div> <!-- --> @@ -515,13 +523,15 @@ size="small" :underline="false" @click="geteditFile(1)" >选择</el-button> >选择 </el-button> <el-button type="primary" size="small" :underline="false" @click="seteditFile(1)" >上传</el-button> >上传 </el-button> </div> </div> <!-- @@ -558,12 +568,14 @@ type="info" size="small" @click="removeUpdate" >{{$t('common.close')}}</el-button> >{{ $t('common.close') }} </el-button> <el-button type="primary" @click="updateForm" size="small" >{{$t('common.confirm')}}</el-button> >{{ $t('common.confirm') }} </el-button> </div> </el-dialog> <el-dialog @@ -760,13 +772,15 @@ size="small" :underline="false" @click="getInsertFile(0)" >选择</el-button> >选择 </el-button> <el-button type="primary" size="small" :underline="false" @click="setinsertFile(0)" >上传</el-button> >上传 </el-button> </div> </div> <!-- @@ -811,13 +825,15 @@ size="small" :underline="false" @click="getInsertFile(1)" >选择</el-button> >选择 </el-button> <el-button type="primary" size="small" :underline="false" @click="setinsertFile(1)" >上传</el-button> >上传 </el-button> </div> </div> @@ -853,12 +869,14 @@ type="info" size="small" @click="insertFromDataClose" >{{$t('common.close')}}</el-button> >{{ $t('common.close') }} </el-button> <el-button type="primary" size="small" @click="insertFromData" >{{$t('common.confirm')}}</el-button> >{{ $t('common.confirm') }} </el-button> </div> </el-dialog> <div @@ -875,14 +893,16 @@ @click="selectDirCataName" >{{ $t('common.confirm') }}</el-button> }} </el-button> <el-button type="info" size="small" @click="showDirCata = false" >{{ $t('common.close') }}</el-button> }} </el-button> </div> </div> <div @@ -899,14 +919,16 @@ @click="selectDepCataName" >{{ $t('common.confirm') }}</el-button> }} </el-button> <el-button type="info" size="small" @click="showDepCata = false" >{{ $t('common.close') }}</el-button> }} </el-button> </div> </div> </div> @@ -928,6 +950,7 @@ queryDepTree, selectdirTab, } from "../../api/api"; export default { name: "styleManage", components: { MyBread, styleDirTree, styleDepTree }, @@ -1558,7 +1581,8 @@ }); this.startFromData(); }) .catch(() => {}); .catch(() => { }); }, // 获取多选 @@ -1670,10 +1694,12 @@ .el-form-item { margin: 5px; } // .el-input { // width: 467px; // } } .leftTree { position: absolute; z-index: 10; @@ -1687,6 +1713,7 @@ height: 550px; overflow: auto; } .btnBox { width: 160px; margin: 10px auto 0; @@ -1697,6 +1724,7 @@ display: flex; justify-content: space-around; width: 85%; .BoxFlexinput { flex: 1; }