Commit 08e15655 authored by 旭艳's avatar 旭艳

阿洛丁调配卡流程中表单配置

parent 1e564b33
<template>
<div class="AssignCardProcess">
<dee-as-com
......@@ -36,6 +35,12 @@ export default {
immediate: true,
deep: true,
handler: function(val) {
if (val.subTypeName === 'AssignCardAlodine') {
this.cmpOptions = {
typeName: 'AssignCardAlodine',
layKey: 'alodineProcessFrom'
}
}
this.getFormData(val.id)
}
}
......
<template>
<dee-as-com
:lay-config="layConfig"
@tableToolHandler="tableToolHandler"
/>
<div>
<dee-as-com
:lay-config="layConfig"
@tableToolHandler="tableToolHandler"
@row-click="onRowClick"
/>
</div>
</template>
<script>
import { post } from '@/utils/http'
......@@ -17,6 +20,12 @@ export default {
},
data() {
return {
evenList: [
{
even: 'row-click',
name: '行点击事件'
}
]
}
},
computed: {
......@@ -30,6 +39,9 @@ export default {
mounted() {
},
methods: {
onRowClick(data) {
this.$emit('row-click', data.row)
},
tableToolHandler(e) {
if (e && e.key && e.key.btnValue) {
console.log(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment