部门选择
This commit is contained in:
@@ -75,7 +75,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
checkClick(index) {
|
checkClick(index) {
|
||||||
if (this.isSingle) {
|
if (this.isSingle && this.isRequire == 1) {
|
||||||
this.list.map((e, i) => {
|
this.list.map((e, i) => {
|
||||||
e.isCheck = i == index;
|
e.isCheck = i == index;
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
<!-- <div v-if="deptId" class="gateway-name">{{deptName || '部门'}}</div>
|
<!-- <div v-if="deptId" class="gateway-name">{{deptName || '部门'}}</div>
|
||||||
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" v-if="deptId" />
|
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" v-if="deptId" />
|
||||||
<span v-else>部门<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" /></span> -->
|
<span v-else>部门<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" /></span> -->
|
||||||
<AiPagePicker type="dept" :selected.sync="deptList" single nodeKey="id" @select="getListInit">
|
<AiPagePicker type="dept" :selected.sync="deptList" single nodeKey="id" @select="getListInit" isRequire="0">
|
||||||
<span class="label" v-if="deptList.length">{{deptList[0].name}}</span>
|
<span class="label" v-if="deptList.length">{{deptList[0].name}}</span>
|
||||||
<span v-else>部门</span>
|
<span v-else>部门</span>
|
||||||
<u-icon name="arrow-down" color="#666" size="28" style="margin-left:4px;"/>
|
<u-icon name="arrow-down" color="#666" size="28" style="margin-left:4px;"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user