mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 02:02:55 +08:00
-- fix 项目任务 管理
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btnss" style="margin-top: 20px" v-if="checkPer(permissions,createId)">
|
||||
<div class="btn btn1" @click="signQR">
|
||||
<div class="wz">签到二维码</div>
|
||||
</div>
|
||||
@@ -274,6 +274,7 @@ import TwoDimensionalCode from "../../components/TwoDimensionalCode";
|
||||
import * as api from "../../api/indexTaskManage";
|
||||
import { toDate } from "../../api/method";
|
||||
import { message } from "ant-design-vue";
|
||||
import {checkPer} from "@/utils/utils";
|
||||
export default {
|
||||
name: "ActiveAttendance",
|
||||
components: {
|
||||
@@ -281,6 +282,14 @@ export default {
|
||||
TwoDimensionalCode,
|
||||
},
|
||||
props: {
|
||||
createId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
permissions: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
AAvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
@@ -782,6 +791,7 @@ export default {
|
||||
align: "center",
|
||||
customRender: (value) => {
|
||||
return (
|
||||
checkPer(props.permissions,props.createId)?
|
||||
<div
|
||||
class="opa"
|
||||
style="display:flex;justify-content:center;align-items:center;"
|
||||
@@ -897,6 +907,7 @@ export default {
|
||||
<div>请假</div>
|
||||
</div>
|
||||
</div>
|
||||
:''
|
||||
);
|
||||
},
|
||||
},
|
||||
@@ -1022,6 +1033,7 @@ export default {
|
||||
tableDataFunc,
|
||||
clearLine,
|
||||
showqdModal,
|
||||
checkPer,
|
||||
closeqdModal,
|
||||
showsingleqdModal,
|
||||
showsingleqtModal,
|
||||
|
||||
Reference in New Issue
Block a user