mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
feat:合并
This commit is contained in:
@@ -39,7 +39,7 @@ export default {
|
|||||||
) {
|
) {
|
||||||
state.list = [
|
state.list = [
|
||||||
{
|
{
|
||||||
name: "学习路径",
|
name: "学习路径图",
|
||||||
href: "",
|
href: "",
|
||||||
// href: "#/coursewaremanage",
|
// href: "#/coursewaremanage",
|
||||||
},
|
},
|
||||||
@@ -48,7 +48,7 @@ export default {
|
|||||||
if (n.indexOf("/leveladd") !== -1 || n.indexOf("/LevelAdd") !== -1) {
|
if (n.indexOf("/leveladd") !== -1 || n.indexOf("/LevelAdd") !== -1) {
|
||||||
state.list = [
|
state.list = [
|
||||||
{
|
{
|
||||||
name: "学习路径",
|
name: "学习路径图",
|
||||||
href: "/learningpath",
|
href: "/learningpath",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -62,7 +62,7 @@ export default {
|
|||||||
) {
|
) {
|
||||||
state.list = [
|
state.list = [
|
||||||
{
|
{
|
||||||
name: "学习路径",
|
name: "学习路径图",
|
||||||
href: "/learningpath",
|
href: "/learningpath",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -80,7 +80,7 @@ export default {
|
|||||||
) {
|
) {
|
||||||
state.list = [
|
state.list = [
|
||||||
{
|
{
|
||||||
name: "学习路径",
|
name: "学习路径图",
|
||||||
href: "/learningpath",
|
href: "/learningpath",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
src="../assets/images/navleft/studyPath.png"
|
src="../assets/images/navleft/studyPath.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<router-link to="/learningpath">学习路径</router-link>
|
<router-link to="/learningpath">学习路径图</router-link>
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
|
|
||||||
<a-sub-menu key="sub2" @titleClick="titleClick">
|
<a-sub-menu key="sub2" @titleClick="titleClick">
|
||||||
@@ -326,7 +326,7 @@ export default {
|
|||||||
href: "/learningpath",
|
href: "/learningpath",
|
||||||
openKeys: "sub1",
|
openKeys: "sub1",
|
||||||
selectedKeys: "sub1",
|
selectedKeys: "sub1",
|
||||||
pagename: "学习路径",
|
pagename: "学习路径图",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "/leveladd",
|
href: "/leveladd",
|
||||||
|
|||||||
@@ -249,7 +249,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { toRefs, reactive } from "vue";
|
import { toRefs, reactive } from "vue";
|
||||||
import SignQR from "./SignQR.vue"
|
import SignQR from "./SignQR.vue";
|
||||||
export default {
|
export default {
|
||||||
name: "ActiveAttendance",
|
name: "ActiveAttendance",
|
||||||
components: {
|
components: {
|
||||||
@@ -553,7 +553,7 @@ export default {
|
|||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "考勤情况",
|
||||||
className: "h",
|
className: "h",
|
||||||
dataIndex: "opacation",
|
dataIndex: "opacation",
|
||||||
key: "opacation",
|
key: "opacation",
|
||||||
@@ -565,8 +565,8 @@ export default {
|
|||||||
};
|
};
|
||||||
//清空所选
|
//清空所选
|
||||||
const clearLine = () => {
|
const clearLine = () => {
|
||||||
state.selectedRowKeys=[]
|
state.selectedRowKeys = [];
|
||||||
}
|
};
|
||||||
const showqdModal = () => {
|
const showqdModal = () => {
|
||||||
state.qdModal = true;
|
state.qdModal = true;
|
||||||
};
|
};
|
||||||
@@ -592,8 +592,8 @@ export default {
|
|||||||
state.singleqjModal = false;
|
state.singleqjModal = false;
|
||||||
};
|
};
|
||||||
const signQR = () => {
|
const signQR = () => {
|
||||||
state.signQRvisible = true
|
state.signQRvisible = true;
|
||||||
}
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
selectProjectName,
|
selectProjectName,
|
||||||
@@ -817,7 +817,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tableBox {
|
.tableBox {
|
||||||
|
|
||||||
.classify {
|
.classify {
|
||||||
padding-left: 0px !important;
|
padding-left: 0px !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -188,7 +188,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { toRefs, reactive } from "vue";
|
import { toRefs, reactive } from "vue";
|
||||||
import ImpStu from "../../components/drawers/AddLevelImportStu";
|
import ImpStu from "../../components/drawers/AddLevelImportStu";
|
||||||
import SignQR from "./SignQR.vue"
|
import SignQR from "./SignQR.vue";
|
||||||
export default {
|
export default {
|
||||||
name: "FaceManage",
|
name: "FaceManage",
|
||||||
components: {
|
components: {
|
||||||
@@ -405,8 +405,8 @@ export default {
|
|||||||
state.stopModal = false;
|
state.stopModal = false;
|
||||||
};
|
};
|
||||||
const signQR = () => {
|
const signQR = () => {
|
||||||
state.signQRvisible = true
|
state.signQRvisible = true;
|
||||||
}
|
};
|
||||||
const onSelectChange = (selectedRowKeys) => {
|
const onSelectChange = (selectedRowKeys) => {
|
||||||
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
||||||
state.selectedRowKeys = selectedRowKeys;
|
state.selectedRowKeys = selectedRowKeys;
|
||||||
@@ -450,6 +450,15 @@ export default {
|
|||||||
getTableData();
|
getTableData();
|
||||||
const tableDataFunc = () => {
|
const tableDataFunc = () => {
|
||||||
const columns = [
|
const columns = [
|
||||||
|
{
|
||||||
|
title: "工号",
|
||||||
|
dataIndex: "com",
|
||||||
|
// width: "30%",
|
||||||
|
key: "com",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "姓名",
|
title: "姓名",
|
||||||
dataIndex: "name",
|
dataIndex: "name",
|
||||||
@@ -493,14 +502,14 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: "签退时间",
|
// title: "签退时间",
|
||||||
dataIndex: "jin",
|
// dataIndex: "jin",
|
||||||
key: "jin",
|
// key: "jin",
|
||||||
width: 110,
|
// width: 110,
|
||||||
align: "center",
|
// align: "center",
|
||||||
className: "h",
|
// className: "h",
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
title: "考勤",
|
title: "考勤",
|
||||||
dataIndex: "time",
|
dataIndex: "time",
|
||||||
@@ -518,7 +527,7 @@ export default {
|
|||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "考勤情况",
|
||||||
className: "h",
|
className: "h",
|
||||||
dataIndex: "opacation",
|
dataIndex: "opacation",
|
||||||
key: "opacation",
|
key: "opacation",
|
||||||
|
|||||||
@@ -1087,7 +1087,7 @@ export default {
|
|||||||
const item1 = await getOrgInfoApi({
|
const item1 = await getOrgInfoApi({
|
||||||
pageNo: state.currentPage,
|
pageNo: state.currentPage,
|
||||||
pageSize: state.pageSize,
|
pageSize: state.pageSize,
|
||||||
id: -1,
|
id: 0,
|
||||||
keyWord: state.com,
|
keyWord: state.com,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.data.code === 200) return res.data.data.rows;
|
if (res.data.code === 200) return res.data.data.rows;
|
||||||
@@ -1116,9 +1116,10 @@ export default {
|
|||||||
const item1 = await getOrgInfoApi({
|
const item1 = await getOrgInfoApi({
|
||||||
pageNo: state.currentPage,
|
pageNo: state.currentPage,
|
||||||
pageSize: state.pageSize,
|
pageSize: state.pageSize,
|
||||||
id: -1,
|
id: 0,
|
||||||
keyWord: state.com,
|
keyWord: state.com,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
|
// console.log("res", res);
|
||||||
if (res.data.code === 200) return res.data.data.rows;
|
if (res.data.code === 200) return res.data.data.rows;
|
||||||
});
|
});
|
||||||
state.treeData = [];
|
state.treeData = [];
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* @Author: lixg lixg@dongwu-inc.com
|
* @Author: lixg lixg@dongwu-inc.com
|
||||||
* @Date: 2022-11-09 09:26:26
|
* @Date: 2022-11-09 09:26:26
|
||||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
* @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
|
* @FilePath: /fe-manage/src/store/index.js
|
||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @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"))
|
? JSON.parse(localStorage.getItem("openpages"))
|
||||||
: [
|
: [
|
||||||
{
|
{
|
||||||
pagename: "学习路径",
|
pagename: "学习路径图",
|
||||||
href: "/learningpath",
|
href: "/learningpath",
|
||||||
active: true,
|
active: true,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user