@@ -291,40 +362,61 @@
- {{ index + 1 }}、
-
+
+
+ {{ index + 1 }}、[文件]
+
+
+
+
+ 5
+ 4
+ 3
+ 2
+ 1
+
+ 自定义分数
+
+ 返回
+
+
+
+
+
+
- [文件上传]
-
-
-
-
- 5
- 4
- 3
- 2
- 1
-
- 自定义分数
-
- 返回
-
-
+ :disabled="editDisabled" v-if="!editDisabled"/>
+
- 无对应类型 -{{ item.wjType }}-
+ 无对应类型
@@ -359,6 +451,8 @@ import { useMessage } from '/@/hooks/web/useMessage';
import { useGlobSetting } from '/@/hooks/setting';
import { downloadByUrl } from '/@/utils/file/download';
import draggable from 'vuedraggable';
+import JEditor from '/@/components/Form/src/jeecg/components/JEditor.vue';
+import JEditor2 from '/@/components/Form/src/jeecg/components/JEditor2.vue';
//用户相关
const userStore = useUserStore();
@@ -371,6 +465,7 @@ const tiganData = ref([]);
const isShow = ref(true);
const mainId = ref('');
const wjLeixing = ref('6');
+ const editDisabled = ref(false);
// const wjLeixing = ref('');
//注册model
const [registerModal, { openModal }] = useModal();
diff --git a/src/views/kc/wjxWjxxTmlb/WjxWjxxTmlb.data.ts b/src/views/kc/wjxWjxxTmlb/WjxWjxxTmlb.data.ts
index 89fd25d..c9f456a 100644
--- a/src/views/kc/wjxWjxxTmlb/WjxWjxxTmlb.data.ts
+++ b/src/views/kc/wjxWjxxTmlb/WjxWjxxTmlb.data.ts
@@ -26,7 +26,8 @@ export const columns: BasicColumn[] = [
{
title: '问题标题',
align:"center",
- dataIndex: 'wjTitle'
+ dataIndex: 'wjTitle',
+ slots: { customRender: 'wjTitleaction' },
},
{
title: '问题分值',
@@ -61,7 +62,8 @@ export const wjdccolumns: BasicColumn[] = [
{
title: '问题标题',
align:"center",
- dataIndex: 'wjTitle'
+ dataIndex: 'wjTitle',
+ slots: { customRender: 'wjTitleaction' },
},
{
title: '是否公有',
@@ -91,7 +93,8 @@ export const columnsYytk: BasicColumn[] = [
{
title: '题干名称',
align:"center",
- dataIndex: 'wjTitle'
+ dataIndex: 'wjTitle',
+ slots: { customRender: 'wjTitleaction' },
},
{
title: '题目分值',
@@ -126,7 +129,8 @@ export const columnsYytkdc: BasicColumn[] = [
{
title: '题干名称',
align:"center",
- dataIndex: 'wjTitle'
+ dataIndex: 'wjTitle',
+ slots: { customRender: 'wjTitleaction' },
},
{
title: '是否公有',
diff --git a/src/views/kc/wjxWjxxTmlb/YinyongTikuDcList.vue b/src/views/kc/wjxWjxxTmlb/YinyongTikuDcList.vue
index bd0dec3..6d5f143 100644
--- a/src/views/kc/wjxWjxxTmlb/YinyongTikuDcList.vue
+++ b/src/views/kc/wjxWjxxTmlb/YinyongTikuDcList.vue
@@ -17,6 +17,7 @@
单选
多选
填空
+ 文件
@@ -39,14 +40,13 @@