人员管理(管理人员):更改人员录入表单,添加开户行与银行卡号
This commit is contained in:
parent
14ce8abda3
commit
0da407e488
@ -7,28 +7,43 @@
|
|||||||
active-text-color="#5181F6"
|
active-text-color="#5181F6"
|
||||||
class="el-menu-demo whiteBlock"
|
class="el-menu-demo whiteBlock"
|
||||||
mode="horizontal"
|
mode="horizontal"
|
||||||
style="width:370px"
|
style="width: 370px"
|
||||||
>
|
>
|
||||||
<el-menu-item index="1" style="height:41px;line-height:41px" @click="switchTab(1)">{{$t('message.laborMange.modules')}}</el-menu-item>
|
<el-menu-item
|
||||||
<el-menu-item index="2" style="height:41px; line-height:41px" @click="switchTab(2)">{{$t('message.laborMange.modules1')}}</el-menu-item>
|
index="1"
|
||||||
<el-menu-item index="3" style="height:41px; line-height:41px" @click="switchTab(3)">{{$t('message.laborMange.modules2')}}</el-menu-item>
|
style="height: 41px; line-height: 41px"
|
||||||
|
@click="switchTab(1)"
|
||||||
|
>{{ $t('message.laborMange.modules') }}</el-menu-item
|
||||||
|
>
|
||||||
|
<el-menu-item
|
||||||
|
index="2"
|
||||||
|
style="height: 41px; line-height: 41px"
|
||||||
|
@click="switchTab(2)"
|
||||||
|
>{{ $t('message.laborMange.modules1') }}</el-menu-item
|
||||||
|
>
|
||||||
|
<el-menu-item
|
||||||
|
index="3"
|
||||||
|
style="height: 41px; line-height: 41px"
|
||||||
|
@click="switchTab(3)"
|
||||||
|
>{{ $t('message.laborMange.modules2') }}</el-menu-item
|
||||||
|
>
|
||||||
</el-menu>
|
</el-menu>
|
||||||
</div>
|
</div>
|
||||||
<div class="content_right"></div>
|
<div class="content_right"></div>
|
||||||
<!-- 劳务人员 -->
|
<!-- 劳务人员 -->
|
||||||
<Labor v-if="showModule==1" class="labor_module" />
|
<Labor v-if="showModule == 1" class="labor_module" />
|
||||||
<!-- 管理人员 -->
|
<!-- 管理人员 -->
|
||||||
<Admin v-if="showModule==2" />
|
<Admin v-if="showModule == 2" />
|
||||||
<!-- 临时人员 -->
|
<!-- 临时人员 -->
|
||||||
<Temporary v-if="showModule==3" />
|
<Temporary v-if="showModule == 3" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import Labor from "./personModule/laborComponent";
|
import Labor from './personModule/laborComponent'
|
||||||
import Admin from "./personModule/administration";
|
import Admin from './personModule/administration'
|
||||||
import Temporary from "./personModule/temporary";
|
import Temporary from './personModule/temporary'
|
||||||
export default {
|
export default {
|
||||||
name: "personManage",
|
name: 'personManage',
|
||||||
components: {
|
components: {
|
||||||
Labor,
|
Labor,
|
||||||
Admin,
|
Admin,
|
||||||
@ -36,33 +51,30 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showModule: 1,
|
showModule: 1
|
||||||
};
|
}
|
||||||
},
|
},
|
||||||
created(){
|
created() {
|
||||||
//详情返回对应的 列表模块
|
//详情返回对应的 列表模块
|
||||||
if(localStorage.getItem('showPersonModule')){
|
if (localStorage.getItem('showPersonModule')) {
|
||||||
this.switchTab(Number(localStorage.getItem('showPersonModule')));
|
this.switchTab(Number(localStorage.getItem('showPersonModule')))
|
||||||
localStorage.removeItem('showPersonModule')
|
localStorage.removeItem('showPersonModule')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
switchTab(type) {
|
switchTab(type) {
|
||||||
if (type == this.showModule) return;
|
if (type == this.showModule) return
|
||||||
if(type == 1){
|
if (type == 1) {
|
||||||
window._paq.push(['trackEvent', '点击', '劳务人员','切换为劳务人员' ])
|
window._paq.push(['trackEvent', '点击', '劳务人员', '切换为劳务人员'])
|
||||||
}
|
} else if (type == 2) {
|
||||||
else if(type == 2){
|
window._paq.push(['trackEvent', '点击', '管理人员', '切换为管理人员'])
|
||||||
window._paq.push(['trackEvent', '点击', '管理人员','切换为管理人员' ])
|
} else if (type == 3) {
|
||||||
}
|
window._paq.push(['trackEvent', '点击', '临时人员', '切换为临时人员'])
|
||||||
else if(type == 3){
|
}
|
||||||
window._paq.push(['trackEvent', '点击', '临时人员','切换为临时人员' ])
|
this.showModule = type
|
||||||
}
|
}
|
||||||
this.showModule = type;
|
}
|
||||||
|
}
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.personManage {
|
.personManage {
|
||||||
@ -83,10 +95,11 @@ export default {
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
/deep/ .el-dialog__title, .pageTitle{
|
/deep/ .el-dialog__title,
|
||||||
|
.pageTitle {
|
||||||
font-weight: 700 !important;
|
font-weight: 700 !important;
|
||||||
}
|
}
|
||||||
.el-menu-item{
|
.el-menu-item {
|
||||||
width: 33.333%;
|
width: 33.333%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0 16px !important;
|
padding: 0 16px !important;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user