添加讨论区功能
This commit is contained in:
parent
9ce25b825e
commit
efc8756c1c
|
@ -62,6 +62,14 @@ const stuzy: AppRouteModule = {
|
||||||
title: '通知公告',
|
title: '通知公告',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'stuTlq',
|
||||||
|
name: 'stuTlq',
|
||||||
|
component: () => import('/@/views/zy/zyTlq/StuZyTlqList.vue'),
|
||||||
|
meta: {
|
||||||
|
title: '通知公告',
|
||||||
|
},
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-radio-group v-model:value="item.itemSelected" style="width: 100%" size="default" :disabled="!isShow">
|
<a-radio-group v-model:value="item.itemSelected" style="width: 100%" size="default" :disabled="!isShow">
|
||||||
<div style="width: 100%" v-for="(tmxx,index) in item.wjxWjxxTmxxList">
|
<div style="width: 100%" v-for="(tmxx,index) in item.wjxWjxxTmxxList">
|
||||||
<a-radio :value="tmxx.itemIndex+``" style="width: 100%"><a-input placeholder="请填写标题" v-model:value="tmxx.itemTitle" :bordered="false" style="width:80%;"/>
|
<a-radio :value="tmxx.itemIndex+``" style="width: 100%"><a-input placeholder="请填写选项" v-model:value="tmxx.itemTitle" :bordered="false" style="width:80%;"/>
|
||||||
<a-tooltip placement="topLeft" title="在下方添加新的选项"><Icon icon="ant-design:plus-circle-outlined" style="cursor: pointer;margin:5px;font-size:20px;color: #1890ff;" @click="handleAddTmxx(tmxx,index,item.wjxWjxxTmxxList)" /></a-tooltip >
|
<a-tooltip placement="topLeft" title="在下方添加新的选项"><Icon icon="ant-design:plus-circle-outlined" style="cursor: pointer;margin:5px;font-size:20px;color: #1890ff;" @click="handleAddTmxx(tmxx,index,item.wjxWjxxTmxxList)" /></a-tooltip >
|
||||||
<a-tooltip placement="topLeft" title="删除选项" ><Icon icon="ant-design:minus-circle-outlined" style="cursor: pointer;margin:5px;font-size:20px;color: #1890ff;" @click="handleRemTmxx(tmxx,index,item.wjxWjxxTmxxList)" /></a-tooltip >
|
<a-tooltip placement="topLeft" title="删除选项" ><Icon icon="ant-design:minus-circle-outlined" style="cursor: pointer;margin:5px;font-size:20px;color: #1890ff;" @click="handleRemTmxx(tmxx,index,item.wjxWjxxTmxxList)" /></a-tooltip >
|
||||||
</a-radio>
|
</a-radio>
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
<a-checkbox-group v-model:value="item.itemSelected" style="width: 100%" :disabled="!isShow">
|
<a-checkbox-group v-model:value="item.itemSelected" style="width: 100%" :disabled="!isShow">
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="24" v-for="(tmxx,index) in item.wjxWjxxTmxxList">
|
<a-col :span="24" v-for="(tmxx,index) in item.wjxWjxxTmxxList">
|
||||||
<a-checkbox :value="tmxx.itemIndex"><a-input placeholder="请填写标题" v-model:value="tmxx.itemTitle" :bordered="false" style="width:80%;"/></a-checkbox>
|
<a-checkbox :value="tmxx.itemIndex"><a-input placeholder="请填写选项" v-model:value="tmxx.itemTitle" :bordered="false" style="width:80%;"/></a-checkbox>
|
||||||
<a-tooltip placement="topLeft" title="在下方添加新的选项"><Icon icon="ant-design:plus-circle-outlined" style="cursor: pointer;margin:5px;font-size:20px;color: #1890ff;" @click="handleAddTmxx(tmxx,index,item.wjxWjxxTmxxList)"/></a-tooltip >
|
<a-tooltip placement="topLeft" title="在下方添加新的选项"><Icon icon="ant-design:plus-circle-outlined" style="cursor: pointer;margin:5px;font-size:20px;color: #1890ff;" @click="handleAddTmxx(tmxx,index,item.wjxWjxxTmxxList)"/></a-tooltip >
|
||||||
<a-tooltip placement="topLeft" title="删除选项" ><Icon icon="ant-design:minus-circle-outlined" style="cursor: pointer;margin:5px;font-size:20px;color: #1890ff;" @click="handleRemTmxx(tmxx,index,item.wjxWjxxTmxxList)"/></a-tooltip >
|
<a-tooltip placement="topLeft" title="删除选项" ><Icon icon="ant-design:minus-circle-outlined" style="cursor: pointer;margin:5px;font-size:20px;color: #1890ff;" @click="handleRemTmxx(tmxx,index,item.wjxWjxxTmxxList)"/></a-tooltip >
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
|
@ -52,14 +52,11 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xs="{ span: 0 }" :sm="{ span: 24 }" :lg="{ span: 24 }" v-if="getUserSf()=='S'">
|
<a-col :xs="{ span: 0 }" :sm="{ span: 24 }" :lg="{ span: 24 }" v-if="getUserSf()=='S'">
|
||||||
<a-menu style="margin-top: 20px;" :selectable="false">
|
<a-menu style="margin-top: 20px;" :selectable="false">
|
||||||
<a-menu-item key="1" >
|
|
||||||
<a class="abox" @click="toDom('ktsbDom')">听课笔记</a>
|
|
||||||
</a-menu-item>
|
|
||||||
<a-menu-item key="2" >
|
<a-menu-item key="2" >
|
||||||
<a class="abox" @click="toDom('stujrkbDom')">今日课表</a>
|
<a class="abox" @click="toDom('stujrkbDom')">今日课表</a>
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
<a-menu-item key="3" >
|
<a-menu-item key="3" >
|
||||||
<a class="abox" @click="toDom('stujlrkbDom')">进六日课表</a>
|
<a class="abox" @click="toDom('stujlrkbDom')">近六日课表</a>
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
<a-menu-item key="4" >
|
<a-menu-item key="4" >
|
||||||
<a class="abox" @click="toDom('stuwdkcDom')">我的课程</a>
|
<a class="abox" @click="toDom('stuwdkcDom')">我的课程</a>
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
</a-tabs>
|
</a-tabs>
|
||||||
</a-card>
|
</a-card>
|
||||||
<!-- 课堂随笔 -->
|
<!-- 课堂随笔 -->
|
||||||
<ktsbPage v-if="getSysConfig().sfbmd=='n'"/>
|
<ktsbPage v-if="getSysConfig().sfbmd=='n'&&getUserSf()=='T'"/>
|
||||||
|
|
||||||
</a-layout-content>
|
</a-layout-content>
|
||||||
<!-- 学生部分今日课表 -->
|
<!-- 学生部分今日课表 -->
|
||||||
|
|
|
@ -20,9 +20,18 @@
|
||||||
<a-button type="primary" style="margin-left:10px;" @click="openPdf(jxdgInfo)">预览</a-button>
|
<a-button type="primary" style="margin-left:10px;" @click="openPdf(jxdgInfo)">预览</a-button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div>
|
</a-card>
|
||||||
<JeecgPdfView/>
|
<a-card>
|
||||||
</div> -->
|
<div>
|
||||||
|
<span style="float: left;line-height: 30px; font-size: 18px; font-weight: bold;">教学日历:</span>
|
||||||
|
<span style="width:300px;float: left;">
|
||||||
|
<span style="float:left;"><j-upload v-model:value="jxdgInfo.jxrlFilePath" maxCount="1" accept=".doc,.docx,.pdf" :forceAcceptVerify="true"></j-upload></span>
|
||||||
|
</span>
|
||||||
|
<span style="float: right;">
|
||||||
|
<a-button type="primary" @click="addKcjsHandle(3)">提交</a-button>
|
||||||
|
<a-button type="primary" style="margin-left:10px;" @click="openJxrlPdf(jxdgInfo)">预览</a-button>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</a-card>
|
</a-card>
|
||||||
<a-card>
|
<a-card>
|
||||||
<div style="line-height: 30px; font-size: 18px; font-weight: bold;width:100%;">
|
<div style="line-height: 30px; font-size: 18px; font-weight: bold;width:100%;">
|
||||||
|
@ -105,6 +114,7 @@ const baseApiUrl = globSetting.domainUrl;
|
||||||
const jxdgInfo = ref({
|
const jxdgInfo = ref({
|
||||||
id:'',
|
id:'',
|
||||||
filePath:null,
|
filePath:null,
|
||||||
|
jxrlFilePath:null,
|
||||||
kcjs:''
|
kcjs:''
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -141,6 +151,14 @@ const baseApiUrl = globSetting.domainUrl;
|
||||||
window.open(url,"_blank")
|
window.open(url,"_blank")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function openJxrlPdf(record){
|
||||||
|
var url2 = getFileAccessHttpUrl(record.jxrlPdfPath)
|
||||||
|
console.log(`🚀 ~ openPdf ~ url2:`, url2)
|
||||||
|
let url = baseApiUrl+"/generic/web/viewer.html?file="+encodeURIComponent(url2);
|
||||||
|
window.open(url,"_blank")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//常见问题回调刷新
|
//常见问题回调刷新
|
||||||
function handleCjwtOk() {
|
function handleCjwtOk() {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<a-menu-item key="3" @click="gotoPageByName('jiaoXueDanYuanNeiRong')">教学单元内容</a-menu-item>
|
<a-menu-item key="3" @click="gotoPageByName('jiaoXueDanYuanNeiRong')">教学单元内容</a-menu-item>
|
||||||
</a-sub-menu>
|
</a-sub-menu>
|
||||||
<a-sub-menu key="sub2">
|
<a-sub-menu key="sub2">
|
||||||
<template #title>测验/作业</template>
|
<template #title>作业/测验</template>
|
||||||
<a-menu-item key="4" @click="getGzt('dqzy')">课程作业</a-menu-item>
|
<a-menu-item key="4" @click="getGzt('dqzy')">课程作业</a-menu-item>
|
||||||
<a-menu-item key="5" @click="getGzt('kcjc')">课程测验</a-menu-item>
|
<a-menu-item key="5" @click="getGzt('kcjc')">课程测验</a-menu-item>
|
||||||
</a-sub-menu>
|
</a-sub-menu>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<a-menu-item key="3" @click="getGzt('jxdynr')">教学单元内容</a-menu-item>
|
<a-menu-item key="3" @click="getGzt('jxdynr')">教学单元内容</a-menu-item>
|
||||||
</a-sub-menu>
|
</a-sub-menu>
|
||||||
<a-sub-menu key="sub2">
|
<a-sub-menu key="sub2">
|
||||||
<template #title>测验/作业</template>
|
<template #title>作业/测验</template>
|
||||||
<a-menu-item key="4" @click="getGzt('kczy')">课程作业</a-menu-item>
|
<a-menu-item key="4" @click="getGzt('kczy')">课程作业</a-menu-item>
|
||||||
<a-menu-item key="5" @click="getGzt('kccy')">课程测验</a-menu-item>
|
<a-menu-item key="5" @click="getGzt('kccy')">课程测验</a-menu-item>
|
||||||
</a-sub-menu>
|
</a-sub-menu>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="indexBackClass" id="stujlrkbDom">
|
<div class="indexBackClass" id="stujlrkbDom">
|
||||||
<div style="margin-top: 20px;">
|
<div style="margin-top: 20px;">
|
||||||
<span style="margin-left: 30px;font-size: 24px;font-weight: 600;">进六日课表</span>
|
<span style="margin-left: 30px;font-size: 24px;font-weight: 600;">近六日课表</span>
|
||||||
<span style="margin-left: 10px;"><a href="javascript:void(0);" @click="openChangeKcPage">修改课程提醒</a></span>
|
<span style="margin-left: 10px;"><a href="javascript:void(0);" @click="openChangeKcPage">修改课程提醒</a></span>
|
||||||
</div>
|
</div>
|
||||||
<a-divider></a-divider>
|
<a-divider></a-divider>
|
||||||
|
|
|
@ -14,13 +14,16 @@
|
||||||
<a-menu-item key="3">教学单元</a-menu-item>
|
<a-menu-item key="3">教学单元</a-menu-item>
|
||||||
</a-sub-menu>
|
</a-sub-menu>
|
||||||
<a-sub-menu key="sub4">
|
<a-sub-menu key="sub4">
|
||||||
<template #title>测验/作业</template>
|
<template #title>作业/测验</template>
|
||||||
<a-menu-item key="4" @click="getGzt('dqzy')">课程作业</a-menu-item>
|
<a-menu-item key="4" @click="getGzt('dqzy')">课程作业</a-menu-item>
|
||||||
<a-menu-item key="5" @click="getGzt('kcjc')">课程测验</a-menu-item>
|
<a-menu-item key="5" @click="getGzt('kcjc')">课程测验</a-menu-item>
|
||||||
</a-sub-menu>
|
</a-sub-menu>
|
||||||
<a-menu-item key="sub5">
|
<a-menu-item key="sub5">
|
||||||
<span @click="getGzt('dcwj')">问卷调查</span>
|
<span @click="getGzt('dcwj')">问卷调查</span>
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
|
<a-menu-item key="sub6">
|
||||||
|
<span @click="getGzt('tlq')">讨论区</span>
|
||||||
|
</a-menu-item>
|
||||||
<!-- <a-menu-item key="sub6">
|
<!-- <a-menu-item key="sub6">
|
||||||
<span>讨论区</span>
|
<span>讨论区</span>
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
|
@ -65,6 +68,8 @@
|
||||||
href = "/stuzy/studentMain";
|
href = "/stuzy/studentMain";
|
||||||
}else if(zytype=='tzgg'){//通知公告
|
}else if(zytype=='tzgg'){//通知公告
|
||||||
href = "/stuzy/StudentGonggaoList";
|
href = "/stuzy/StudentGonggaoList";
|
||||||
|
}else if(zytype=='tlq'){//讨论区
|
||||||
|
href = "/stuzy/stuTlq";
|
||||||
}
|
}
|
||||||
|
|
||||||
router.push({path:href,query: {rwbh,xqxn,type}});
|
router.push({path:href,query: {rwbh,xqxn,type}});
|
||||||
|
|
|
@ -21,9 +21,20 @@
|
||||||
<a-button type="primary" style="margin-left:10px;" @click="openPdf(jxdgInfo)">预览</a-button>
|
<a-button type="primary" style="margin-left:10px;" @click="openPdf(jxdgInfo)">预览</a-button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div>
|
</a-card>
|
||||||
<JeecgPdfView/>
|
<a-card>
|
||||||
</div> -->
|
<div>
|
||||||
|
<span style="float: left;line-height: 30px; font-size: 18px; font-weight: bold;">教学日历:</span>
|
||||||
|
<span style="width:300px;float: left;margin-top: 3px;">
|
||||||
|
<span v-if="jxdgInfo.jxrlFilePath">
|
||||||
|
<a-button :ghost="true" type="primary" preIcon="ant-design:download" size="small" @click="downloadFile(jxdgInfo.jxrlFilePath)"> 下载 </a-button>
|
||||||
|
</span>
|
||||||
|
<span v-else>暂无内容</span>
|
||||||
|
</span>
|
||||||
|
<span style="float: right;" v-if="jxdgInfo.jxrlFilePath">
|
||||||
|
<a-button type="primary" style="margin-left:10px;" @click="openJxrlPdf(jxdgInfo)">预览</a-button>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</a-card>
|
</a-card>
|
||||||
<a-card>
|
<a-card>
|
||||||
<div style="line-height: 30px; font-size: 18px; font-weight: bold;width:100%;">
|
<div style="line-height: 30px; font-size: 18px; font-weight: bold;width:100%;">
|
||||||
|
@ -131,7 +142,14 @@ const baseApiUrl = globSetting.domainUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
function openPdf(record){
|
function openPdf(record){
|
||||||
var url2 = getFileAccessHttpUrl(record.filePath)
|
var url2 = getFileAccessHttpUrl(record.pdfPath)
|
||||||
|
console.log(`🚀 ~ openPdf ~ url2:`, url2)
|
||||||
|
let url = baseApiUrl+"/generic/web/viewer.html?file="+encodeURIComponent(url2);
|
||||||
|
window.open(url,"_blank")
|
||||||
|
}
|
||||||
|
|
||||||
|
function openJxrlPdf(record){
|
||||||
|
var url2 = getFileAccessHttpUrl(record.jxrlPdfPath)
|
||||||
console.log(`🚀 ~ openPdf ~ url2:`, url2)
|
console.log(`🚀 ~ openPdf ~ url2:`, url2)
|
||||||
let url = baseApiUrl+"/generic/web/viewer.html?file="+encodeURIComponent(url2);
|
let url = baseApiUrl+"/generic/web/viewer.html?file="+encodeURIComponent(url2);
|
||||||
window.open(url,"_blank")
|
window.open(url,"_blank")
|
||||||
|
|
|
@ -158,7 +158,7 @@ export const formSchema: FormSchema[] = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '外网通过率',
|
label: '网络通过率',
|
||||||
field: 'wwtgl',
|
field: 'wwtgl',
|
||||||
component: 'InputNumber',
|
component: 'InputNumber',
|
||||||
dynamicRules: ({model,schema}) => {
|
dynamicRules: ({model,schema}) => {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
<a-form-item label="作业名称">
|
<a-form-item label="作业名称">
|
||||||
<a-input placeholder="请输入作业名称" v-model:value="queryParam.title"></a-input>
|
<j-input placeholder="请输入作业名称" v-model:value="queryParam.title"></j-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
|
@ -65,6 +65,7 @@
|
||||||
import { downloadFile } from '/@/utils/common/renderUtils';
|
import { downloadFile } from '/@/utils/common/renderUtils';
|
||||||
import ZyInfoModal from './components/ZyInfoModal.vue'
|
import ZyInfoModal from './components/ZyInfoModal.vue'
|
||||||
import { useMessage } from "/@/hooks/web/useMessage";
|
import { useMessage } from "/@/hooks/web/useMessage";
|
||||||
|
import { JInput } from '/@/components/Form';
|
||||||
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
||||||
import ZyInfoStudentListModal from '/@/views/zy/zyInfoStudent/ZyInfoStudentListModal.vue';
|
import ZyInfoStudentListModal from '/@/views/zy/zyInfoStudent/ZyInfoStudentListModal.vue';
|
||||||
import { defHttp } from '/@/utils/http/axios';
|
import { defHttp } from '/@/utils/http/axios';
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
<a-form-item label="作业名称">
|
<a-form-item label="作业名称">
|
||||||
<a-input placeholder="请输入作业名称" v-model:value="queryParam.title"></a-input>
|
<j-input placeholder="请输入作业名称" v-model:value="queryParam.title"></j-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- <a-col :lg="8">
|
<!-- <a-col :lg="8">
|
||||||
|
@ -84,6 +84,7 @@
|
||||||
import { defHttp } from '/@/utils/http/axios';
|
import { defHttp } from '/@/utils/http/axios';
|
||||||
import { useMessage } from "/@/hooks/web/useMessage";
|
import { useMessage } from "/@/hooks/web/useMessage";
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
|
import { JInput } from '/@/components/Form';
|
||||||
import ZyInfoModal from './components/ZyInfoModal.vue';
|
import ZyInfoModal from './components/ZyInfoModal.vue';
|
||||||
import ZyInfoStudentListModal from '/@/views/zy/zyInfoStudent/ZyInfoStudentListModal.vue';
|
import ZyInfoStudentListModal from '/@/views/zy/zyInfoStudent/ZyInfoStudentListModal.vue';
|
||||||
import ZyInfoStudentModal from '/@/views/zy/zyInfoStudent/components/ZyInfoStudentModal.vue';
|
import ZyInfoStudentModal from '/@/views/zy/zyInfoStudent/components/ZyInfoStudentModal.vue';
|
||||||
|
|
|
@ -40,7 +40,11 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="网络通过率" v-bind="validateInfos.wwtgl">
|
<a-form-item label="网络通过率" v-bind="validateInfos.wwtgl">
|
||||||
<a-input-number v-model:value="formData.wwtgl" placeholder="请输入网络通过率" style="width: 100%" :disabled="disabled"/>
|
<a-input-number v-model:value="formData.wwtgl" placeholder="请输入网络通过率" style="width: 100%" :disabled="disabled">
|
||||||
|
<template #addonAfter>
|
||||||
|
%
|
||||||
|
</template>
|
||||||
|
</a-input-number>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
||||||
</a-col>
|
</a-col>
|
||||||
|
@ -52,7 +56,11 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="课程内通过率" v-bind="validateInfos.nwtgl">
|
<a-form-item label="课程内通过率" v-bind="validateInfos.nwtgl">
|
||||||
<a-input-number v-model:value="formData.nwtgl" placeholder="请输入课程内通过率" style="width: 100%" :disabled="disabled"/>
|
<a-input-number v-model:value="formData.nwtgl" placeholder="请输入课程内通过率" style="width: 100%" :disabled="disabled">
|
||||||
|
<template #addonAfter>
|
||||||
|
%
|
||||||
|
</template>
|
||||||
|
</a-input-number>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
|
@ -63,7 +71,11 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="Aigc通过率" v-bind="validateInfos.aigctgl">
|
<a-form-item label="Aigc通过率" v-bind="validateInfos.aigctgl">
|
||||||
<a-input-number v-model:value="formData.aigctgl" placeholder="请输入Aigc通过率" style="width: 100%" :disabled="disabled"/>
|
<a-input-number v-model:value="formData.aigctgl" placeholder="请输入Aigc通过率" style="width: 100%" :disabled="disabled">
|
||||||
|
<template #addonAfter>
|
||||||
|
%
|
||||||
|
</template>
|
||||||
|
</a-input-number>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
@ -189,7 +201,7 @@
|
||||||
|
|
||||||
if(model.wwcc=='1'){
|
if(model.wwcc=='1'){
|
||||||
if(!model.wwtgl){
|
if(!model.wwtgl){
|
||||||
createMessage.warning('外网通过率不能为空');
|
createMessage.warning('网络通过率不能为空');
|
||||||
confirmLoading.value = false;
|
confirmLoading.value = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,189 @@
|
||||||
|
<template>
|
||||||
|
<div style="margin-top:10px;background:#fff;">
|
||||||
|
<!--查询区域-->
|
||||||
|
<div class="jeecg-basic-table-form-container" >
|
||||||
|
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :lg="8" style="margin-top:10px;">
|
||||||
|
<a-form-item label="标题">
|
||||||
|
<j-input placeholder="请输入标题" v-model:value="queryParam.title"></j-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24" style="margin-top:10px;">
|
||||||
|
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
|
||||||
|
<a-col :lg="6">
|
||||||
|
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
|
||||||
|
</a-col>
|
||||||
|
</span>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
</a-form>
|
||||||
|
</div>
|
||||||
|
<!--引用表格-->
|
||||||
|
<a-row style="width:100%;display: block;padding:10px;min-height: 300px">
|
||||||
|
<a-col :span="24" v-for="(item,index) in dataSource" :key="index">
|
||||||
|
<!-- <a-card> -->
|
||||||
|
<a-row>
|
||||||
|
<a-col :span="24">
|
||||||
|
<span style="float: left;">{{index+1}}.{{item.title}}</span>
|
||||||
|
<span style="float: right;">
|
||||||
|
<a title="详情" @click="handleDetail(item)"><Icon icon="ant-design:snippets-outlined" /></a>
|
||||||
|
</span>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="24" v-if="item.picPath.length > 0">
|
||||||
|
<j-upload v-model:value="item.picPath" fileType="image" :isImageMode="false" :maxCount="1" :buttonVisible="false" disabled="true"></j-upload>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="24" v-if="item.filePath.length > 0">
|
||||||
|
<j-upload v-model:value="item.filePath" :maxCount="1" :buttonVisible="false" disabled="true"></j-upload>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<!-- <a-divider style="height: 1px; background-color: #7cb305" /> -->
|
||||||
|
<a-divider style="border-color: #7cb305" dashed />
|
||||||
|
<!-- </a-card> -->
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="24" v-show="dataSource.length>0">
|
||||||
|
<a-pagination v-model="current" :total="total" @change="handlePageChange" :pageSize="pageSize" style="text-align: right;"/>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="24" v-show="dataSource.length==0">
|
||||||
|
<a-empty/>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<ZyTlqModal ref="registerModal" @success="handleSuccess" ></ZyTlqModal>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" name="zyTlq-zyTlq" setup>
|
||||||
|
import { ref, reactive, onMounted, unref } from 'vue';
|
||||||
|
import { columns } from './ZyTlq.data';
|
||||||
|
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './ZyTlq.api';
|
||||||
|
import { downloadFile } from '/@/utils/common/renderUtils';
|
||||||
|
import ZyTlqModal from './components/ZyTlqModal.vue'
|
||||||
|
import { Pagination, Empty } from 'ant-design-vue';
|
||||||
|
import { defHttp } from '/@/utils/http/axios';
|
||||||
|
import { useRouter } from 'vue-router';
|
||||||
|
import { JInput } from '/@/components/Form';
|
||||||
|
import JUpload from '/@/components/Form/src/jeecg/components/JUpload/JUpload.vue';
|
||||||
|
|
||||||
|
const queryParam = ref<any>({});
|
||||||
|
const toggleSearchStatus = ref<boolean>(false);
|
||||||
|
const registerModal = ref();
|
||||||
|
const dataSource = ref<any>([]);
|
||||||
|
const current = ref<number>(0);
|
||||||
|
const total = ref<number>(0);
|
||||||
|
const pageNo = ref<number>(0);
|
||||||
|
const pageSize = ref<number>(3);
|
||||||
|
const APagination = Pagination;
|
||||||
|
const { currentRoute } = useRouter();
|
||||||
|
const { query } = unref(currentRoute);
|
||||||
|
const { rwbh,xqxn } = query;//获取传递参数
|
||||||
|
const labelCol = reactive({
|
||||||
|
xs: { span: 24 },
|
||||||
|
sm: { span: 7 },
|
||||||
|
});
|
||||||
|
const wrapperCol = reactive({
|
||||||
|
xs: { span: 24 },
|
||||||
|
sm: { span: 16 },
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发布
|
||||||
|
*/
|
||||||
|
function handleFabu(record) {
|
||||||
|
defHttp.post({ url: '/zyTlq/zyTlq/edit', params: { id: record.id,sffb: "6" } }).then(res => {
|
||||||
|
total.value = 1;
|
||||||
|
pageNo.value = 0;
|
||||||
|
loadData(1);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
//新增翻页
|
||||||
|
function handlePageChange(page: number) {
|
||||||
|
loadData(page);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 新增事件
|
||||||
|
*/
|
||||||
|
function handleAdd() {
|
||||||
|
registerModal.value.disableSubmit = false;
|
||||||
|
registerModal.value.add();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑事件
|
||||||
|
*/
|
||||||
|
function handleEdit(record: Recordable) {
|
||||||
|
registerModal.value.disableSubmit = false;
|
||||||
|
registerModal.value.edit(record);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 详情
|
||||||
|
*/
|
||||||
|
function handleDetail(record: Recordable) {
|
||||||
|
var url = "/site/dqkcTlqjh?id="+record.id;
|
||||||
|
window.open(url,"_blank")
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除事件
|
||||||
|
*/
|
||||||
|
async function handleDelete(record) {
|
||||||
|
await deleteOne({ id: record.id }, handleSuccess);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成功回调
|
||||||
|
*/
|
||||||
|
function handleSuccess() {
|
||||||
|
loadData(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询
|
||||||
|
*/
|
||||||
|
function searchQuery() {
|
||||||
|
loadData(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 重置
|
||||||
|
*/
|
||||||
|
function searchReset() {
|
||||||
|
queryParam.value = {};
|
||||||
|
//刷新数据
|
||||||
|
loadData(1);
|
||||||
|
}
|
||||||
|
function loadData(arg){
|
||||||
|
defHttp.get({ url: '/zyTlq/zyTlq/list', params: { pageSize: 3,pageNo:arg, rwbh:rwbh,xqxn:xqxn,sffb:'1',column:'createTime',order:'desc' } }).then((res) => {
|
||||||
|
console.log(`🚀 ~ defHttp.get ~ res:`, res)
|
||||||
|
dataSource.value = res.records;
|
||||||
|
total.value = res.total;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
//进入就加载
|
||||||
|
onMounted(() => {
|
||||||
|
loadData(1);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.jeecg-basic-table-form-container {
|
||||||
|
.table-page-search-submitButtons {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.query-group-cust{
|
||||||
|
width: calc(50% - 15px);
|
||||||
|
min-width: 100px !important;
|
||||||
|
}
|
||||||
|
.query-group-split-cust{
|
||||||
|
width: 30px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -16,23 +16,27 @@
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-divider style="border-color: #7cb305" dashed />
|
<a-divider style="border-color: #7cb305" dashed />
|
||||||
</div>
|
</div>
|
||||||
<div style="width:98%;" v-for="index in 0">
|
<div style="width:98%;" v-for="(item,index) in dataSource">
|
||||||
<a-comment style="padding: 20px;">
|
<a-comment style="padding: 20px;">
|
||||||
<template #author>Han Solo</template>
|
<template #author>{{item.studentName}}</template>
|
||||||
<template #datetime>
|
<template #datetime>
|
||||||
<span>{{dayjs().format('YYYY-MM-DD HH:mm:ss')}}</span>
|
<span>{{item.createTime}}</span>
|
||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
<p>
|
<p>
|
||||||
We supply a series of design principles, practical patterns and high quality design
|
{{item.content}}
|
||||||
resources (Sketch and Axure), to help people create their product prototypes beautifully and
|
</p>
|
||||||
efficiently.
|
<p v-if="item.picPath" style="margin-top: 20px;">
|
||||||
|
<j-upload v-model:value="item.picPath" fileType="image" :isImageMode="false" :maxCount="1" :buttonVisible="false" disabled="true" style="width:300px;"></j-upload>
|
||||||
|
</p>
|
||||||
|
<p v-if="item.filePath" style="margin-top: 20px;">
|
||||||
|
<j-upload v-model:value="item.filePath" :maxCount="1" :buttonVisible="false" disabled="true" ></j-upload>
|
||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
</a-comment>
|
</a-comment>
|
||||||
<a-divider style="border-color: #7cb305" dashed />
|
<a-divider style="border-color: #7cb305" dashed />
|
||||||
</div>
|
</div>
|
||||||
<div style="padding: 20px;background: #fafafa">
|
<div style="padding: 40px;background: #fafafa">
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div style="font-size: 18px;font-weight: 700;">发表内容:</div>
|
<div style="font-size: 18px;font-weight: 700;">发表内容:</div>
|
||||||
|
@ -46,10 +50,10 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div style="font-size: 18px;font-weight: 700;">附件:</div>
|
<div style="font-size: 18px;font-weight: 700;">附件:</div>
|
||||||
<div><j-upload v-model:value="formData.picPath" :maxCount="9" ></j-upload></div>
|
<div><j-upload v-model:value="formData.filePath" :maxCount="9" ></j-upload></div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-button type="primary">发表</a-button>
|
<a-button type="primary" @click="submitForm">发表</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,18 +129,25 @@ dayjs.extend(relativeTime);
|
||||||
console.log(`🚀 ~ awaitdefHttp.get ~ res:`, res)
|
console.log(`🚀 ~ awaitdefHttp.get ~ res:`, res)
|
||||||
tlqInfo.value = res;
|
tlqInfo.value = res;
|
||||||
});
|
});
|
||||||
// loadData(1)
|
|
||||||
}
|
}
|
||||||
async function loadData(arg){
|
function loadData(arg){
|
||||||
await defHttp.get({ url: '/zyTlqContent/zyTlqContent/list', params: { pageSize: pageSize,pageNo:arg, mainId:id,column:'createTime',order:'desc' } }).then((res) => {
|
defHttp.get({ url: '/zyTlqContent/zyTlqContent/list', params: { mainId:id+"",column:'createTime',order:'desc' } }).then((res) => {
|
||||||
console.log(`🚀 ~ defHttp.get ~ res:`, res)
|
console.log(`🚀 ~ defHttp.get ~ res:`, res)
|
||||||
dataSource.value = res.records;
|
dataSource.value = res.records;
|
||||||
total.value = res.total;
|
total.value = res.total;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function submitForm(){
|
||||||
|
formData.value.mainId = id;
|
||||||
|
defHttp.post({ url: '/zyTlqContent/zyTlqContent/add', params: formData.value}).then((res) => {
|
||||||
|
loadData(1);
|
||||||
|
});
|
||||||
|
}
|
||||||
//进入就加载
|
//进入就加载
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getTlqInfo();
|
getTlqInfo();
|
||||||
|
loadData(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -203,4 +214,17 @@ dayjs.extend(relativeTime);
|
||||||
margin: 0 8px 8px 0;
|
margin: 0 8px 8px 0;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
/deep/.ant-upload.ant-upload-select-picture-card {
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
margin-right: 8px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: top;
|
||||||
|
background-color: #fafafa;
|
||||||
|
border: 1px dashed #d9d9d9;
|
||||||
|
border-radius: 2px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: border-color 0.3s;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -0,0 +1,230 @@
|
||||||
|
<template>
|
||||||
|
<div id="siteMain">
|
||||||
|
<div id="maxSite">
|
||||||
|
<a-layout style="height: calc(100vh - 30px)">
|
||||||
|
<headerPage/>
|
||||||
|
<div style="margin-top:10px;background:#fff;">
|
||||||
|
<div style="padding: 20px;width: 98%;">
|
||||||
|
<a-row>
|
||||||
|
<a-col :span="24"><span style="line-height:20px;font-size:18px;font-weight:bold;">{{tlqInfo.title}}</span></a-col>
|
||||||
|
<a-col :span="24" v-if="tlqInfo.picPath" style="margin-top:20px;">
|
||||||
|
<j-upload v-model:value="tlqInfo.picPath" fileType="image" :isImageMode="false" :maxCount="1" :buttonVisible="false" disabled="true" style="width:300px;"></j-upload>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="24" v-if="tlqInfo.filePath" style="margin-top:20px;">
|
||||||
|
<j-upload v-model:value="tlqInfo.filePath" :maxCount="1" :buttonVisible="false" disabled="true"></j-upload>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-divider style="border-color: #7cb305" dashed />
|
||||||
|
</div>
|
||||||
|
<div style="width:98%;" v-for="(item,index) in dataSource">
|
||||||
|
<a-comment style="padding: 20px;">
|
||||||
|
<template #author>{{item.studentName}}</template>
|
||||||
|
<template #datetime>
|
||||||
|
<span>{{item.createTime}}</span>
|
||||||
|
</template>
|
||||||
|
<template #content>
|
||||||
|
<p>
|
||||||
|
{{item.content}}
|
||||||
|
</p>
|
||||||
|
<p v-if="item.picPath" style="margin-top: 20px;">
|
||||||
|
<j-upload v-model:value="item.picPath" fileType="image" :isImageMode="false" :maxCount="1" :buttonVisible="false" disabled="true" style="width:300px;"></j-upload>
|
||||||
|
</p>
|
||||||
|
<p v-if="item.filePath" style="margin-top: 20px;">
|
||||||
|
<j-upload v-model:value="item.filePath" :maxCount="1" :buttonVisible="false" disabled="true" ></j-upload>
|
||||||
|
</p>
|
||||||
|
</template>
|
||||||
|
</a-comment>
|
||||||
|
<a-divider style="border-color: #7cb305" dashed />
|
||||||
|
</div>
|
||||||
|
<div style="padding: 40px;background: #fafafa">
|
||||||
|
<a-row>
|
||||||
|
<a-col :span="24">
|
||||||
|
<div style="font-size: 18px;font-weight: 700;">发表内容:</div>
|
||||||
|
<div><a-textarea v-model:value="formData.content" style="height: 100px"></a-textarea></div>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="12">
|
||||||
|
<div style="font-size: 18px;font-weight: 700;">图片:</div>
|
||||||
|
<div>
|
||||||
|
<j-upload v-model:value="formData.picPath" fileType="image" :maxCount="9" ></j-upload>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="12">
|
||||||
|
<div style="font-size: 18px;font-weight: 700;">附件:</div>
|
||||||
|
<div><j-upload v-model:value="formData.filePath" :maxCount="9" ></j-upload></div>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="24">
|
||||||
|
<a-button type="primary" @click="submitForm">发表</a-button>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<footerPage style="margin-top:10px;"/>
|
||||||
|
</a-layout>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" name="zyTlq-zyTlq" setup>
|
||||||
|
import { ref, reactive, onMounted, unref ,defineComponent } from 'vue';
|
||||||
|
import { Pagination, Empty } from 'ant-design-vue';
|
||||||
|
import { defHttp } from '/@/utils/http/axios';
|
||||||
|
import { useRouter } from 'vue-router';
|
||||||
|
import { LikeFilled, LikeOutlined, DislikeFilled, DislikeOutlined } from '@ant-design/icons-vue';
|
||||||
|
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 dayjs from 'dayjs';
|
||||||
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
||||||
|
|
||||||
|
import { Comment } from 'ant-design-vue';
|
||||||
|
|
||||||
|
dayjs.extend(relativeTime);
|
||||||
|
const queryParam = ref<any>({});
|
||||||
|
const toggleSearchStatus = ref<boolean>(false);
|
||||||
|
const registerModal = ref();
|
||||||
|
const dataSource = ref<any>([]);
|
||||||
|
const tlqInfo = ref<any>({});
|
||||||
|
const formData = ref<any>({});
|
||||||
|
const current = ref<number>(0);
|
||||||
|
const total = ref<number>(0);
|
||||||
|
const pageNo = ref<number>(0);
|
||||||
|
const pageSize = ref<number>(50);
|
||||||
|
const APagination = Pagination;
|
||||||
|
const AComment = Comment;
|
||||||
|
const { currentRoute } = useRouter();
|
||||||
|
const { query } = unref(currentRoute);
|
||||||
|
const { id } = query;//获取传递参数
|
||||||
|
const labelCol = reactive({
|
||||||
|
xs: { span: 24 },
|
||||||
|
sm: { span: 7 },
|
||||||
|
});
|
||||||
|
const wrapperCol = reactive({
|
||||||
|
xs: { span: 24 },
|
||||||
|
sm: { span: 4 },
|
||||||
|
});
|
||||||
|
|
||||||
|
const likes = ref<number>(0);
|
||||||
|
const dislikes = ref<number>(0);
|
||||||
|
const action = ref<string>();
|
||||||
|
|
||||||
|
const like = () => {
|
||||||
|
likes.value = 1;
|
||||||
|
dislikes.value = 0;
|
||||||
|
action.value = 'liked';
|
||||||
|
};
|
||||||
|
|
||||||
|
const dislike = () => {
|
||||||
|
likes.value = 0;
|
||||||
|
dislikes.value = 1;
|
||||||
|
action.value = 'disliked';
|
||||||
|
};
|
||||||
|
|
||||||
|
//新增翻页
|
||||||
|
function handlePageChange(page: number) {
|
||||||
|
loadData(page);
|
||||||
|
}
|
||||||
|
|
||||||
|
async function getTlqInfo(){
|
||||||
|
await defHttp.get({ url: '/zyTlq/zyTlq/queryById', params: { id:id }}).then((res) => {
|
||||||
|
console.log(`🚀 ~ awaitdefHttp.get ~ res:`, res)
|
||||||
|
tlqInfo.value = res;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function loadData(arg){
|
||||||
|
defHttp.get({ url: '/zyTlqContent/zyTlqContent/list', params: { mainId:id+"",column:'createTime',order:'desc' } }).then((res) => {
|
||||||
|
console.log(`🚀 ~ defHttp.get ~ res:`, res)
|
||||||
|
dataSource.value = res.records;
|
||||||
|
total.value = res.total;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function submitForm(){
|
||||||
|
formData.value.mainId = id;
|
||||||
|
defHttp.post({ url: '/zyTlqContent/zyTlqContent/add', params: formData.value}).then((res) => {
|
||||||
|
loadData(1);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
//进入就加载
|
||||||
|
onMounted(() => {
|
||||||
|
getTlqInfo();
|
||||||
|
loadData(1);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
#siteMain {
|
||||||
|
// font-size: ;
|
||||||
|
// height: 100%;
|
||||||
|
background: #f3f3f4;
|
||||||
|
#maxSite {
|
||||||
|
//最大宽度
|
||||||
|
max-width: 1070px;
|
||||||
|
min-height: calc(100vh);
|
||||||
|
//居中
|
||||||
|
margin: 0 auto;
|
||||||
|
.rowGutter{
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-layout-header {
|
||||||
|
color: #fff;
|
||||||
|
background: #1ab394;
|
||||||
|
}
|
||||||
|
.ant-layout-footer {
|
||||||
|
line-height: 1.5;
|
||||||
|
background: #FFF;
|
||||||
|
}
|
||||||
|
.ant-layout-sider {
|
||||||
|
color: #fff;
|
||||||
|
line-height: 120px;
|
||||||
|
background: #3ba0e9;
|
||||||
|
}
|
||||||
|
.ant-layout-content {
|
||||||
|
min-height: 120px;
|
||||||
|
color: #000;
|
||||||
|
line-height: 120px;
|
||||||
|
background: #f3f3f4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.jeecg-basic-table-form-container {
|
||||||
|
.table-page-search-submitButtons {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.query-group-cust{
|
||||||
|
width: calc(50% - 15px);
|
||||||
|
min-width: 100px !important;
|
||||||
|
}
|
||||||
|
.query-group-split-cust{
|
||||||
|
width: 30px;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/deep/.ant-upload-list-picture-card-container {
|
||||||
|
display: inline-block;
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
margin: 0 8px 8px 0;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
/deep/.ant-upload.ant-upload-select-picture-card {
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
margin-right: 8px;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: top;
|
||||||
|
background-color: #fafafa;
|
||||||
|
border: 1px dashed #d9d9d9;
|
||||||
|
border-radius: 2px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: border-color 0.3s;
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -98,7 +98,7 @@
|
||||||
* 发布
|
* 发布
|
||||||
*/
|
*/
|
||||||
function handleFabu(record) {
|
function handleFabu(record) {
|
||||||
defHttp.post({ url: '/zyTlq/zyTlq/edit', params: { id: record.id,sffb: "6" } }).then(res => {
|
defHttp.post({ url: '/zyTlq/zyTlq/edit', params: { id: record.id,sffb: "1" } }).then(res => {
|
||||||
total.value = 1;
|
total.value = 1;
|
||||||
pageNo.value = 0;
|
pageNo.value = 0;
|
||||||
loadData(1);
|
loadData(1);
|
||||||
|
|
Loading…
Reference in New Issue