|
@@ -274,7 +274,7 @@ let modeVisible = ref(false)
|
|
|
let classList = inject('classList')
|
|
|
let a = ref({a:1})
|
|
|
let from = ref({
|
|
|
- "title": "1111",
|
|
|
+ "title": "",
|
|
|
"notes": "",
|
|
|
"istextrequired": 1,
|
|
|
"isattrequired": 1,
|
|
@@ -297,6 +297,20 @@ watch(() => modeVisible.value,(val) => {
|
|
|
if (!val) {
|
|
|
emit('back',from.value.sat_noticeid,save.value)
|
|
|
save.value = false
|
|
|
+ from.value = {
|
|
|
+ "title": "",
|
|
|
+ "notes": "",
|
|
|
+ "istextrequired": 1,
|
|
|
+ "isattrequired": 1,
|
|
|
+ "onceonly": 1,
|
|
|
+ "sat_submiteditmodelid": "0",
|
|
|
+ "begdate": "",
|
|
|
+ "enddate": "",
|
|
|
+ "issecret": false,
|
|
|
+ "status":'',
|
|
|
+ "sat_notice_classid":'',
|
|
|
+ "contentstr":''
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -381,6 +395,20 @@ const submit = async () => {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+ from.value = {
|
|
|
+ "title": "",
|
|
|
+ "notes": "",
|
|
|
+ "istextrequired": 1,
|
|
|
+ "isattrequired": 1,
|
|
|
+ "onceonly": 1,
|
|
|
+ "sat_submiteditmodelid": "0",
|
|
|
+ "begdate": "",
|
|
|
+ "enddate": "",
|
|
|
+ "issecret": false,
|
|
|
+ "status":'',
|
|
|
+ "sat_notice_classid":'',
|
|
|
+ "contentstr":''
|
|
|
+ }
|
|
|
emit('onSuccess')
|
|
|
save.value = true
|
|
|
modeVisible.value = false
|