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