mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 12:56: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",
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnss" style="margin-top: 20px">
|
<div class="btnss" style="margin-top: 20px">
|
||||||
<div class="btn btn1" @click="signQR">
|
<div class="btn btn1" @click="signQR">
|
||||||
<div class="wz">签到二维码</div>
|
<div class="wz">签到二维码</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn btn2" @click="showqdModal">
|
<div class="btn btn2" @click="showqdModal">
|
||||||
@@ -92,10 +92,10 @@
|
|||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="img"></div>
|
<div class="img"></div>
|
||||||
<div class="text" style="margin-left: 10px">已选择</div>
|
<div class="text" style="margin-left: 10px">已选择</div>
|
||||||
<div class="text2">{{selectedRowKeys.length}}</div>
|
<div class="text2">{{ selectedRowKeys.length }}</div>
|
||||||
<div class="text">项</div>
|
<div class="text">项</div>
|
||||||
<div class="text3">列表选项总计:</div>
|
<div class="text3">列表选项总计:</div>
|
||||||
<div class="text4">{{tableData.length}}条</div>
|
<div class="text4">{{ tableData.length }}条</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right" @click="clearLine">清空</div>
|
<div class="right" @click="clearLine">清空</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -244,17 +244,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<!-- 二维码签到弹窗 -->
|
<!-- 二维码签到弹窗 -->
|
||||||
<SignQR v-model:signQRvisible="signQRvisible"/>
|
<SignQR v-model:signQRvisible="signQRvisible" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<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: {
|
||||||
SignQR,
|
SignQR,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
AAvisible: {
|
AAvisible: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
@@ -275,7 +275,7 @@ export default {
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
tableDataTotal: 100,
|
tableDataTotal: 100,
|
||||||
signQRvisible:false, //二维码弹窗
|
signQRvisible: false, //二维码弹窗
|
||||||
qdModal: false, //批量签到
|
qdModal: false, //批量签到
|
||||||
singleqjModal: false, //单独请假
|
singleqjModal: false, //单独请假
|
||||||
singleqdModal: false, //单独签到
|
singleqdModal: false, //单独签到
|
||||||
@@ -480,7 +480,7 @@ export default {
|
|||||||
|
|
||||||
const tableDataFunc = () => {
|
const tableDataFunc = () => {
|
||||||
const columns = [
|
const columns = [
|
||||||
{
|
{
|
||||||
title: "工号",
|
title: "工号",
|
||||||
dataIndex: "workNum",
|
dataIndex: "workNum",
|
||||||
key: "workNum",
|
key: "workNum",
|
||||||
@@ -553,7 +553,7 @@ export default {
|
|||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "考勤情况",
|
||||||
className: "h",
|
className: "h",
|
||||||
dataIndex: "opacation",
|
dataIndex: "opacation",
|
||||||
key: "opacation",
|
key: "opacation",
|
||||||
@@ -564,9 +564,9 @@ export default {
|
|||||||
return columns;
|
return columns;
|
||||||
};
|
};
|
||||||
//清空所选
|
//清空所选
|
||||||
const clearLine = ()=> {
|
const clearLine = () => {
|
||||||
state.selectedRowKeys=[]
|
state.selectedRowKeys = [];
|
||||||
}
|
};
|
||||||
const showqdModal = () => {
|
const showqdModal = () => {
|
||||||
state.qdModal = true;
|
state.qdModal = true;
|
||||||
};
|
};
|
||||||
@@ -591,9 +591,9 @@ export default {
|
|||||||
const closesingleqjModal = () => {
|
const closesingleqjModal = () => {
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -150,7 +150,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
<!-- 二维码签到弹窗 -->
|
<!-- 二维码签到弹窗 -->
|
||||||
<SignQR v-model:signQRvisible="signQRvisible"/>
|
<SignQR v-model:signQRvisible="signQRvisible" />
|
||||||
<!-- 导入学员抽屉 -->
|
<!-- 导入学员抽屉 -->
|
||||||
<imp-stu v-model:AddImpStuvisible="AddImpStuvisible" />
|
<imp-stu v-model:AddImpStuvisible="AddImpStuvisible" />
|
||||||
<!-- 批量签到弹窗 -->
|
<!-- 批量签到弹窗 -->
|
||||||
@@ -188,13 +188,13 @@
|
|||||||
<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: {
|
||||||
ImpStu,
|
ImpStu,
|
||||||
SignQR,
|
SignQR,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
FSvisible: {
|
FSvisible: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
@@ -210,7 +210,7 @@ export default {
|
|||||||
closeCopy: false, //签到弹窗关闭图标
|
closeCopy: false, //签到弹窗关闭图标
|
||||||
stopModal: false, //签退弹窗
|
stopModal: false, //签退弹窗
|
||||||
closeStop: false, //签退弹窗关闭图标
|
closeStop: false, //签退弹窗关闭图标
|
||||||
signQRvisible:false, //二维码弹窗
|
signQRvisible: false, //二维码弹窗
|
||||||
name: null,
|
name: null,
|
||||||
showmodal: false, //勾选提示框
|
showmodal: false, //勾选提示框
|
||||||
closable: false, //modal右上角的关闭按钮
|
closable: false, //modal右上角的关闭按钮
|
||||||
@@ -404,9 +404,9 @@ export default {
|
|||||||
const closeStopModal = () => {
|
const closeStopModal = () => {
|
||||||
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