|
|
@@ -38,7 +38,8 @@
|
|
|
CopyOutlined,
|
|
|
ReadOutlined,
|
|
|
QuestionCircleOutlined,
|
|
|
- FileOutlined
|
|
|
+ FileOutlined,
|
|
|
+ IeOutlined
|
|
|
} from '@ant-design/icons-vue'
|
|
|
const formRef = ref()
|
|
|
const rightItem = ref({})
|
|
|
@@ -97,10 +98,20 @@
|
|
|
type: 3,
|
|
|
routerUrl: '/student/paper/1',
|
|
|
relateId: route.query.id
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '网页',
|
|
|
+ key: '9',
|
|
|
+ icon: IeOutlined,
|
|
|
+ type: 3,
|
|
|
+ routerUrl: 'https://www.baidu.com/',
|
|
|
}
|
|
|
])
|
|
|
const selectBtn = (event, edit) => {
|
|
|
if (event.type == 3) {
|
|
|
+ if(event.key == '9'){
|
|
|
+ window.open(event.routerUrl)
|
|
|
+ }
|
|
|
if (event.relateId) {
|
|
|
if (event.key == '4' || event.key == '5') {
|
|
|
window.open(`${event.status == 1 ? `${event.routerSrc}?id=${event.answerId}` : `${event.routerUrl}?id=${event.relateId}`}`, '_blank')
|