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

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

parent 1e564b33
<template> <template>
<div class="AssignCardProcess"> <div class="AssignCardProcess">
<dee-as-com <dee-as-com
...@@ -36,6 +35,12 @@ export default { ...@@ -36,6 +35,12 @@ export default {
immediate: true, immediate: true,
deep: true, deep: true,
handler: function(val) { handler: function(val) {
if (val.subTypeName === 'AssignCardAlodine') {
this.cmpOptions = {
typeName: 'AssignCardAlodine',
layKey: 'alodineProcessFrom'
}
}
this.getFormData(val.id) this.getFormData(val.id)
} }
} }
......
<template> <template>
<div>
<dee-as-com <dee-as-com
:lay-config="layConfig" :lay-config="layConfig"
@tableToolHandler="tableToolHandler" @tableToolHandler="tableToolHandler"
@row-click="onRowClick"
/> />
</div>
</template> </template>
<script> <script>
import { post } from '@/utils/http' import { post } from '@/utils/http'
...@@ -17,6 +20,12 @@ export default { ...@@ -17,6 +20,12 @@ export default {
}, },
data() { data() {
return { return {
evenList: [
{
even: 'row-click',
name: '行点击事件'
}
]
} }
}, },
computed: { computed: {
...@@ -30,6 +39,9 @@ export default { ...@@ -30,6 +39,9 @@ export default {
mounted() { mounted() {
}, },
methods: { methods: {
onRowClick(data) {
this.$emit('row-click', data.row)
},
tableToolHandler(e) { tableToolHandler(e) {
if (e && e.key && e.key.btnValue) { if (e && e.key && e.key.btnValue) {
console.log(e) 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