|
@@ -74,7 +74,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//
|
|
|
- openAsyncInputDialog(prop, type, source) {
|
|
|
+ openAsyncInputDialog(prop, source, type) {
|
|
|
try {
|
|
|
const {
|
|
|
key,
|
|
@@ -187,15 +187,15 @@ export default {
|
|
|
:clearable="column.clearable"
|
|
|
:disabled="column.disabled"
|
|
|
style="width: 100%"
|
|
|
- @blur="openAsyncInputDialog(column, 'change', params)"
|
|
|
- @change="openAsyncInputDialog(column, 'change', params)"
|
|
|
+ @blur="openAsyncInputDialog(column, params, 'change')"
|
|
|
+ @change="openAsyncInputDialog(column, params, 'change')"
|
|
|
>
|
|
|
<template #suffix>
|
|
|
<el-icon
|
|
|
class="el-icon-s-operation"
|
|
|
style="cursor: pointer"
|
|
|
@click.native.stop="
|
|
|
- openAsyncInputDialog(column, 'click', params)
|
|
|
+ openAsyncInputDialog(column, params, 'change')
|
|
|
"
|
|
|
></el-icon>
|
|
|
</template>
|
|
@@ -346,15 +346,15 @@ export default {
|
|
|
:disabled="cColumn.disabled"
|
|
|
size="mini"
|
|
|
style="width: 100%"
|
|
|
- @blur="openAsyncInputDialog(cColumn, 'change', scope.row)"
|
|
|
- @change="openAsyncInputDialog(cColumn, 'change', scope.row)"
|
|
|
+ @blur="openAsyncInputDialog(cColumn, scope.row, 'change')"
|
|
|
+ @change="openAsyncInputDialog(cColumn, scope.row, 'change')"
|
|
|
>
|
|
|
<template #suffix>
|
|
|
<el-icon
|
|
|
class="el-icon-s-operation"
|
|
|
style="cursor: pointer"
|
|
|
@click.native.stop="
|
|
|
- openAsyncInputDialog(cColumn, 'click', scope.row)
|
|
|
+ openAsyncInputDialog(cColumn, scope.row, 'click')
|
|
|
"
|
|
|
></el-icon>
|
|
|
</template>
|