上传
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user