页面button颜色统一,表格不可选择页面数量

This commit is contained in:
zhangyc
2022-12-11 11:46:52 +08:00
parent 6fc160ae79
commit 65fbc3eba4
84 changed files with 1642 additions and 2633 deletions

View File

@@ -20,11 +20,11 @@
<div class="main_items">
<div class="mi_ipts">
<div class="mii_ipt">
<div class="ipt_name">测评信息</div>
<div class="ipt_name"></div>
<div class="fi_input">
<a-input
v-model:value="inputV1"
style="width: 240px; height: 40px; border-radius: 8px"
style="width:424px; height: 40px; border-radius: 8px"
placeholder="请输入项目名称"
/>
</div>
@@ -49,14 +49,16 @@
:loading="tableDataTotal === -1 ? true : false"
:pagination="false"
:row-selection="{
type: 'radio',
selectedRowKeys: selectedRowKeys,
onChange: onSelectChange,
}"
/>
<div class="tableBox">
<div class="pa">
<a-pagination
v-if="tableDataTotal > 10"
showSizeChanger="true"
:showSizeChanger="false"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
@@ -65,7 +67,7 @@
class="pagination"
@change="changePagination"
/>
</div>
</div></div>
</div>
</div>
<div class="main_btns">
@@ -107,14 +109,13 @@ export default {
evListData: {},
columns: [
{
title: "课程编号",
title: "测评编号",
width: "20%",
dataIndex: "quiz_code",
key: "code",
align: "center",
},
{
title: "课程名称",
title: "测评名称",
width: "20%",
dataIndex: "title",
key: "title",
@@ -122,29 +123,26 @@ export default {
},
{
title: "备注",
width: "13%",
width: "40%",
dataIndex: "theme_desc",
key: "content",
align: "center",
maxWidth: "13%",
overflow: "hidden",
whiteSpace: "nowrap",
textOverflow: "ellipsis",
},
{
title: "状态",
width: "13%",
dataIndex: "status",
key: "status",
align: "center",
},
{
title: "价格",
width: "13%",
dataIndex: "quiz_price",
key: "price",
align: "center",
ellipsis: true,
},
// {
// title: "状态",
// width: "13%",
// dataIndex: "status",
// key: "status",
// align: "center",
// },
// {
// title: "价格",
// width: "13%",
// dataIndex: "quiz_price",
// key: "price",
// align: "center",
// },
{
title: "可答题人数",
width: "20%",
@@ -225,12 +223,13 @@ export default {
//获取测评列表
const getAllEvalText = () => {
let objael = {
keyword: state.inputV1,
user_id: "965341999643234304",
keyword:state.inputV1,
user_id:"965341999643234304",
};
api
.choiceEvaluation(objael)
.then((res) => {
state.tableDataTotal=9;
getTableDataList(res.data.data);
})
.catch(() => {});
@@ -306,8 +305,7 @@ export default {
}
.mi_btns {
display: flex;
margin-left: 38px;
margin-bottom: 20px;
cursor: pointer;
.btn {
padding: 0px 26px 0px 26px;
@@ -357,7 +355,7 @@ export default {
background-image: url("@/assets/images/courseManage/search1.png");
}
.btnText {
color: #388be1;
color: #4ea6ff;
}
}
.btn2:hover {