Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
yuping
2023-03-20 14:08:44 +08:00
6 changed files with 26 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ import {USER_PERMISSION} from "@/api/ThirdApi";
const store = useStore(); const store = useStore();
const isLogin = ref(false); const isLogin = ref(false);
console.log("版本2.1.7------------"); console.log("版本2.1.8------------");
// 监听关闭浏览器 // 监听关闭浏览器
let time1 = ref(0); let time1 = ref(0);

View File

@@ -67,7 +67,7 @@
</template> </template>
<script setup> <script setup>
import { computed, defineEmits, defineProps, ref, watch } from "vue"; import { computed, defineEmits, defineProps, ref, watch } from "vue";
import { courseListView } from "../../api/indexAudit"; import { list } from "@/api/indexCourse";
import CourseModal from "../../views/courselibrary/courseModal.vue"; import CourseModal from "../../views/courselibrary/courseModal.vue";
import {useStore} from "vuex"; import {useStore} from "vuex";
@@ -82,8 +82,8 @@
const columns = ref([ const columns = ref([
{ {
title: "课程编号", title: "课程编号",
dataIndex: "id", dataIndex: "offcourseNumber",
key: "id", key: "offcourseNumber",
width: "40%", width: "40%",
ellipsis: true, ellipsis: true,
}, },
@@ -155,14 +155,14 @@
const getList = () => { const getList = () => {
loading.value = true loading.value = true
let objn = { let objn = {
auditStatus: 0, auditStatus: 2,
sysTypeId: valueproj.value, sysTypeId: valueproj.value,
name: params.value.courseName, name: params.value.courseName,
pageNo: params.value.pageNo, pageNo: params.value.pageNo,
pageSize: 10, pageSize: 10,
}; };
console.log(objn); console.log(objn);
courseListView(objn) list(objn)
.then((res) => { .then((res) => {
console.log("获取已审核课程成功", res.data.data); console.log("获取已审核课程成功", res.data.data);
data.value = res.data.data.rows; data.value = res.data.data.rows;

View File

@@ -335,7 +335,7 @@
>提交审核 >提交审核
</a-button> </a-button>
<a-button <a-button
v-if="(record.auditStatus === 2 || record.auditStatus === 3) && !record.publishStatus && checkPer(record.permissions,createId)" v-if="(record.auditStatus === -1 || record.auditStatus === 2 || record.auditStatus === 3) && !record.publishStatus && checkPer(record.permissions,createId)"
@click="() => handleEdit(record, String(record.courseform))" @click="() => handleEdit(record, String(record.courseform))"
type="link" type="link"
>编辑 >编辑
@@ -388,7 +388,7 @@
> >
<a-button <a-button
v-if=" v-if="
(record.auditStatus === 2 || record.publishStatus) && (record.auditStatus === 1 || record.auditStatus === 2 || record.publishStatus) &&
record.status && record.status &&
checkPer(record.permissions,createId) checkPer(record.permissions,createId)
" "
@@ -5039,6 +5039,10 @@ export default defineComponent({
}); });
</script> </script>
<style lang="scss"> <style lang="scss">
.ant-table-cell-fix-right {
width: 250px !important;
}
.addTimeBox { .addTimeBox {
position: relative; position: relative;
display: flex; display: flex;

View File

@@ -199,6 +199,9 @@
</div> </div>
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<a-select <a-select
:getPopupContainer="
(triggerNode) => triggerNode.parentNode || document.body
"
v-model:value="selectJobId" v-model:value="selectJobId"
mode="multiple" mode="multiple"
style="width: 440px; min-height: 40px" style="width: 440px; min-height: 40px"
@@ -214,6 +217,9 @@
</div> </div>
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<a-select <a-select
:getPopupContainer="
(triggerNode) => triggerNode.parentNode || document.body
"
v-model:value="selectBandId" v-model:value="selectBandId"
mode="multiple" mode="multiple"
style="width: 440px; min-height: 40px" style="width: 440px; min-height: 40px"

View File

@@ -1617,6 +1617,10 @@ export default {
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.ant-table-cell-fix-right {
width: 250px !important;
}
.clearfix:before, .clearfix:before,
.clearfix:after { .clearfix:after {
content: " "; content: " ";

View File

@@ -1802,6 +1802,10 @@ export default {
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.ant-table-cell-fix-right {
width: 300px !important;
}
.projectManage { .projectManage {
width: 100%; width: 100%;
height: 100%; height: 100%;