-- 审核bug

This commit is contained in:
yuping
2022-11-30 02:22:18 +08:00
parent 30ec2f1560
commit 721062c602
5 changed files with 374 additions and 224 deletions

View File

@@ -16,9 +16,8 @@
<div class="inpbox1"> <div class="inpbox1">
<a-select <a-select
v-model:value="valueproj" v-model:value="valueproj"
placeholder="请选择内容分类" value-key="value"
@change="handleChangeproj" :options="[{label:'请选择内容分类',value:''},...calssifyList]"
:options="optionsproj"
/> />
</div> </div>
<div class="inpbox1"> <div class="inpbox1">
@@ -89,23 +88,16 @@
</div> </div>
</template> </template>
<script> <script>
import { reactive, toRefs, onMounted } from "vue"; import {reactive, toRefs, onMounted} from "vue";
import { courseListView } from "../../api/indexAudit"; import {courseListView} from "../../api/indexAudit";
import * as api1 from "@/api/index1";
export default { export default {
name: "CoursereViewed", name: "CoursereViewed",
setup() { setup() {
const state = reactive({ const state = reactive({
optionsproj: [ calssifyList: [], //分类字典
{
value: "0",
label: "Jack",
},
{
value: "1",
label: "rose",
},
],
valueproj: "", valueproj: "",
valuecreater: "", valuecreater: "",
valuename: "", valuename: "",
@@ -136,6 +128,7 @@ export default {
dataIndex: "content", dataIndex: "content",
key: "content", key: "content",
align: "center", align: "center",
customRender: ({text}) => state.calssifyList.find(e => e.value == text)?.label,
}, },
{ {
title: "审核状态", title: "审核状态",
@@ -187,7 +180,7 @@ export default {
const getList = () => { const getList = () => {
let objn = { let objn = {
auditStatus: 0, auditStatus: 0,
// categoryId: 0, categoryId: state.valueproj,
createName: state.valuecreater, createName: state.valuecreater,
name: state.valuename, name: state.valuename,
pageNo: state.currentPage, pageNo: state.currentPage,
@@ -196,17 +189,18 @@ export default {
courseListView(objn) courseListView(objn)
.then((res) => { .then((res) => {
console.log("获取已审核课程成功", res.data.data); console.log("获取已审核课程成功", res.data.data);
let result = res.data.data.rows;
state.total = res.data.data.total; state.total = res.data.data.total;
if (res.data.data.total > 0) { setTableData(res.data.data.rows);
setTableData(result);
}
}) })
.catch((err) => { .catch((err) => {
console.log("获取已审核课程失败", err); console.log("获取已审核课程失败", err);
}); });
}; };
const setTableData = (table) => { const setTableData = (table) => {
if(!table || !table.length){
state.tableData1 = []
return
}
let data = table; let data = table;
let array = []; let array = [];
data.map((item) => { data.map((item) => {
@@ -234,27 +228,30 @@ export default {
state.tableData1 = array; state.tableData1 = array;
}; };
const reset = () => { const reset = () => {
(state.valueproj = null), (state.valueproj = ''),
(state.valuecreater = null), (state.valuecreater = null),
(state.valuename = null), (state.valuename = null),
getList(); getList();
}; };
const handleChangeproj = (value, item) => {
console.log(value, item);
state.valueproj = item.value;
};
const changePagination = (pagina) => { const changePagination = (pagina) => {
state.currentPage = pagina; state.currentPage = pagina;
getList(); getList();
}; };
onMounted(() => { const getDictList = (param) => api1.getDict({
pageNo: 1,
pageSize: 20,
setCode: param
}).then((res) => res.data.data.rows)
onMounted(async () => {
getList(); getList();
//获取分类列表
state.calssifyList = (await getDictList("faceclassClass")).map(e => ({label: e.dictName, value: e.dictCode}))
}); });
return { return {
...toRefs(state), ...toRefs(state),
getList, getList,
setTableData, setTableData,
handleChangeproj,
reset, reset,
changePagination, changePagination,
}; };
@@ -264,8 +261,10 @@ export default {
<style lang="scss"> <style lang="scss">
.coursereviewed { .coursereviewed {
width: 100%; width: 100%;
.tmpl { .tmpl {
width: 100%; width: 100%;
.tmpl_header { .tmpl_header {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@@ -274,33 +273,39 @@ export default {
margin-left: 32px; margin-left: 32px;
margin-right: 32px; margin-right: 32px;
.tmplh_inp { .tmplh_inp {
.inpbox { .inpbox {
display: flex; display: flex;
margin-top: 32px; margin-top: 32px;
flex-wrap: wrap; flex-wrap: wrap;
.inpbox1 { .inpbox1 {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-right: 24px; margin-right: 24px;
margin-top: 10px; margin-top: 10px;
.ant-select-selector { .ant-select-selector {
border-radius: 8px; border-radius: 8px;
width: 270px; width: 270px;
height: 40px; height: 40px;
padding-top: 5px; padding-top: 5px;
} }
span { span {
white-space: nowrap; white-space: nowrap;
} }
} }
} }
} }
.tmplh_btn { .tmplh_btn {
display: flex; display: flex;
// margin-left: 38px; // margin-left: 38px;
margin-top: 42px; margin-top: 42px;
.btn { .btn {
padding: 0px 26px 0px 26px; padding: 0px 26px 0px 26px;
height: 38px; height: 38px;
@@ -311,72 +316,90 @@ export default {
margin-right: 14px; margin-right: 14px;
cursor: pointer; cursor: pointer;
flex-shrink: 0; flex-shrink: 0;
.search { .search {
background-size: 100%; background-size: 100%;
} }
.btnText { .btnText {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 36px; line-height: 36px;
margin-left: 5px; margin-left: 5px;
} }
.btnText1 { .btnText1 {
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
} }
.btnText2 { .btnText2 {
color: rgba(64, 158, 255, 1); color: rgba(64, 158, 255, 1);
} }
} }
.btn1 { .btn1 {
background: #409eff; background: #409eff;
.search { .search {
width: 15px; width: 15px;
height: 17px; height: 17px;
background-image: url("../../assets/images/courseManage/search0.png"); background-image: url("../../assets/images/courseManage/search0.png");
} }
} }
.btn2 { .btn2 {
background: #ffffff; background: #ffffff;
border: 1px solid #388be1; border: 1px solid #388be1;
.search { .search {
width: 16px; width: 16px;
height: 18px; height: 18px;
background-image: url("../../assets/images/courseManage/reset1.png"); background-image: url("../../assets/images/courseManage/reset1.png");
} }
} }
.btn1:hover { .btn1:hover {
background: rgb(255, 255, 255); background: rgb(255, 255, 255);
border: 1px solid #388be1; border: 1px solid #388be1;
.search { .search {
background-image: url("../../assets/images/courseManage/search1.png"); background-image: url("../../assets/images/courseManage/search1.png");
} }
.btnText { .btnText {
color: rgba(64, 158, 255, 1); color: rgba(64, 158, 255, 1);
} }
} }
.btn2:hover { .btn2:hover {
background: rgba(64, 158, 255, 1); background: rgba(64, 158, 255, 1);
.search { .search {
background-image: url("../../assets/images/courseManage/reset0.png"); background-image: url("../../assets/images/courseManage/reset0.png");
} }
.btnText { .btnText {
color: #ffffff; color: #ffffff;
} }
} }
} }
} }
.tmpl_body { .tmpl_body {
padding: 0px 30px; padding: 0px 30px;
.tmpl_tabbox { .tmpl_tabbox {
.operation { .operation {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
color: #4ea6ff; color: #4ea6ff;
.nselect { .nselect {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
display: flex; display: flex;
.jc { .jc {
margin-left: 20px; margin-left: 20px;
white-space: nowrap; white-space: nowrap;
@@ -385,6 +408,7 @@ export default {
} }
} }
} }
.pa { .pa {
width: 100%; width: 100%;
margin-top: 20px; margin-top: 20px;

View File

@@ -16,9 +16,7 @@
<div class="inpbox1"> <div class="inpbox1">
<a-select <a-select
v-model:value="valueproj" v-model:value="valueproj"
placeholder="请选择内容分类" :options="[{label:'请选择内容分类',value:''},...calssifyList]"
@change="handleChangeproj"
:options="optionsproj"
/> />
</div> </div>
<div class="inpbox1"> <div class="inpbox1">
@@ -115,7 +113,7 @@
<div class="item" style="margin-top: 20px"> <div class="item" style="margin-top: 20px">
<div class="left">审核意见</div> <div class="left">审核意见</div>
<div class="rig"> <div class="rig">
<a-textarea v-model:value="valueSugg" :rows="4" /> <a-textarea v-model:value="valueSugg" :rows="4"/>
</div> </div>
</div> </div>
</div> </div>
@@ -320,7 +318,7 @@
:key="index" :key="index"
> >
<div class="file_img"> <div class="file_img">
<img :src="item.img" /> <img :src="item.img"/>
</div> </div>
<div class="file_detail"> <div class="file_detail">
<div class="file_name"> <div class="file_name">
@@ -402,12 +400,14 @@
</div> </div>
</template> </template>
<script> <script>
import { reactive, toRefs, onMounted } from "vue"; import {reactive, toRefs, onMounted} from "vue";
import { list, courseAuditView } from "../../api/indexAudit"; import {list, courseAuditView} from "../../api/indexAudit";
import { toDate } from "../../api/method"; import {toDate} from "../../api/method";
import { message } from "ant-design-vue"; import {message} from "ant-design-vue";
import { Editor, Toolbar } from "@wangeditor/editor-for-vue"; import {Editor, Toolbar} from "@wangeditor/editor-for-vue";
import { iframeUrl } from "../../api/method"; import {iframeUrl} from "../../api/method";
import * as api1 from "@/api/index1";
export default { export default {
name: "CoursereViewedN", name: "CoursereViewedN",
components: { components: {
@@ -426,6 +426,7 @@ export default {
label: "rose", label: "rose",
}, },
], ],
calssifyList: [], //分类字典
valueproj: "", valueproj: "",
valuecreater: "", valuecreater: "",
valuename: "", valuename: "",
@@ -465,6 +466,7 @@ export default {
dataIndex: "content", dataIndex: "content",
key: "content", key: "content",
align: "center", align: "center",
customRender: ({text}) => state.calssifyList.find(e => e.value == text)?.label,
}, },
{ {
title: "状态", title: "状态",
@@ -526,11 +528,21 @@ export default {
iframeUrl: iframeUrl, iframeUrl: iframeUrl,
}); });
/*
* 获取字典列表
* param faceclassPic | faceclassClass | faceclassScene
* */
const getDictList = (param) => api1.getDict({
pageNo: 1,
pageSize: 20,
setCode: param
}).then((res) => res.data.data.rows)
const getFaceList = () => { const getFaceList = () => {
let objn = { let objn = {
auditStatus: 1, auditStatus: 1,
// beginTime: 0, // beginTime: 0,
// categoryId: 0, categoryId: state.valueproj,
createName: state.valuecreater, createName: state.valuecreater,
// endTime: 0, // endTime: 0,
name: state.valuename, name: state.valuename,
@@ -552,6 +564,10 @@ export default {
}); });
}; };
const setFaceData = (tableData) => { const setFaceData = (tableData) => {
if(!tableData || !tableData.length){
state.tableData1 = []
return
}
let data = tableData; let data = tableData;
let array = []; let array = [];
data.map((item) => { data.map((item) => {
@@ -581,7 +597,7 @@ export default {
state.tableData1 = array; state.tableData1 = array;
}; };
const reset = () => { const reset = () => {
state.valueproj = null; state.valueproj = '';
state.valuecreater = null; state.valuecreater = null;
state.valuename = null; state.valuename = null;
getFaceList(); getFaceList();
@@ -624,8 +640,10 @@ export default {
return message.warning("审核提交失败"); return message.warning("审核提交失败");
}); });
}; };
onMounted(() => { onMounted(async () => {
getFaceList(); getFaceList();
//获取分类列表
state.calssifyList = (await getDictList("faceclassClass")).map(e => ({label: e.dictName, value: e.dictCode}))
}); });
return { return {
...toRefs(state), ...toRefs(state),
@@ -645,13 +663,16 @@ export default {
.ant-modal { .ant-modal {
width: 640px !important; width: 640px !important;
height: 400px !important; height: 400px !important;
.ant-modal-content { .ant-modal-content {
width: 640px !important; width: 640px !important;
height: 400px !important; height: 400px !important;
.ant-modal-body { .ant-modal-body {
width: 640px !important; width: 640px !important;
height: 400px !important; height: 400px !important;
padding: 0 !important; padding: 0 !important;
.delete { .delete {
z-index: 999; z-index: 999;
width: 640px; width: 640px;
@@ -672,15 +693,18 @@ export default {
rgba(78, 166, 255, 0) 100% rgba(78, 166, 255, 0) 100%
); );
} }
.del_main { .del_main {
width: 100%; width: 100%;
position: relative; position: relative;
.header { .header {
display: flex; display: flex;
align-items: center; align-items: center;
padding-top: 20px; padding-top: 20px;
padding-left: 26px; padding-left: 26px;
font-size: 16px; font-size: 16px;
.icon { .icon {
width: 16px; width: 16px;
height: 16px; height: 16px;
@@ -688,6 +712,7 @@ export default {
background-image: url(@/assets/images/taskpage/gan.png); background-image: url(@/assets/images/taskpage/gan.png);
background-size: 100% 100%; background-size: 100% 100%;
} }
.close_exit { .close_exit {
position: absolute; position: absolute;
right: 42px; right: 42px;
@@ -698,6 +723,7 @@ export default {
background-size: 100% 100%; background-size: 100% 100%;
} }
} }
.body { .body {
width: 100%; width: 100%;
margin: 34px auto 56px auto; margin: 34px auto 56px auto;
@@ -707,15 +733,19 @@ export default {
flex-direction: column; flex-direction: column;
// background-color: red; // background-color: red;
position: relative; position: relative;
.item { .item {
display: flex; display: flex;
width: 100%; width: 100%;
.left { .left {
width: 110px; width: 110px;
text-align: right; text-align: right;
} }
.rig { .rig {
width: 450px; width: 450px;
.ant-input { .ant-input {
border-radius: 8px; border-radius: 8px;
resize: none !important; resize: none !important;
@@ -723,10 +753,12 @@ export default {
} }
} }
} }
.del_btnbox { .del_btnbox {
display: flex; display: flex;
margin: 30px auto; margin: 30px auto;
justify-content: center; justify-content: center;
.del_btn { .del_btn {
width: 100px; width: 100px;
height: 40px; height: 40px;
@@ -738,17 +770,20 @@ export default {
flex-shrink: 0; flex-shrink: 0;
cursor: pointer; cursor: pointer;
.btnText { .btnText {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 40px; line-height: 40px;
} }
} }
.btn1 { .btn1 {
border: 1px solid rgba(64, 158, 255, 1); border: 1px solid rgba(64, 158, 255, 1);
color: #4ea6ff; color: #4ea6ff;
margin-right: 14px; margin-right: 14px;
} }
.btn2 { .btn2 {
background-color: #4ea6ff; background-color: #4ea6ff;
color: #ffffff; color: #ffffff;
@@ -760,6 +795,7 @@ export default {
} }
} }
} }
.lookCourseModal { .lookCourseModal {
.ant-modal { .ant-modal {
.ant-modal-content { .ant-modal-content {
@@ -769,10 +805,12 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.headerLeft { .headerLeft {
margin-left: 27px; margin-left: 27px;
display: flex; display: flex;
align-items: center; align-items: center;
.headerLeftText { .headerLeftText {
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
@@ -781,26 +819,32 @@ export default {
} }
} }
} }
.modalMain { .modalMain {
.m_title { .m_title {
margin-bottom: 20px; margin-bottom: 20px;
} }
.m_body { .m_body {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
.mb_left { .mb_left {
width: 50%; width: 50%;
.mbl_items { .mbl_items {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-end; justify-content: flex-end;
margin-bottom: 10px; margin-bottom: 10px;
.item_nam { .item_nam {
width: 100px; width: 100px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-end; justify-content: flex-end;
white-space: nowrap; white-space: nowrap;
.asterisk_icon { .asterisk_icon {
width: 10px; width: 10px;
height: 10px; height: 10px;
@@ -808,9 +852,11 @@ export default {
margin-top: -15px; margin-top: -15px;
} }
} }
.item_inp { .item_inp {
flex: 1; flex: 1;
position: relative; position: relative;
.inp_num { .inp_num {
position: absolute; position: absolute;
left: 398px; left: 398px;
@@ -818,17 +864,20 @@ export default {
} }
} }
} }
.mbl_items2 { .mbl_items2 {
display: flex; display: flex;
align-items: start; align-items: start;
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
.item_nam { .item_nam {
width: 100px; width: 100px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-end; justify-content: flex-end;
white-space: nowrap; white-space: nowrap;
.asterisk_icon { .asterisk_icon {
width: 10px; width: 10px;
height: 10px; height: 10px;
@@ -836,13 +885,16 @@ export default {
margin-top: -15px; margin-top: -15px;
} }
} }
.item_inp { .item_inp {
flex: 1; flex: 1;
.i_upload_img { .i_upload_img {
width: 100px; width: 100px;
height: 100px; height: 100px;
border-radius: 8px; border-radius: 8px;
} }
.i_upload { .i_upload {
width: 100px; width: 100px;
height: 100px; height: 100px;
@@ -851,8 +903,10 @@ export default {
text-align: center; text-align: center;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
.addimg { .addimg {
position: relative; position: relative;
.heng { .heng {
position: absolute; position: absolute;
top: 50px; top: 50px;
@@ -860,6 +914,7 @@ export default {
width: 50px; width: 50px;
border: 1px solid #4ea6ff; border: 1px solid #4ea6ff;
} }
.shu { .shu {
position: absolute; position: absolute;
top: 25px; top: 25px;
@@ -871,33 +926,40 @@ export default {
} }
} }
} }
.i2_cz { .i2_cz {
width: 440px; width: 440px;
margin-left: 100px; margin-left: 100px;
.i2_top { .i2_top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
} }
.i8_bottom { .i8_bottom {
display: flex; display: flex;
width: 440px; width: 440px;
margin-left: 100px; margin-left: 100px;
} }
} }
.mb_right { .mb_right {
width: 50%; width: 50%;
.mbl_items { .mbl_items {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
justify-content: flex-end; justify-content: flex-end;
margin-bottom: 10px; margin-bottom: 10px;
.item_nam { .item_nam {
width: 100px; width: 100px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-end; justify-content: flex-end;
white-space: nowrap; white-space: nowrap;
.asterisk_icon { .asterisk_icon {
width: 10px; width: 10px;
height: 10px; height: 10px;
@@ -905,12 +967,15 @@ export default {
margin-right: 5px; margin-right: 5px;
} }
} }
.item_inp { .item_inp {
flex: 1; flex: 1;
} }
.accessory { .accessory {
display: flex; display: flex;
align-items: center; align-items: center;
.accessory_icon { .accessory_icon {
width: 16px; width: 16px;
height: 16px; height: 16px;
@@ -919,16 +984,19 @@ export default {
} }
} }
} }
.mbl_items2 { .mbl_items2 {
display: flex; display: flex;
align-items: start; align-items: start;
margin-bottom: 10px; margin-bottom: 10px;
.item_nam { .item_nam {
width: 100px; width: 100px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-end; justify-content: flex-end;
white-space: nowrap; white-space: nowrap;
.asterisk_icon { .asterisk_icon {
width: 10px; width: 10px;
height: 10px; height: 10px;
@@ -936,9 +1004,11 @@ export default {
margin-top: -15px; margin-top: -15px;
} }
} }
.item_inp { .item_inp {
flex: 1; flex: 1;
position: relative; position: relative;
.inp_num { .inp_num {
position: absolute; position: absolute;
left: 395px; left: 395px;
@@ -946,9 +1016,11 @@ export default {
} }
} }
} }
.mbl_items12 { .mbl_items12 {
width: 440px; width: 440px;
margin-left: 100px; margin-left: 100px;
.i12_box1 { .i12_box1 {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -956,28 +1028,34 @@ export default {
border: 1px solid #eff4fc; border: 1px solid #eff4fc;
border-radius: 8px; border-radius: 8px;
margin-bottom: 10px; margin-bottom: 10px;
.file_img { .file_img {
width: 27px; width: 27px;
height: 32px; height: 32px;
// background-image: url(@/assets/images/coursewareManage/imgs.png); // background-image: url(@/assets/images/coursewareManage/imgs.png);
margin-right: 22px; margin-right: 22px;
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
.file_detail { .file_detail {
width: 250px; width: 250px;
margin-right: 21px; margin-right: 21px;
.file_updata { .file_updata {
display: flex; display: flex;
align-items: center; align-items: center;
.updatabox { .updatabox {
position: relative; position: relative;
width: 230px; width: 230px;
height: 5px; height: 5px;
background-color: rgba(192, 192, 192, 0.25); background-color: rgba(192, 192, 192, 0.25);
border-radius: 3px; border-radius: 3px;
.updatacolor { .updatacolor {
position: absolute; position: absolute;
left: 0; left: 0;
@@ -986,6 +1064,7 @@ export default {
background-color: #57c887; background-color: #57c887;
border-radius: 3px; border-radius: 3px;
} }
.updatacolor2 { .updatacolor2 {
position: absolute; position: absolute;
left: 0; left: 0;
@@ -994,6 +1073,7 @@ export default {
background-color: #ff7474; background-color: #ff7474;
border-radius: 3px; border-radius: 3px;
} }
.updatacolor3 { .updatacolor3 {
position: absolute; position: absolute;
left: 0; left: 0;
@@ -1002,18 +1082,21 @@ export default {
background-color: #388be1; background-color: #388be1;
border-radius: 3px; border-radius: 3px;
} }
.updataxq { .updataxq {
position: absolute; position: absolute;
right: 2px; right: 2px;
top: -30px; top: -30px;
color: #57c887; color: #57c887;
} }
.updataxq2 { .updataxq2 {
position: absolute; position: absolute;
right: 2px; right: 2px;
top: -30px; top: -30px;
color: #ff7474; color: #ff7474;
} }
.updataxq3 { .updataxq3 {
position: absolute; position: absolute;
right: 2px; right: 2px;
@@ -1023,8 +1106,10 @@ export default {
} }
} }
} }
.file_operation { .file_operation {
display: flex; display: flex;
.fobox { .fobox {
margin-right: 5px; margin-right: 5px;
cursor: pointer; cursor: pointer;
@@ -1034,17 +1119,21 @@ export default {
} }
} }
} }
.m_footer { .m_footer {
display: flex; display: flex;
margin: 20px 0; margin: 20px 0;
.fotnam { .fotnam {
width: 100px; width: 100px;
display: flex; display: flex;
justify-content: end; justify-content: end;
padding-right: 15px; padding-right: 15px;
} }
.fotarea { .fotarea {
position: relative; position: relative;
.fuwenben { .fuwenben {
width: 90%; width: 90%;
height: 20px; height: 20px;
@@ -1057,6 +1146,7 @@ export default {
} }
} }
} }
.m_btn { .m_btn {
width: 100%; width: 100%;
margin-top: 25px; margin-top: 25px;
@@ -1064,6 +1154,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
.btn { .btn {
width: 100px; width: 100px;
height: 40px; height: 40px;
@@ -1075,16 +1166,19 @@ export default {
margin-right: 14px; margin-right: 14px;
flex-shrink: 0; flex-shrink: 0;
cursor: pointer; cursor: pointer;
.btnText { .btnText {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 40px; line-height: 40px;
} }
} }
.btn5 { .btn5 {
border: 1px solid rgba(64, 158, 255, 1); border: 1px solid rgba(64, 158, 255, 1);
color: #4ea6ff; color: #4ea6ff;
} }
.btn6 { .btn6 {
background-color: #4ea6ff; background-color: #4ea6ff;
color: #ffffff; color: #ffffff;
@@ -1095,10 +1189,13 @@ export default {
} }
} }
} }
.coursereviewedn { .coursereviewedn {
width: 100%; width: 100%;
.tmpl { .tmpl {
width: 100%; width: 100%;
.tmpl_header { .tmpl_header {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@@ -1107,33 +1204,39 @@ export default {
margin-left: 32px; margin-left: 32px;
margin-right: 32px; margin-right: 32px;
.tmplh_inp { .tmplh_inp {
.inpbox { .inpbox {
display: flex; display: flex;
margin-top: 32px; margin-top: 32px;
flex-wrap: wrap; flex-wrap: wrap;
.inpbox1 { .inpbox1 {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-right: 24px; margin-right: 24px;
margin-top: 10px; margin-top: 10px;
.ant-select-selector { .ant-select-selector {
border-radius: 8px; border-radius: 8px;
width: 270px; width: 270px;
height: 40px; height: 40px;
padding-top: 5px; padding-top: 5px;
} }
span { span {
white-space: nowrap; white-space: nowrap;
} }
} }
} }
} }
.tmplh_btn { .tmplh_btn {
display: flex; display: flex;
// margin-left: 38px; // margin-left: 38px;
margin-top: 42px; margin-top: 42px;
.btn { .btn {
padding: 0px 26px 0px 26px; padding: 0px 26px 0px 26px;
height: 38px; height: 38px;
@@ -1144,72 +1247,90 @@ export default {
margin-right: 14px; margin-right: 14px;
cursor: pointer; cursor: pointer;
flex-shrink: 0; flex-shrink: 0;
.search { .search {
background-size: 100%; background-size: 100%;
} }
.btnText { .btnText {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 36px; line-height: 36px;
margin-left: 5px; margin-left: 5px;
} }
.btnText1 { .btnText1 {
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
} }
.btnText2 { .btnText2 {
color: rgba(64, 158, 255, 1); color: rgba(64, 158, 255, 1);
} }
} }
.btn1 { .btn1 {
background: #409eff; background: #409eff;
.search { .search {
width: 15px; width: 15px;
height: 17px; height: 17px;
background-image: url("../../assets/images/courseManage/search0.png"); background-image: url("../../assets/images/courseManage/search0.png");
} }
} }
.btn2 { .btn2 {
background: #ffffff; background: #ffffff;
border: 1px solid #388be1; border: 1px solid #388be1;
.search { .search {
width: 16px; width: 16px;
height: 18px; height: 18px;
background-image: url("../../assets/images/courseManage/reset1.png"); background-image: url("../../assets/images/courseManage/reset1.png");
} }
} }
.btn1:hover { .btn1:hover {
background: rgb(255, 255, 255); background: rgb(255, 255, 255);
border: 1px solid #388be1; border: 1px solid #388be1;
.search { .search {
background-image: url("../../assets/images/courseManage/search1.png"); background-image: url("../../assets/images/courseManage/search1.png");
} }
.btnText { .btnText {
color: rgba(64, 158, 255, 1); color: rgba(64, 158, 255, 1);
} }
} }
.btn2:hover { .btn2:hover {
background: rgba(64, 158, 255, 1); background: rgba(64, 158, 255, 1);
.search { .search {
background-image: url("../../assets/images/courseManage/reset0.png"); background-image: url("../../assets/images/courseManage/reset0.png");
} }
.btnText { .btnText {
color: #ffffff; color: #ffffff;
} }
} }
} }
} }
.tmpl_body { .tmpl_body {
padding: 0px 30px; padding: 0px 30px;
.tmpl_tabbox { .tmpl_tabbox {
.operation { .operation {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
color: #4ea6ff; color: #4ea6ff;
.nselect { .nselect {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
display: flex; display: flex;
.jc { .jc {
margin-left: 20px; margin-left: 20px;
white-space: nowrap; white-space: nowrap;
@@ -1218,6 +1339,7 @@ export default {
} }
} }
} }
.pa { .pa {
width: 100%; width: 100%;
margin-top: 20px; margin-top: 20px;

View File

@@ -57,14 +57,14 @@
@change="rankTimeChange" @change="rankTimeChange"
/> />
</div> </div>
<div class="inpbox1"> <!-- <div class="inpbox1">-->
<a-select <!-- <a-select-->
v-model:value="valuestate" <!-- v-model:value="valuestate"-->
placeholder="请选择审核状态" <!-- placeholder="请选择审核状态"-->
@change="handleChangeproj" <!-- @change="handleChangeproj"-->
:options="optionsproj" <!-- :options="optionsproj"-->
/> <!-- />-->
</div> <!-- </div>-->
</div> </div>
</div> </div>
<div class="tmplh_btn"> <div class="tmplh_btn">
@@ -193,8 +193,8 @@ export default {
{ {
title: "所属项目", title: "所属项目",
dataIndex: "belong", dataIndex: "sourceBelongName",
key: "belong", key: "sourceBelongName",
align: "center", align: "center",
width: "10%", width: "10%",
}, },
@@ -317,6 +317,7 @@ export default {
name: item.name, name: item.name,
belong: "", belong: "",
manager: item.manager || "-", manager: item.manager || "-",
sourceBelongName: item.sourceBelongName,
status: status:
item.status == 0 item.status == 0
? "草稿" ? "草稿"
@@ -337,6 +338,7 @@ export default {
number: item.projectId, number: item.projectId,
name: item.name, name: item.name,
belong: "", belong: "",
sourceBelongName: item.sourceBelongName,
manager: item.manager || "-", manager: item.manager || "-",
status: status:
item.status == 0 item.status == 0

View File

@@ -154,8 +154,8 @@ export default {
{ {
title: "所属项目", title: "所属项目",
dataIndex: "belong", dataIndex: "sourceBelongName",
key: "belong", key: "sourceBelongName",
align: "center", align: "center",
width: "11%", width: "11%",
}, },
@@ -250,6 +250,7 @@ export default {
number: item.projectId, number: item.projectId,
name: item.name, name: item.name,
belong: item.parentId, belong: item.parentId,
sourceBelongName: item.sourceBelongName,
manager: item.manager || "-", manager: item.manager || "-",
status: status:
item.status == 0 item.status == 0
@@ -277,6 +278,7 @@ export default {
number: item.projectId, number: item.projectId,
name: item.name, name: item.name,
belong: item.parentId, belong: item.parentId,
sourceBelongName: item.sourceBelongName,
manager: item.manager || "-", manager: item.manager || "-",
status: status:
item.status == 0 item.status == 0

View File

@@ -576,7 +576,7 @@
<!-- 编辑多层项目弹窗 - end --> <!-- 编辑多层项目弹窗 - end -->
<!-- 创建多层子项目弹窗 --> <!-- 创建多层子项目弹窗 -->
<div> <div>
<a-modal <a-modalbe
v-model:visible="doublesonpro" v-model:visible="doublesonpro"
:title="null" :title="null"
@ok="closeModal3" @ok="closeModal3"
@@ -705,7 +705,7 @@
> >
</div> </div>
</div> </div>
</a-modal> </a-modalbe>
</div> </div>
<!-- 创建多层子项目弹窗 --> <!-- 创建多层子项目弹窗 -->
<!-- 编辑多层子项目弹窗 start--> <!-- 编辑多层子项目弹窗 start-->