diff --git a/src/views/projectFront/laborManage/personModule/administration.vue b/src/views/projectFront/laborManage/personModule/administration.vue
index 0c7d2015..a6bc9ec2 100644
--- a/src/views/projectFront/laborManage/personModule/administration.vue
+++ b/src/views/projectFront/laborManage/personModule/administration.vue
@@ -347,7 +347,7 @@
type="primary"
:disabled="checkedWorker.length == 0"
@click="issuePersonFn"
- v-if="!key"
+ v-if="key"
>{{ $t('message.laborMange.aKeyIssued') }}
@@ -497,11 +497,11 @@
type="primary"
size="mini"
@click="issuePersonOneFn(scope.row.id)"
- v-if="!key"
+ v-if="key"
>{{ $t('message.laborMange.aKeyIssued') }}
-
+
{
if (item.actionList) {
- item.actionList.forEach((item2) => {
+ item.actionList.find((item2) => {
if (item2.actionCode == 'akey_issued') {
- this.key = false
- } else {
this.key = true
}
console.log('this.key', this.key)
diff --git a/src/views/projectFront/laborManage/personModule/laborComponent.vue b/src/views/projectFront/laborManage/personModule/laborComponent.vue
index a6264b9b..81a1440d 100644
--- a/src/views/projectFront/laborManage/personModule/laborComponent.vue
+++ b/src/views/projectFront/laborManage/personModule/laborComponent.vue
@@ -423,6 +423,7 @@
/>
{{ $t('message.laborMange.delete') }}
+
{
if (item.actionList) {
- item.actionList.forEach((item2) => {
+ item.actionList.find((item2) => {
if (item2.actionCode == 'akey_issued') {
this.key = true
- } else {
- this.key = false
}
console.log('this.key', this.key)
})