田源
2023-11-03 46cf6e5f043bc0d267dc32333f16e2a0dddc3890
主题库-模板流程 模板阶段表格样式
已修改2个文件
38 ■■■■■ 文件已修改
Source/UBCS-WEB/src/components/template/FlowPath.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/Stage.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/FlowPath.vue
@@ -1,9 +1,12 @@
<template>
  <avue-crud v-if="Formlist.length>0" ref="crud" v-model="form" :data="data" :option="option" :page.sync="page"
             :search.sync="search" :table-loading="loading" @on-load="getDataList" @row-save="handleSave"
             @row-del="handleDelete" @row-update="handleEdit" @refresh-change="handleRefresh"
             @size-change="handleSizePage" @current-change="handleCurrentPage">
  </avue-crud>
  <div style="height: calc(100vh - 553px)">
    <avue-crud v-if="Formlist.length>0" ref="crud" v-model="form" :data="data" :option="option" :page.sync="page"
               :search.sync="search" :table-loading="loading" @on-load="getDataList" @row-save="handleSave"
               @row-del="handleDelete" @row-update="handleEdit" @refresh-change="handleRefresh"
               @size-change="handleSizePage" @current-change="handleCurrentPage">
    </avue-crud>
  </div>
</template>
<script>
@@ -44,7 +47,7 @@
      startData: [],
      form: {},
      option: {
        height: 340,
        height: 'auto',
        border: true,
        align: 'center',
        menu: !this.checkStatus || this.crudLCStatus == 'Editing',
Source/UBCS-WEB/src/components/template/Stage.vue
@@ -1,14 +1,17 @@
<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">
@@ -109,7 +112,7 @@
      ],
      option: {
        ...options,
        height: 383,
        height: 'auto',
        column: [
          {label: '模板编号', prop: 'modelKey'},
          {label: '模板名称', prop: 'modelName'},