田源
2025-03-05 f6b61a485501f326debe52d77ea65d87fb34b37f
Source/UBCS-WEB/src/components/template/Stage.vue
@@ -1,14 +1,16 @@
<template>
  <div v-if="Formlist.length>0">
    <avue-crud ref="crud" :data="data" :option="option" :page.sync="page" :table-loading="loading"
               @on-load="getDataList" @size-change="handleSizePage" @current-change="handleCurrentPage"
               @row-click="handleRowClick">
      <template slot="menu" slot-scope="{type,size,row,index}">
        <el-button :size="size" :type="type" icon="el-icon-check"
                   @click="handleMaintenance(row, index)">维护
        </el-button>
      </template>
    </avue-crud>
    <div style="height: calc(100vh - 553px)">
      <avue-crud ref="crud" :data="data" :option="option" :page.sync="page" :table-loading="loading"
                 @on-load="getDataList" @size-change="handleSizePage" @current-change="handleCurrentPage"
                 @row-click="handleRowClick">
        <template slot="menu" slot-scope="{type,size,row,index}">
          <el-button :size="size" :type="type" icon="el-icon-check"
                     @click="handleMaintenance(row, index)">维护
          </el-button>
        </template>
      </avue-crud>
    </div>
    <el-dialog :visible.sync="dialogNode" append-to-body="true" title="模板阶段" width="50%">
      <avue-crud ref="crud" :data="stageData" :option="stageOption" :table-loading="loading" @on-load="getStagelist"
                 @row-click="handleRowStageClick">
@@ -53,7 +55,7 @@
  },
  data() {
    const options = {
      height: "auto",
      height:'auto',
      border: true,
      addBtn: false,
      align: 'center',
@@ -109,7 +111,7 @@
      ],
      option: {
        ...options,
        height: 383,
        height: 330,
        column: [
          {label: '模板编号', prop: 'modelKey'},
          {label: '模板名称', prop: 'modelName'},