fujunling
2023-06-21 32f4bb41c82ded759e7db18c9fa449b1442f15c8
Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -34,7 +34,7 @@
        <el-button plain size="small" type="primary">查看流程历史</el-button>
        <el-button plain size="small" type="primary">删除</el-button>
        <el-button plain size="small" type="primary" @click="setHandler">发布</el-button>
        <set-personnel :visible.sync="visibleFlow"  :parameter="this.parameter"
        <set-personnel :visible.sync="visibleFlow"  :parameter="parameter"
        ></set-personnel>
        <el-button plain size="small" type="primary" @click="DataChange">数据更改</el-button>
        <FormTemplateDialog
@@ -153,7 +153,6 @@
    },
    templateOid: {
      type: String,
      default:''
    },
    tableHeadDataFateher: {
      type: Array,
@@ -172,8 +171,8 @@
      similarVisible:false,
      //发布
      parameter:{
        ids:[],
        code:'',
        ids:['0000','22222222'],
        code:this.templateOid,
        type:'PUBLIC',
        template:'模板template'
      },
@@ -184,6 +183,7 @@
        label: 'name'
      },
      tableHeadFindDatas:[],
      templateOid: "",
      addvisible: false,
      editvisible: false,
      findvisible: false,
@@ -217,14 +217,21 @@
  },
  computed: {},
  created() {
    // this.CrudHeaderRend();
    // this.tableHeadHandle()
  },
  mounted() {
  },
  activated() {
    this.doLayout()
  },
  watch: {
    tableHeadDataFateher:{
      handler(newval,oldval){
        this.options=newval.tableDefineVO.seniorQueryColumns
      }
    },
    codeClassifyOid: {
      handler(newval, oldval) {
        this.codeClassifyOid = newval;
@@ -247,21 +254,13 @@
        this.page.total = newval;
      }
    },
    templateOid:{
      handler(newval,oldval) {
        this.parameter.code=newval;
      },
      deep:true
    }
  },
  methods: {
    setHandler() {
      this.visibleFlow = true;
    },
    huishouHandler() {
      if (this.selectRow.length <= 0) {
        this.$message.warning('请选择一条数据')
      }  else {
        this.visibleFlow = true;
      }
    },
    openD() {
      this.dialogPush = true;
@@ -396,10 +395,6 @@
      }
      this.selectRow = row;
      console.log(row)
      row.forEach(item=>{
        this.parameter.ids.push(item.oid)
        console.log( this.parameter.ids)
      })
    },
    //编辑
    editHandler() {