Browse Source

巡检点检

master
songguoqiang 7 months ago
parent
commit
408e207f2c
  1. 3
      src/views/eam/basic/basciYearEquipment/index.vue

3
src/views/eam/basic/basciYearEquipment/index.vue

@ -181,6 +181,7 @@ const openForm = (type: string, row?: any) => {
// form // form
const formsSuccess = async (formType, data) => { const formsSuccess = async (formType, data) => {
try {
var isHave = BasciYearEquipment.allSchemas.formSchema.some(function (item) { var isHave = BasciYearEquipment.allSchemas.formSchema.some(function (item) {
return item.field === 'activeTime' || item.field === 'expireTime' return item.field === 'activeTime' || item.field === 'expireTime'
}) })
@ -201,6 +202,8 @@ const formsSuccess = async (formType, data) => {
} }
basicFormRef.value.dialogVisible = false basicFormRef.value.dialogVisible = false
getList() getList()
}catch{
basicFormRef.value.dialogVisible = false}
} }
/** 详情操作 */ /** 详情操作 */

Loading…
Cancel
Save