| | |
| | | <el-divider /> |
| | | <div class="mainBox"> |
| | | |
| | | <div |
| | | class="cataLogContent leftTree subpage_Div" |
| | | style="border: 1px solid #dcdfe6;" |
| | | > |
| | | <div class="cataLogContent leftTree subpage_Div" |
| | | style="border: 1px solid #dcdfe6;"> |
| | | <div style="min-width: 450px"> |
| | | <el-tree |
| | | ref="tree" |
| | | <el-tree ref="tree" |
| | | :props="defaultProps" |
| | | node-key="id" |
| | | :data="dirList" |
| | |
| | | :expand-on-click-node="false" |
| | | :default-expanded-keys="expandData" |
| | | @node-click="handleNodeClick" |
| | | @node-contextmenu="openTreeMenu" |
| | | > |
| | | @node-contextmenu="openTreeMenu"> |
| | | </el-tree> |
| | | <div |
| | | class="right_menu box_divm" |
| | | <div class="right_menu box_divm" |
| | | id="menu" |
| | | v-show="showRightMenu" |
| | | > |
| | | v-show="showRightMenu"> |
| | | <ul> |
| | | <li @click="setMenuDataCopy">复制</li> |
| | | <li @click="setMenuDataPaste">粘贴</li> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="cataLog_rightContent right subpage_Div"> |
| | | <div |
| | | class="inquire" |
| | | <div class="inquire" |
| | | style=" |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | " |
| | | > |
| | | "> |
| | | <el-breadcrumb separator="/"> |
| | | <el-breadcrumb-item :to="{ path: '/' }">{{ |
| | | |
| | |
| | | </el-breadcrumb> |
| | | <div style="margin-right: -5px"> |
| | | <div class="menuTop"> |
| | | <el-form |
| | | :inline="true" |
| | | class="demo-form-inline" |
| | | > |
| | | <el-form :inline="true" |
| | | class="demo-form-inline"> |
| | | <el-form-item> |
| | | |
| | | <el-button |
| | | v-show="directoryFlag" |
| | | <el-button v-show="directoryFlag" |
| | | icon="el-icon-download" |
| | | type="info" |
| | | size="small" |
| | | @click="setDirectoryDownload" |
| | | >{{ $t("shuJuGuanLi.butten.folderDownload") }}</el-button> |
| | | @click="setDirectoryDownload">{{ $t("shuJuGuanLi.butten.folderDownload") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | |
| | | <el-button |
| | | icon="el-icon-download" |
| | | <el-button icon="el-icon-download" |
| | | type="info" |
| | | size="small" |
| | | @click="setTemplateDownload" |
| | | >{{ $t("shuJuGuanLi.butten.templateDownload") }}</el-button> |
| | | @click="setTemplateDownload">{{ $t("shuJuGuanLi.butten.templateDownload") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-upload |
| | | action |
| | | <el-upload action |
| | | accept=".xlsx, .xls" |
| | | :auto-upload="false" |
| | | :show-file-list="false" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | > |
| | | <el-button |
| | | type="success" |
| | | :file-list="fileList"> |
| | | <el-button type="success" |
| | | icon="el-icon-plus" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.uploads") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.uploads") }}</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.insert" |
| | | <el-button v-if="menuStatus.insert" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setNewNode(1)" |
| | | type="success" |
| | | icon="el-icon-plus" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.NewPeer") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.NewPeer") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.insert" |
| | | <el-button v-if="menuStatus.insert" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setNewNode(2)" |
| | | type="success" |
| | | icon="el-icon-plus" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.AddChild") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.AddChild") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.delete" |
| | | <el-button v-if="menuStatus.delete" |
| | | @click="setDelNode()" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | type="danger" |
| | | icon="el-icon-delete" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.Delete") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.Delete") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | <el-button v-if="menuStatus.update" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setEditNode(1)" |
| | | type="info" |
| | | icon="el-icon-top" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.MoveUp") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.MoveUp") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | <el-button v-if="menuStatus.update" |
| | | :disabled="itemdetail.pid == null ? true : false" |
| | | @click="setEditNode(2)" |
| | | type="info" |
| | | icon="el-icon-bottom" |
| | | size="small" |
| | | >{{ $t("shuJuGuanLi.butten.MoveDown") }}</el-button> |
| | | size="small">{{ $t("shuJuGuanLi.butten.MoveDown") }}</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="dividing-line"></div> |
| | | |
| | | <el-form |
| | | :model="itemdetail" |
| | | <el-form :model="itemdetail" |
| | | ref="itemdetail" |
| | | :rules="rules" |
| | | style="position: relative; padding-top: 18px" |
| | | > |
| | | <el-form-item |
| | | prop="name" |
| | | style="position: relative; padding-top: 18px"> |
| | | <el-form-item prop="name" |
| | | :label="$t('dataManage.dataUpObj.name')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.name" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.name" |
| | | size="small" |
| | | style=" max-width: 420px" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueName')" |
| | | clearable |
| | | /> |
| | | clearable /> |
| | | <!-- style="max-width: 400px"--> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.explain')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.descr" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.explain')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.descr" |
| | | type="textarea" |
| | | style=" max-width: 420px" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexplain')" |
| | | clearable |
| | | /> |
| | | clearable /> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-select |
| | | style="width: 420px" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | | :label-width="formLabelWidth"> |
| | | <el-select style="width: 420px" |
| | | v-model="itemdetail.checks" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexamine')" |
| | | multiple |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | multiple> |
| | | <el-option v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | <!-- <el-input |
| | |
| | | <!-- resize="none"--> |
| | | <!-- style="height: 100%; overflow: auto; max-width: 400px"--> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.fileExtension')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.exts" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.fileExtension')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.exts" |
| | | type="textarea" |
| | | style=" max-width: 420px" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuesuffix')" |
| | | clearable |
| | | /> |
| | | clearable /> |
| | | </el-form-item> |
| | | <!-- <el-form-item |
| | | :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | |
| | | style="height: 100%; overflow: auto; max-width: 400px" |
| | | /> |
| | | </el-form-item>--> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.code')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="itemdetail.code" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.code')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="itemdetail.code" |
| | | disabled |
| | | type="textarea" |
| | | style=" max-width: 420px" |
| | | autosize |
| | | /> |
| | | autosize /> |
| | | </el-form-item> |
| | | <!-- <el-form-item |
| | | :label="$t('dataManage.dataUpObj.catalogRemarks')" |
| | |
| | | > |
| | | </div>--> |
| | | </el-form> |
| | | <div |
| | | slot="footer" |
| | | <div slot="footer" |
| | | class="dialog-footer" |
| | | style="padding-left: 45% ;padding-top: 20px" |
| | | > |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | style="padding-left: 45% ;padding-top: 20px"> |
| | | <el-button v-if="menuStatus.update" |
| | | type="primary" |
| | | size="small" |
| | | @click="updCata('itemdetail')" |
| | | >{{ $t("common.preservation") }}</el-button> |
| | | <el-button |
| | | v-if="menuStatus.update" |
| | | @click="updCata('itemdetail')">{{ $t("common.preservation") }}</el-button> |
| | | <el-button v-if="menuStatus.update" |
| | | size="small" |
| | | @click="reset" |
| | | >{{ $t("common.cancel") }}</el-button> |
| | | @click="reset">{{ $t("common.cancel") }}</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | </div> --> |
| | | <!-- </div> --> |
| | | <el-dialog |
| | | :title="$t('dataManage.dataUpObj.newDirectory')" |
| | | <el-dialog :title="$t('dataManage.dataUpObj.newDirectory')" |
| | | :visible.sync="dialogFormVisible" |
| | | :before-close="handleClose" |
| | | > |
| | | <el-form |
| | | :model="ruleForm" |
| | | :before-close="handleClose"> |
| | | <el-form :model="ruleForm" |
| | | ref="ruleForm" |
| | | :rules="rules" |
| | | > |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.name')" |
| | | :rules="rules"> |
| | | <el-form-item :label="$t('dataManage.dataUpObj.name')" |
| | | prop="name" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.name" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.name" |
| | | autocomplete="off" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueName')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueName')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.explain')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.descr" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.explain')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.descr" |
| | | autocomplete="off" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexplain')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexplain')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.fileExtension')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.exts" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.fileExtension')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.exts" |
| | | type="textarea" |
| | | resize="none" |
| | | style="height: 100%; overflow: auto" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuesuffix')" |
| | | /> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valuesuffix')" /> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-form-item :label="$t('dataManage.dataUpObj.inspectionItems')" |
| | | :label-width="formLabelWidth"> |
| | | <!-- <el-input |
| | | |
| | | type="textarea" |
| | | resize="none" |
| | | |
| | | /> --> |
| | | <el-select |
| | | v-model="ruleForm.checks" |
| | | <el-select v-model="ruleForm.checks" |
| | | multiple |
| | | style="width:100%;" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexamine')" |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueexamine')"> |
| | | <el-option v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.code')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.code" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.code')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.code" |
| | | disabled |
| | | type="textarea" |
| | | resize="none" |
| | | style="height: 100%; overflow: auto" |
| | | /> |
| | | style="height: 100%; overflow: auto" /> |
| | | </el-form-item> |
| | | <el-form-item |
| | | :label="$t('dataManage.dataUpObj.Remarks')" |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.bak" |
| | | <el-form-item :label="$t('dataManage.dataUpObj.Remarks')" |
| | | :label-width="formLabelWidth"> |
| | | <el-input v-model="ruleForm.bak" |
| | | autocomplete="off" |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueRemarks')" |
| | | ></el-input> |
| | | :placeholder="$t('shuJuGuanLi.shuJuJianSuo.valueRemarks')"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <div slot="footer" |
| | | class="dialog-footer"> |
| | | <el-button @click="resetForm('ruleForm')">{{ |
| | | $t("common.cancel") |
| | | }}</el-button> |
| | | <el-button |
| | | class="primary" |
| | | <el-button class="primary" |
| | | @click="submitForm('ruleForm')" |
| | | v-loading.fullscreen.lock="fullscreenLoading" |
| | | >{{ $t("common.preservation") }}</el-button> |
| | | v-loading.fullscreen.lock="fullscreenLoading">{{ $t("common.preservation") }}</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <iframe |
| | | id="Iframe1" |
| | | <iframe id="Iframe1" |
| | | src="" |
| | | style="display: none; border: 0; padding: 0; height: 0; width: 0" |
| | | ></iframe> |
| | | <div |
| | | class="loadBox" |
| | | v-if="loadDialogVisible" |
| | | > |
| | | style="display: none; border: 0; padding: 0; height: 0; width: 0"></iframe> |
| | | <div class="loadBox" |
| | | v-if="loadDialogVisible"> |
| | | <div style="widht:100%; margin:20px; color:white"> |
| | | <div style="margin-left:99%"> |
| | | <!-- <el-link |
| | |
| | | > X</el-link> --> |
| | | </div> |
| | | </div> |
| | | <div |
| | | v-loading="true" |
| | | <div v-loading="true" |
| | | element-loading-background="rgba(0, 0, 0, 0.0) " |
| | | element-loading-text="目录上传中,请等待..." |
| | | style="margin: 0px 20px;widht:100%;height:calc(100% - 80px); " |
| | | > |
| | | style="margin: 0px 20px;widht:100%;height:calc(100% - 80px); "> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <style lang="less" scoped> |
| | | .subpage_Box { |
| | | //height: 96%; |
| | | width: 98%; |
| | | width: calc(98% - 20px); |
| | | height: calc(95% - 20px); |
| | | padding: 1%; |
| | | border-radius: 10px; |
| | | background: #f4f8ff; |
| | | margin: 10px; |
| | | // .cataLogContent { |
| | | // width: 100%; |
| | | // height: 100%; |