| | |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column prop="label" label="数据标签" min-width="100px"></el-table-column> |
| | | <el-table-column prop="code" label="数据值" min-width="100px"></el-table-column> |
| | | <el-table-column prop="remark" label="数据说明" min-width="130px"></el-table-column> |
| | | <el-table-column prop="label" label="数据标签" min-width="130px"></el-table-column> |
| | | <el-table-column prop="code" label="数据值" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.code && row.code.length>20" :title="row.code"> |
| | | <el-button type="text" @click="showCode(row)" >点击查看</el-button> |
| | | </div> |
| | | <div v-else>{{row.code}}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="disabled" label="状态" min-width="100px"> |
| | | <template slot-scope="{row}">{{row.disabled | disabledText}}</template> |
| | | </el-table-column> |
| | |
| | | </template> |
| | | <!-- 新建/修改 --> |
| | | <OperaDictDataWindow ref="operaDictDataWindow" @success="handlePageChange(tableData.pagination.pageIndex)"/> |
| | | <el-dialog |
| | | class="center-title" |
| | | title="字典值" |
| | | width="70%" |
| | | height="70%" |
| | | text="字典值" |
| | | :visible.sync="visible1" |
| | | append-to-body |
| | | > |
| | | <div class="agree-list" v-html="agreement"> |
| | | </div> |
| | | <template v-slot:footer> |
| | | <el-button @click="visible1=false">返回</el-button> |
| | | </template> |
| | | </el-dialog> |
| | | </TableLayout> |
| | | </GlobalWindow> |
| | | </template> |
| | |
| | | data () { |
| | | return { |
| | | visible: false, |
| | | visible1: false, |
| | | agreement: '', |
| | | searchForm: { |
| | | // 字典ID |
| | | dictId: null |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | showCode(row){ |
| | | this.agreement=row.code |
| | | this.visible1=true |
| | | }, |
| | | /** |
| | | * 打开窗口 |
| | | * |