|
@@ -9,6 +9,7 @@ import { ElMessage, FormInstance, FormRules } from 'element-plus';
|
|
|
import { DictionaryStore } from '/@/stores/dictionary';
|
|
|
import { useResponse } from '/@/utils/useResponse';
|
|
|
import * as api from '../api';
|
|
|
+import { Close, Finished } from '@element-plus/icons-vue';
|
|
|
|
|
|
const shopOptions = <Ref>inject('shopOptions');
|
|
|
const groupOptions = <Ref>inject('groupOptions');
|
|
@@ -84,7 +85,7 @@ const resetForm = (formEl: FormInstance | undefined) => {
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
|
- <el-dialog v-model="createOpen" :close-on-click-modal="false" :close-on-press-escape="false" :title="`商品监控 - 创建 `" style="width: 40%">
|
|
|
+ <el-dialog v-model="createOpen" :close-on-click-modal="false" :close-on-press-escape="false" :title="`竞品监控 - 创建 `" style="width: 40%">
|
|
|
<el-form ref="ruleFormRef" :model="ruleForm" :rules="rules" class="mx-2.5 mt-5" label-position="top" label-width="auto" status-icon>
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="24">
|
|
@@ -145,8 +146,8 @@ const resetForm = (formEl: FormInstance | undefined) => {
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<template #footer>
|
|
|
- <el-button :loading="loading" type="primary" @click="submitForm(ruleFormRef)">确 定</el-button>
|
|
|
- <el-button @click="resetForm(ruleFormRef)">重 置</el-button>
|
|
|
+ <el-button :icon="Finished" @click="resetForm(ruleFormRef);createOpen = false">取 消</el-button>
|
|
|
+ <el-button :icon="Close" :loading="loading" type="primary" @click="submitForm(ruleFormRef)">确 定</el-button>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
</template>
|