添加文件题功能
This commit is contained in:
parent
b426e61614
commit
8facf418eb
|
@ -172,11 +172,11 @@
|
|||
>填空</a-button
|
||||
></p
|
||||
>
|
||||
<!-- <p
|
||||
<p
|
||||
><a-button type="primary" preIcon="ant-design:check-square-outlined" @click="addTigan(8)" :disabled="editDisabled"
|
||||
>文件</a-button
|
||||
></p
|
||||
> -->
|
||||
>
|
||||
</a-card>
|
||||
<a-card title="引用题库">
|
||||
<p><a-button type="primary" @click="handleYylx('0')" :disabled="editDisabled">我的题库</a-button></p>
|
||||
|
@ -1205,10 +1205,19 @@ async function importXls(data, url) {
|
|||
|
||||
function handleWxtx(record) {
|
||||
|
||||
defHttp.get({ url: '/wjxWjxx/wjxWjxx/sendWxtx', params: { id: record.id, wjlx: wjLeixing.value } }).then((res) => {
|
||||
console.log('👣', res);
|
||||
createConfirm({
|
||||
iconType: 'warning',
|
||||
title: '微信提醒',
|
||||
content: '确认发送微信提醒信息么?',
|
||||
okText: '确认',
|
||||
cancelText: '取消',
|
||||
onOk: () => {
|
||||
defHttp.get({ url: '/wjxWjxx/wjxWjxx/sendWxtx', params: { id: record.id, wjlx: wjLeixing.value } }).then((res) => {
|
||||
console.log('👣', res);
|
||||
});
|
||||
createMessage.success('发送成功');
|
||||
},
|
||||
});
|
||||
createMessage.success('发送成功');
|
||||
}
|
||||
|
||||
//答题结果
|
||||
|
|
|
@ -99,6 +99,18 @@
|
|||
>
|
||||
</template>
|
||||
<a-row>
|
||||
<a-col :span="24">
|
||||
<a-image
|
||||
:width="200"
|
||||
:height="200"
|
||||
:src="picPathItem"
|
||||
v-for="(picPathItem, index) in item.picPath.split(',')"
|
||||
/>
|
||||
<j-upload v-model:value="item.picPath" fileType="image" disabled :maxCount="item.picPath.split(',').length" :buttonVisible="true" ></j-upload>
|
||||
<!-- -{{item.picPath.split(',')}}- -->
|
||||
<!-- <JImageUpload v-model:value="item.picPath" disabled></JImageUpload> -->
|
||||
<!-- <j-image-upload v-model:value="item.picPath" :disabled="disabled"></j-image-upload> -->
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<j-upload v-model:value="item.wjAnswer" :disabled="disabled" ></j-upload>
|
||||
</a-col>
|
||||
|
@ -172,6 +184,7 @@ import { queryWjxWjxxTmxxListByMainId, queryDataById, saveOrUpdate, djtj } from
|
|||
import headerPage from '/@/views/site/common/header.vue';
|
||||
import footerPage from '/@/views/site/common/footer.vue';
|
||||
import JUpload from '/@/components/Form/src/jeecg/components/JUpload/JUpload.vue';
|
||||
import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.vue';
|
||||
|
||||
const title = ref<string>('');
|
||||
const content = ref<string>('');
|
||||
|
|
Loading…
Reference in New Issue