| | |
| | | itemValue: '1' |
| | | } |
| | | ] |
| | | const tabs1ActiveNum = ref('0') |
| | | const tabs1ActiveNum = ref('') |
| | | const tabs2ActiveNum = ref('') |
| | | const tabs2 = [ |
| | | { |
| | |
| | | child.isActive = false |
| | | } |
| | | }) |
| | | if (item.name == t('courseCenter.digitalPeople')) { |
| | | tabs1ActiveNum.value = '0' |
| | | getList() |
| | | } |
| | | |
| | | showHeadImageTool.value = item.name === t('courseCenter.background') |
| | | showTemplateTool.value = item.name === t('courseCenter.template') |
| | |
| | | confirmButtonText: '是', |
| | | cancelButtonText: '否', |
| | | type: 'warning', |
| | | } |
| | | ).then(() => { |
| | | }).then(() => { |
| | | let copyItem = cloneDeep(item) |
| | | copyItem.id = generateUUID() |
| | | copyItem.isActive = false |
| | |
| | | queryParams.gender = tabs2ActiveNum.value |
| | | queryParams.posture = tabs3ActiveNum.value |
| | | queryParams.status = 0 |
| | | |
| | | let data = await pptTemplateApi.pageList(queryParams) |
| | | |
| | | if (data.list.length == 0) { |
| | | queryParams.type = tabs1ActiveNum.value == '0' ? '1' : '0' |
| | | tabs1ActiveNum.value = queryParams.type |