| | |
| | | <el-container> |
| | | <el-header class="businessHeader" style="height: 40px;padding:0 8px"> |
| | | <div> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" size="small" type="primary" @click="businessAdd"> |
| | | <el-button v-if="permissionList.addBtn" icon="el-icon-plus" size="small" type="primary" @click="businessAdd" plain> |
| | | 新增 |
| | | </el-button> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" size="small" type="primary" @click="businessEdit"> |
| | | <el-button v-if="permissionList.editBtn" icon="el-icon-edit" size="small" type="primary" @click="businessEdit" plain> |
| | | 修改 |
| | | </el-button> |
| | | <el-button v-if="permissionList.table" icon="el-icon-thumb" size="small" type="primary" |
| | | @click="selectFromTable"> 从已有中获取 |
| | | @click="selectFromTable" plain> 从已有中获取 |
| | | </el-button> |
| | | </div> |
| | | </el-header> |
| | | <el-container> |
| | | <el-aside width="240px"> |
| | | <el-aside style="width:250px"> |
| | | <basic-container class="businessTreeContainer"> |
| | | <p style="margin-top: 10px;font-weight: 570;font-size: 19px">{{ treeOption.title }}</p> |
| | | <avue-tree id="basic" :data="treeData" :option="treeOption" class="businessTree" @node-click="nodeClick"> |
| | | <div class="app"> |
| | | <p style="margin-top: 10px;font-weight: 570;font-size: 19px">{{ treeOption.title }}</p> |
| | | <avue-tree id="basic" :data="treeData" :option="treeOption" class="businessTree" @node-click="nodeClick"> |
| | | <span slot-scope="{ node, data }" class="el-tree-node__label"> |
| | | <span> |
| | | <i :class="(node || {}).level === 2 ? 'el-icon-star-off' : 'el-icon-folder-opened'"></i> |
| | | {{ (node || {}).label }} |
| | | </span> |
| | | </span> |
| | | </avue-tree> |
| | | </avue-tree> |
| | | </div> |
| | | |
| | | </basic-container> |
| | | </el-aside> |
| | | <el-container> |
| | |
| | | </el-tag> |
| | | <span v-else></span> |
| | | </el-descriptions-item> |
| | | <!-- <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-s-ticket"></i> |
| | | 标签 |
| | | </template> |
| | | {{obj.hashtag}} |
| | | </el-descriptions-item> --> |
| | | <!-- <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-arrow-up"></i> |
| | | 继承自 |
| | | </template> |
| | | {{ obj.sss }} |
| | | </el-descriptions-item> --> |
| | | <el-descriptions-item :contentStyle="descriptionOption.contentStyle" |
| | | :labelStyle="descriptionOption.labelStyle"> |
| | | <template slot="label"> |
| | |
| | | </template> |
| | | {{ obj.lifeCycleName ? obj.lifeCycleName + '(' + obj.lifeCycleId + ')' : '' }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item :contentStyle="descriptionOption.contentStyle" |
| | | :labelStyle="descriptionOption.labelStyle"> |
| | | <template slot="label"> |
| | | <i :class="icons.view"></i> |
| | | 视图 |
| | | </template> |
| | | <el-tag v-if="obj.viewText" size="small"> |
| | | {{ obj.viewText }} |
| | | </el-tag> |
| | | <span v-else></span> |
| | | </el-descriptions-item> |
| | | <!-- <el-descriptions-item :contentStyle="descriptionOption.contentStyle"--> |
| | | <!-- :labelStyle="descriptionOption.labelStyle">--> |
| | | <!-- <template slot="label">--> |
| | | <!-- <i :class="icons.view"></i>--> |
| | | <!-- 视图--> |
| | | <!-- </template>--> |
| | | <!-- <el-tag v-if="obj.viewText" size="small">--> |
| | | <!-- {{ obj.viewText }}--> |
| | | <!-- </el-tag>--> |
| | | <!-- <span v-else></span>--> |
| | | <!-- </el-descriptions-item>--> |
| | | <!-- <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-arrow-down"></i> |
| | |
| | | </avue-crud> |
| | | </basic-container> |
| | | </el-main> |
| | | <el-dialog :visible="ref.visible" append-to-body title="从数据库中添加" width="700px" @close="dialoghandelfalse"> |
| | | <el-dialog :visible="ref.visible" append-to-body title="从数据库中添加" width="700px" @close="dialoghandelfalse" top="9vh"> |
| | | 选择领域: |
| | | <el-select v-model="domain" placeholder="请选择" size="small" @change="refOnLoad"> |
| | | <el-option v-for="item in domainOptions" :key="item.value" :label="item.label" :value="item.value"> |