田源
2023-07-27 4123ea005ce58731881c4b85d350b27e9f138760
Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
@@ -83,9 +83,12 @@
                          @row-save="CrudRowSave"
                          @row-del="CrudRowDel"
                          @row-update="CrudRowUpdata"
                          :before-close="beforeClose"
                          @select="selectHandle"
                          @row-click="rowHandle"
               >
                  <template slot="radio" slot-scope="{row}">
                       <el-radio v-model="selectRow" :label="row.$index" style="padding-left: 10px !important;">{{''}}</el-radio>
                  </template>
            <template slot="menuLeft">
              <el-button plain size="small" type="primary" @click="FindeHanler">查询</el-button>
              <el-button plain size="small" type="primary" @click="TemRefresh">刷新</el-button>
@@ -210,7 +213,6 @@
                >
              </template>
          </avue-crud>
          </basic-container>
          <templatePro :ProData="this.ProData" :crudOid="this.crudOid" :crudLCStatus="this.crudLCStatus" :crudArray="this.crudArray" :Formlist="this.Formlist" :codeClassifyOid="this.codeClassifyOid"></templatePro>
        </span>
@@ -344,6 +346,7 @@
  inject: ["crudTreeData"],
  data() {
    return {
      selectRow:'',
      //树节点显示隐藏
      TreeFlagCode:false,
      //编码规则
@@ -666,11 +669,16 @@
        index: true,
        border: true,
        height:180,
        selection:true,
        addBtn:this.Formlist.length<=0  && this.nodeClickList != "",
        editBtn:false,
        delBtn:false,
        column: [
          {
            label: '',
            prop: 'radio',
            width: 60,
            hide: false,
          },
          {
            label: "模板编号",
            prop: "id",
@@ -924,11 +932,11 @@
    MasterHandler(val){
      this.TreeList=val;
    },
    //行单选事件
    selectHandle(selection,row){
    rowHandle(row, column){
      this.selectRow=row.$index;
      this.crudOid=row.oid;
      this.crudLCStatus=row.lcStatus;
      this.crudArray=selection;
      this.crudArray.push(row);
      gridCodeClassifyTemplateAttr({'conditionMap[classifyTemplateOid]': row.oid}).then(res => {
        this.ProData = res.data.data;
        //分类注入数据格式