This commit is contained in:
qsh
2024-08-12 17:54:34 +08:00
parent 1be86c7699
commit db22a8ae8a
9 changed files with 345 additions and 77 deletions

View File

@@ -474,12 +474,15 @@ const opts = ref({
})
/** 打开弹窗 */
const open = async (type, id) => {
const open = async (type, id, sp) => {
dialogVisible.value = true
dialogTitle.value = type == 'create' ? '新增班型' : '修改班型'
formType.value = type
currentTab.value = 'base'
resetForm()
if (type == 'create' && sp && sp.length) {
formData.value.schPlace = sp
}
if (!opts.value.length) {
const arr = await ClassApi.getCommissionParams()
arr.map((item) => {