【修改】修改你们单选
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
<el-table-column v-if="maxSelected && maxSelected == 1" label="" width="35" align="center">
|
<el-table-column v-if="maxSelected && maxSelected == 1" label="" width="35" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-radio class="tableRadio" v-model="tableChecked" @change="radioChange(scope.row)"
|
<el-radio class="tableRadio" v-model="tableChecked" @change="radioChange(scope.row)"
|
||||||
:label="scope.row.USID">{{ null }}
|
:label="scope.row.orgCode">{{ null }}
|
||||||
</el-radio>
|
</el-radio>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -958,7 +958,7 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
debugger
|
||||||
if (this.maxSelected == 1) {
|
if (this.maxSelected == 1) {
|
||||||
//
|
//
|
||||||
this.tableChecked = this.config.value
|
this.tableChecked = this.config.value
|
||||||
|
|||||||
@@ -115,7 +115,7 @@
|
|||||||
<orgTable :visible.sync="visibleOrgTable" title="人员列表" dialog-model :config="{
|
<orgTable :visible.sync="visibleOrgTable" title="人员列表" dialog-model :config="{
|
||||||
value: orgTableVal,
|
value: orgTableVal,
|
||||||
valueName: orgTableValName
|
valueName: orgTableValName
|
||||||
}" :workNumFlag="true" :isOrg="true" :maxSelected="100" @confirm="isTreeOk"></orgTable>
|
}" :workNumFlag="true" :isOrg="true" :maxSelected="1" @confirm="isTreeOk"></orgTable>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user