田源
2023-06-26 aa7b19831312d3e8d7eb19fd4e0a44505be24e93
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<template>
<div>
  <el-button @click="add"></el-button>
  <el-table :data="data">
    <el-table-column
      fixed
      type="selection"
      width="55">
    </el-table-column>
    <el-table-column
      fixed
      label="序号"
      type="index"
      width="55">
    </el-table-column>
  </el-table>
</div>
</template>
 
<script>
import {businese,add} from '@/api/work/businese'
export default {
  name: "BusinessWork",
  props:['oid','templateId'],
  data() {
    return {
      data:[
        {
          label:'app'
        }
      ]
    }
  },
  created() {
    businese({oid: this.oid,
      templateOid: this.templateId}).then(res=>{
      console.log(res)
    })
  },
  methods:{
    add(){
      // businese({oid: this.oid[2],
      //   templateOid: this.templateId}).then(res=>{
      //   console.log(res)
      // })
      add({
        btmType:'wupin',
        'conditionMap[oid]':'D49A28F3-3740-D0EF-A3C6-5A71CA6978CC'
      }).then(res=>{
        console.log(res)
      })
    }
  }
}
</script>
 
<style scoped>
 
</style>
 
<!--mdmEngineController/getTableDataByOids?page=1&limit=-1&btmType=wupin&conditionMap%5B%27oid%27%5D=90DC514B-396D-9664-67D0-1587640FE15E&_=1687773044552-->
<!--mdmEngineController/getTableDataByOids?conditionMap%5Boid%5D=D49A28F3-3740-D0EF-A3C6-5A71CA6978CC-->