yuxc
2023-04-21 35a36f60cdbd9ef3bf2ab7be9f418f988c93c5eb
Source/UBCS-WEB/src/views/omd/dict.vue
ÎļþÃû´Ó Source/UBCS-WEB/src/views/omd/dictbiz.vue ÐÞ¸Ä
@@ -39,7 +39,7 @@
          size="small"
          @click.stop="handleRowClick(scope.row)"
          v-if="userInfo.role_name.includes('admin')"
        >字典配置
        >枚举配置
        </el-button>
      </template>
      <template slot-scope="{row}" slot="code">
@@ -49,7 +49,7 @@
        <el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
      </template>
    </avue-crud>
    <el-dialog :title="`[${dictValue}]字典配置`"
    <el-dialog :title="`[${dictValue}]枚举配置`"
               append-to-body
               :visible.sync="box"
               width="1000px">
@@ -84,16 +84,16 @@
          >删 é™¤
          </el-button>
        </template>
        <template slot-scope="scope" slot="menu">
          <el-button
            type="text"
            icon="el-icon-circle-plus-outline"
            size="small"
            @click.stop="handleAdd(scope.row,scope.index)"
            v-if="userInfo.role_name.includes('admin')"
          >新增子项
          </el-button>
        </template>
<!--        <template slot-scope="scope" slot="menu">-->
<!--          <el-button-->
<!--            type="text"-->
<!--            icon="el-icon-circle-plus-outline"-->
<!--            size="small"-->
<!--            @click.stop="handleAdd(scope.row,scope.index)"-->
<!--            v-if="userInfo.role_name.includes('admin')"-->
<!--          >新增子项-->
<!--          </el-button>-->
<!--        </template>-->
        <template slot-scope="{row}" slot="isSealed">
          <el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
        </template>
@@ -111,8 +111,8 @@
    add,
    getDict,
    getDictTree
  } from "@/api/omd/dictbiz";
  import {optionParent, optionChild} from "@/option/system/dictbiz";
  } from "@/api/omd/dict";
  import {optionParent, optionChild} from "@/const/omd/dict";
  import {mapGetters} from "vuex";
  export default {