ludc
2024-03-18 32ebe84d704f32842fdc8b5b23038dccb67234ff
Merge remote-tracking branch 'origin/master'
已修改4个文件
18 ■■■■ 文件已修改
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/util/func.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/util/validate.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
@@ -876,7 +876,7 @@
          },
          {
            label: "只读",
            prop: "readonlyFlag",
            prop: "readOnlyFlag",
          },
          {
            label: "列表排序",
@@ -1386,7 +1386,7 @@
          },
          {
            label: "只读",
            prop: "readonlyFlag",
            prop: "readOnlyFlag",
            cell: false,
            edit: "switch"
          },
@@ -1613,7 +1613,7 @@
        value: 'tableDisplayFlag',
        label: '列表显示'
      }, {
        value: 'readonlyFlag',
        value: 'readOnlyFlag',
        label: '只读'
      }, {
        value: 'sortAttrFlag',
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -4,7 +4,7 @@
    <!--    左侧菜单-->
    <el-aside>
      <basic-container>
        <div style="height: calc(100vh - 144px);!important;">
        <div style="height: calc(100vh - 144px);!important;" @click="clearNode">
          <div class="headerCon" style="display: flex; flex-wrap: wrap;margin-bottom: 5px">
            <el-button v-if="permissionList.TreeAddStatus" plain size="small" type="primary" @click="TreeAdd">添加
            </el-button>
@@ -62,6 +62,7 @@
                </el-tooltip>
              </template>
            </avue-tree>
            <div style="height: 25px"></div>
          </div>
        </div>
@@ -796,6 +797,12 @@
  created() {
  },
  methods: {
    clearNode(){
      this.$refs.tree.setCurrentKey(null);
      this.nodeClickList = {};
      this.TreeFlagCode = true;
      this.allButtons = false;
    },
    // 分类授权对话框打开
    classifyAuthHandler() {
      if (this.nodeClickList.oid === '' || this.nodeClickList.oid === undefined) {
Source/UBCS-WEB/src/util/func.js
@@ -6,6 +6,7 @@
   * 不为空
   * @param val
   * @returns {boolean}
   * 不能判断数组和对象 如判断"null"、"undefined"会返回不为空
   */
  static notEmpty(val) {
    return !this.isEmpty(val);
@@ -24,6 +25,7 @@
   * 为空
   * @param val
   * @returns {boolean}
   * 不能判断数组和对象 如判断"null"、"undefined"会返回不为空
   */
  static isEmpty(val) {
    if (
Source/UBCS-WEB/src/util/validate.js
@@ -233,6 +233,7 @@
}
/**
 * 判断是否为空
 * 可以判断数组和对象 如判断"null"、"undefined"也会返回是空
 */
export function validatenull(val) {
    if (typeof val == 'boolean') {