| | |
| | | const rowKey = ref(''); |
| | | const returnFieldName = ref(''); |
| | | const schemas = ref([] as FormSchema[]); |
| | | const which = ref(''); |
| | | |
| | | //列表 |
| | | const ItemColumns = ref([] as BasicColumn[]); |
| | |
| | | rowKey.value = data?.rowKey; |
| | | returnFieldName.value = data?.returnFieldName; |
| | | checkedKeys.value = []; |
| | | which.value = data?.which; |
| | | getForm().resetFields(); |
| | | reload(); |
| | | } |
| | |
| | | isUpdate: unref(false), |
| | | values: { val: record[rowKey.value], id: record['ID'] }, |
| | | returnFieldName: returnFieldName.value, |
| | | which: which.value, |
| | | }); |
| | | } finally { |
| | | setModalProps({ confirmLoading: false }); |
| | |
| | | isUpdate: unref(false), |
| | | values: { val: values, id: ids }, |
| | | returnFieldName: returnFieldName.value, |
| | | which: which.value, |
| | | }); |
| | | } finally { |
| | | setModalProps({ confirmLoading: false }); |