fix: BUG修改

This commit is contained in:
kun 2024-04-30 14:48:17 +08:00
parent b202c4dc1c
commit 06b6fce0ea

View File

@ -66,17 +66,6 @@
plain plain
>{{ $t("message.laborMange.refresh") }}</el-button >{{ $t("message.laborMange.refresh") }}</el-button
> >
<!-- <el-button
v-if="
menuList.actionList.findIndex(
(x) => x.actionCode == 'qrcodeAg'
) != -1
"
type="primary"
@click="openCode"
plain
>人员录入二维码</el-button
> -->
<el-button <el-button
v-permission="{key: 'qrcodeAg', moduleName: '人员登记培训'}" v-permission="{key: 'qrcodeAg', moduleName: '人员登记培训'}"
type="primary" type="primary"
@ -711,7 +700,6 @@ export default {
{ name: "不合格", value: 0 }, { name: "不合格", value: 0 },
{ name: "未培训", value: -1 }, { name: "未培训", value: -1 },
], ],
menuList: this.$store.state.userInfo.menuAuthority.menuList,
qrCodeDialog: false, qrCodeDialog: false,
tableData: [], tableData: [],
page: 1, page: 1,
@ -795,9 +783,6 @@ export default {
}, },
created() { created() {
this.projectSn = this.$store.state.projectSn; this.projectSn = this.$store.state.projectSn;
this.menuList = this.menuList.filter(
(x) => x.menuName == "人员登记培训"
)[0];
this.getMachineList(); this.getMachineList();
this.getInfoList(); this.getInfoList();
this.getProjectList(); this.getProjectList();