2024年6月27日 禁止新增空意见
This commit is contained in:
parent
b9987b0d99
commit
dc26c0cbd6
|
@ -31,7 +31,7 @@
|
||||||
import { Modal } from 'ant-design-vue';
|
import { Modal } from 'ant-design-vue';
|
||||||
import { ExclamationCircleOutlined,CheckOutlined } from '@ant-design/icons-vue';
|
import { ExclamationCircleOutlined,CheckOutlined } from '@ant-design/icons-vue';
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
formDisabled: { type: Boolean, default: false },
|
formDisabled: { type: Boolean, default: false },
|
||||||
formData: { type: Object, default: ()=>{} },
|
formData: { type: Object, default: ()=>{} },
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
return props.formDisabled;
|
return props.formDisabled;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增
|
* 新增
|
||||||
*/
|
*/
|
||||||
|
@ -119,6 +119,11 @@
|
||||||
tkrsf = "老师";
|
tkrsf = "老师";
|
||||||
}
|
}
|
||||||
model.tjrsf = tkrsf;
|
model.tjrsf = tkrsf;
|
||||||
|
if(!model.suggestions){
|
||||||
|
createMessage.warning('请填写意见建议');
|
||||||
|
confirmLoading.value = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
await saveOrUpdate(model, isUpdate.value)
|
await saveOrUpdate(model, isUpdate.value)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|
Loading…
Reference in New Issue