feat:合并

This commit is contained in:
lixg
2022-11-26 21:14:30 +08:00
parent a663dbe2b2
commit 6a5e772bb2
6 changed files with 53 additions and 44 deletions

View File

@@ -39,7 +39,7 @@ export default {
) {
state.list = [
{
name: "学习路径",
name: "学习路径",
href: "",
// href: "#/coursewaremanage",
},
@@ -48,7 +48,7 @@ export default {
if (n.indexOf("/leveladd") !== -1 || n.indexOf("/LevelAdd") !== -1) {
state.list = [
{
name: "学习路径",
name: "学习路径",
href: "/learningpath",
},
{
@@ -62,7 +62,7 @@ export default {
) {
state.list = [
{
name: "学习路径",
name: "学习路径",
href: "/learningpath",
},
{
@@ -80,7 +80,7 @@ export default {
) {
state.list = [
{
name: "学习路径",
name: "学习路径",
href: "/learningpath",
},
{

View File

@@ -82,7 +82,7 @@
src="../assets/images/navleft/studyPath.png"
/>
</div>
<router-link to="/learningpath">学习路径</router-link>
<router-link to="/learningpath">学习路径</router-link>
</a-menu-item>
<a-sub-menu key="sub2" @titleClick="titleClick">
@@ -326,7 +326,7 @@ export default {
href: "/learningpath",
openKeys: "sub1",
selectedKeys: "sub1",
pagename: "学习路径",
pagename: "学习路径",
},
{
href: "/leveladd",

View File

@@ -249,7 +249,7 @@
<script>
import { toRefs, reactive } from "vue";
import SignQR from "./SignQR.vue"
import SignQR from "./SignQR.vue";
export default {
name: "ActiveAttendance",
components: {
@@ -553,7 +553,7 @@ export default {
className: "h",
},
{
title: "操作",
title: "考勤情况",
className: "h",
dataIndex: "opacation",
key: "opacation",
@@ -565,8 +565,8 @@ export default {
};
//清空所选
const clearLine = () => {
state.selectedRowKeys=[]
}
state.selectedRowKeys = [];
};
const showqdModal = () => {
state.qdModal = true;
};
@@ -592,8 +592,8 @@ export default {
state.singleqjModal = false;
};
const signQR = () => {
state.signQRvisible = true
}
state.signQRvisible = true;
};
return {
...toRefs(state),
selectProjectName,
@@ -817,7 +817,6 @@ export default {
}
}
.tableBox {
.classify {
padding-left: 0px !important;
}

View File

@@ -188,7 +188,7 @@
<script>
import { toRefs, reactive } from "vue";
import ImpStu from "../../components/drawers/AddLevelImportStu";
import SignQR from "./SignQR.vue"
import SignQR from "./SignQR.vue";
export default {
name: "FaceManage",
components: {
@@ -405,8 +405,8 @@ export default {
state.stopModal = false;
};
const signQR = () => {
state.signQRvisible = true
}
state.signQRvisible = true;
};
const onSelectChange = (selectedRowKeys) => {
console.log("selectedRowKeys changed: ", selectedRowKeys);
state.selectedRowKeys = selectedRowKeys;
@@ -450,6 +450,15 @@ export default {
getTableData();
const tableDataFunc = () => {
const columns = [
{
title: "工号",
dataIndex: "com",
// width: "30%",
key: "com",
width: 50,
align: "center",
className: "h",
},
{
title: "姓名",
dataIndex: "name",
@@ -493,14 +502,14 @@ export default {
align: "center",
className: "h",
},
{
title: "签退时间",
dataIndex: "jin",
key: "jin",
width: 110,
align: "center",
className: "h",
},
// {
// title: "签退时间",
// dataIndex: "jin",
// key: "jin",
// width: 110,
// align: "center",
// className: "h",
// },
{
title: "考勤",
dataIndex: "time",
@@ -518,7 +527,7 @@ export default {
className: "h",
},
{
title: "操作",
title: "考勤情况",
className: "h",
dataIndex: "opacation",
key: "opacation",

View File

@@ -1087,7 +1087,7 @@ export default {
const item1 = await getOrgInfoApi({
pageNo: state.currentPage,
pageSize: state.pageSize,
id: -1,
id: 0,
keyWord: state.com,
}).then((res) => {
if (res.data.code === 200) return res.data.data.rows;
@@ -1116,9 +1116,10 @@ export default {
const item1 = await getOrgInfoApi({
pageNo: state.currentPage,
pageSize: state.pageSize,
id: -1,
id: 0,
keyWord: state.com,
}).then((res) => {
// console.log("res", res);
if (res.data.code === 200) return res.data.data.rows;
});
state.treeData = [];

View File

@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com
* @Date: 2022-11-09 09:26:26
* @LastEditors: lixg lixg@dongwu-inc.com
* @LastEditTime: 2022-11-23 17:25:31
* @LastEditTime: 2022-11-26 20:20:03
* @FilePath: /fe-manage/src/store/index.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -14,7 +14,7 @@ export default createStore({
? JSON.parse(localStorage.getItem("openpages"))
: [
{
pagename: "学习路径",
pagename: "学习路径",
href: "/learningpath",
active: true,
},