th.vue 2.29 KB
<template>
  <dialogBox title="转出" @submitForm="submitForm" :saveloding="saveloding" saveButton="确认转出" width="80%" 
     @closeDialog="closeDialog" v-model="value">
    <div class="from-clues">
      <!-- 表单部分 -->
      <div class="from-clues-header">
        <div v-for='(item,index) in arr' :key='item.bdcdyid'>
          <p>不动产单元号:{{item.bdcdyh}}</p>
          <lb-table :column="columns" border  :heightNum="390"  :pagination="false" heightNumSetting
          :data="item.nodeList">
        </lb-table>
        </div>
        
        <el-form :model="queryForm" ref="queryForm" label-width="120px">
              <el-form-item label="退回意见:">
                <el-input type="textarea" v-model="queryForm.shyj"></el-input>
              </el-form-item>
        </el-form>
      </div>
    </div>
  </dialogBox>
</template>

<script>
   import { getTaskBackNode } from "@/api/fqsq.js"
export default {
  components: {
  },
  props: {
    value: { type: Boolean, default: false },
    queryForm:{type:Object}
  },
  data () {
    return {
      saveloding:false,
      columns:[
      {
        label: '',
        align: 'center',
        render: (h, scope) => {
          return   <el-radio label={scope.row.taskid} v-model={scope.row.radio}>{''}</el-radio>
        }
      },
      {
        prop: "fromstepname",
        label: "退回环节名称",
      },
      {
        prop: "username",
        label: "办理人",
      },
     
    ],
    arr:[{
      bdcdyh:'123123123',
      bdcdyid:'456789',
      nodeList:[{
        fromstepname:'录入',
        username:'超级管理员',
        radio:"",
      },{
        fromstepname:'测试',
        username:'超级管理员',
        radio:"",
      }]
    },{
      bdcdyh:'222222',
      bdcdyid:'333333',
      nodeList:[{
        fromstepname:'扫描',
        username:'超级管理员',
        radio:""
      }]
    }],
      tableData:[],
      radio:3
    }
  },
  mounted(){
  },
  methods: {
    tablelistFn(){
      getTaskBackNode(this.queryForm).then(res => {
        if (res.code === 200) {
            console.log(res)
        }
      })
    },
    submitForm () {
    
    },
    closeDialog () {
      this.$emit("input", false);
    },
  }
}
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";

</style>