Commit e4d7f2ce authored by chenqikuai's avatar chenqikuai

fix: add-member页面bug fix

parent 122c4a55
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
@confirm="selectJoinTime" @confirm="selectJoinTime"
/> />
<!-- 选择部门 --> <!-- 选择部门 -->
<group-cell dot required class="mt-4" title="所属部门" @click="selectDep"> <group-cell dot required class="mt-4" title="所属部门" @click.native="selectDep">
<c-cell :title="currentDep.name" /> <c-cell :title="currentDep.name" />
</group-cell> </group-cell>
<!--按钮--> <!--按钮-->
...@@ -146,6 +146,7 @@ export default Vue.extend({ ...@@ -146,6 +146,7 @@ export default Vue.extend({
// this.acceptJoin = Object.assign(this.acceptJoin, this.$store.state.acceptJoin) // this.acceptJoin = Object.assign(this.acceptJoin, this.$store.state.acceptJoin)
const dep = await this.getSub(this.depId) const dep = await this.getSub(this.depId)
this.currentDep = dep.dep this.currentDep = dep.dep
this.date = this.formatDate(new Date())
}, },
methods: { methods: {
async selectDep() { async selectDep() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment