|
@@ -254,12 +254,12 @@ export default defineComponent({
|
|
|
// 表单
|
|
// 表单
|
|
|
const { rules, formState, formRef } = handleForm();
|
|
const { rules, formState, formRef } = handleForm();
|
|
|
function submit() {
|
|
function submit() {
|
|
|
- Modal.confirm({
|
|
|
|
|
- title: '是否确认审核通过',
|
|
|
|
|
- okText: '审核通过',
|
|
|
|
|
- cancelText: '取消',
|
|
|
|
|
- onOk() {
|
|
|
|
|
- formRef.value.validate().then(() => {
|
|
|
|
|
|
|
+ formRef.value.validate().then(() => {
|
|
|
|
|
+ Modal.confirm({
|
|
|
|
|
+ title: '是否确认审核通过',
|
|
|
|
|
+ okText: '审核通过',
|
|
|
|
|
+ cancelText: '取消',
|
|
|
|
|
+ onOk() {
|
|
|
const param = toRaw(formState);
|
|
const param = toRaw(formState);
|
|
|
|
|
|
|
|
const reqs: GldErmcpSpotContractOperateReq = {
|
|
const reqs: GldErmcpSpotContractOperateReq = {
|
|
@@ -273,11 +273,11 @@ export default defineComponent({
|
|
|
cancel();
|
|
cancel();
|
|
|
context.emit('refresh');
|
|
context.emit('refresh');
|
|
|
});
|
|
});
|
|
|
- });
|
|
|
|
|
- },
|
|
|
|
|
- onCancel() {
|
|
|
|
|
- console.log('Cancel');
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ onCancel() {
|
|
|
|
|
+ console.log('Cancel');
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
function refuse() {
|
|
function refuse() {
|