| | |
| | | <el-button icon="el-icon-plus" size="small" type="primary" @click="addHandler">创建</el-button> |
| | | <!--<el-button icon="el-icon-edit" plain size="small" type="primary" @click="editHandler">修改</el-button> |
| | | <el-button icon="el-icon-delete" plain size="small" type="danger" @click="delHandler">删除</el-button>--> |
| | | <el-button icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出</el-button> |
| | | <el-button icon="el-icon-upload2" plain size="small" type="primary" @click="upLoadClickHandler">导入</el-button> |
| | | <el-button icon="el-icon-download" plain size="small" type="primary" @click="exportClickHandler">导出 |
| | | </el-button> |
| | | <el-button icon="el-icon-upload2" plain size="small" type="primary" @click="upLoadClickHandler">导入 |
| | | </el-button> |
| | | <el-button icon="el-icon-place" plain size="small" type="primary" @click="uiAuthorHandler">授权</el-button> |
| | | </template> |
| | | <template slot="menu" slot-scope="scope"> |
| | |
| | | </el-button> |
| | | <el-button icon="el-icon-delete" size="small" type="text" @click="rowDeleteHandler(scope.row)">删除 |
| | | </el-button> |
| | | <el-button icon="el-icon-document-copy" size="small" type="text" @click="rowCloneHandler(scope.row)">克隆</el-button> |
| | | <el-button icon="el-icon-document-copy" size="small" type="text" @click="rowCloneHandler(scope.row)">克隆 |
| | | </el-button> |
| | | </template> |
| | | <template slot="plName" slot-scope="{row}"> |
| | | <el-link type="primary" @click="linkClickHandler(row)">{{ row.plName }}</el-link> |
| | |
| | | <el-dialog |
| | | v-dialogDrag |
| | | v-loading="dialogLoading" |
| | | :close-on-click-modal="false" |
| | | :title="dialogType === 'add' ? ' 创建 上下文' : '编辑 上下文'" |
| | | :visible.sync="dialogVisible" |
| | | append-to-body="true" |
| | | class="avue-dialog" |
| | | :close-on-click-modal="false" |
| | | width="500px" |
| | | @close="dialogClose" |
| | | > |
| | |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | <el-form-item label="描述:" prop="plDesc"> |
| | | <el-input type="textarea" :rows="5" v-model="form.plDesc"></el-input> |
| | | <el-input v-model="form.plDesc" :rows="5" type="textarea"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | <el-dialog |
| | | key="cloneDialog" |
| | | v-dialogDrag |
| | | title="克隆" |
| | | :visible.sync="cloneDialogVisible" |
| | | append-to-body="true" |
| | | class="avue-dialog" |
| | | title="克隆" |
| | | width="500px" |
| | | @close="cloneDialogClose" |
| | | > |
| | | <avue-form ref="cloneForm" :option="cloneOption" v-model="cloneForm"></avue-form> |
| | | <avue-form ref="cloneForm" v-model="cloneForm" :option="cloneOption"></avue-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="cloneDialogClose">取 消</el-button> |
| | | <el-button type="primary" @click="cloneSaveHandler">确 定</el-button> |
| | |
| | | <el-dialog |
| | | key="cloneDialog" |
| | | v-dialogDrag |
| | | title="导出" |
| | | :visible.sync="expDialogVisible" |
| | | append-to-body="true" |
| | | class="avue-dialog" |
| | | title="导出" |
| | | width="500px" |
| | | @close="expDialogVisible=false" |
| | | > |
| | |
| | | </el-dialog> |
| | | </basic-container> |
| | | <!-- 导入 --> |
| | | <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" :fileData="fileData" title="导入" |
| | | <upload-file ref="upload" :fileData="fileData" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" |
| | | title="导入" |
| | | @updata="getTableList" @upfaildata="upFail"></upload-file> |
| | | <!--页签窗口--> |
| | | <el-dialog v-dialogDrag |
| | | :append-to-body="true" |
| | | :close-on-click-modal="false" |
| | | :destroy-on-close="true" |
| | | :fullscreen="true" |
| | | :title="dialog.title" |
| | | :visible.sync="dialog.showDialog" |
| | | :fullscreen="true" |
| | | :append-to-body="true" |
| | | class="avue-dialog" |
| | | :destroy-on-close="true" |
| | | :close-on-click-modal="false" |
| | | @close="dialog.showDialog=false"> |
| | | <pl-show :uiDefineData="dialog.uiDefineData"></pl-show> |
| | | </el-dialog> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {getBizTree,gridUIContextData,saveUIContextData,updateUIContextData,delUIContextData, cloneUIContextData ,getExpContextTree,expUIContextData} from "@/api/UI/uiDefine"; |
| | | import { |
| | | getBizTree, |
| | | gridUIContextData, |
| | | saveUIContextData, |
| | | updateUIContextData, |
| | | delUIContextData, |
| | | cloneUIContextData, |
| | | getExpContextTree, |
| | | expUIContextData |
| | | } from "@/api/UI/uiDefine"; |
| | | import basicOption from "@/util/basic-option"; |
| | | import func from "@/util/func"; |
| | | import plShow from "@/views/modelingMenu/ui/uiDefine/rightRegion/plShow"; |
| | | import uiAuthor from "@/views/authority/ui/uiAuthorization/UIDialog" |
| | | |
| | | export default { |
| | | name: "index", |
| | | components:{plShow,uiAuthor}, |
| | |
| | | selectList: [], |
| | | option: { |
| | | ...basicOption, |
| | | calcHeight: -40, |
| | | calcHeight: -50, |
| | | addBtn: false, |
| | | editBtn: false, |
| | | delBtn: false, |
| | |
| | | .el-scrollbar__wrap { |
| | | overflow: auto !important; |
| | | } |
| | | |
| | | .headerCon{ |
| | | .el-button{ |
| | | width: 82px; |