【修改】修改你们单选

This commit is contained in:
zhoulingpo
2023-05-15 16:21:39 +08:00
parent 41f7451967
commit f5bf0bb72d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -71,7 +71,7 @@
<el-table-column v-if="maxSelected && maxSelected == 1" label="" width="35" align="center">
<template slot-scope="scope">
<el-radio class="tableRadio" v-model="tableChecked" @change="radioChange(scope.row)"
:label="scope.row.USID">{{ null }}
:label="scope.row.orgCode">{{ null }}
</el-radio>
</template>
</el-table-column>
@@ -958,7 +958,7 @@ export default {
})
})
}
debugger
if (this.maxSelected == 1) {
//
this.tableChecked = this.config.value
@@ -115,7 +115,7 @@
<orgTable :visible.sync="visibleOrgTable" title="人员列表" dialog-model :config="{
value: orgTableVal,
valueName: orgTableValName
}" :workNumFlag="true" :isOrg="true" :maxSelected="100" @confirm="isTreeOk"></orgTable>
}" :workNumFlag="true" :isOrg="true" :maxSelected="1" @confirm="isTreeOk"></orgTable>
</div>
</template>
<script>