zhiyong.zhou
2024-03-04 ba614829f008504d2316ba0916db8f3c9af0b563
src/views/admin/FormsPanel.vue
@@ -18,7 +18,6 @@
          <div style="float: right">
            <el-button type="text" icon="el-icon-edit-outline" size="mini" @click="editFrom(item, groups)">编辑
            </el-button>
            <el-button type="text" size="mini" @click="viewGroup(item,groups)">查看流程</el-button>
            <el-popover placement="left" trigger="click" width="400" style="margin-left: 10px"
@@ -66,23 +65,15 @@
        console.log("getEntitySet", rsp.data.data)
        this.groups = rsp.data.data.entityset
        console.log("this.groups", this.groups)
        //this.groups = rsp.data
      }).catch(err => this.$message.error('获取审批流程异常'))
    },
    newProcess(groupId) {
      // this.$store.commit("setTemplate", this.getTemplateData());
      // this.$store.commit("setIsEdit", false);
      this.$router.push("/admin/design?groupId=" + groupId);
    },
    groupSort() {
      this.groupsSort = false
      groupItemsSort(this.groups).then(rsp => {
        this.$message.success("排序成功")
        this.getGroups()
      }).catch(err => {
        this.getGroups()
        this.$message.error(err.response.data)
      })
      this.$message.success("排序成功")
    },