This commit is contained in:
parent
c03d05503f
commit
11e1c680ed
|
|
@ -161,25 +161,24 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="right-button">
|
||||
<view class="right-button-one" @click="jineng">
|
||||
<view class="right-button-one" @click="clickButton(item,1)">
|
||||
<image class="right-button-img"
|
||||
:src="`https://www.focusnu.com/media/directive/index/addstaff/jineng.png`" />
|
||||
<view class="">
|
||||
技能培训
|
||||
员工信息
|
||||
</view>
|
||||
</view>
|
||||
<view class="right-button-one">
|
||||
<view class="right-button-one" @click="clickButton(item,-1)">
|
||||
<image class="right-button-img"
|
||||
:src="`https://www.focusnu.com/media/directive/index/addstaff/yuangong.png`" />
|
||||
<view class="">
|
||||
员工功能
|
||||
信息变更
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-box-father">
|
||||
<view v-for="(item0,index) in buttonArray" :key="index" class="white-box"
|
||||
@click="clickButton(item,index)">
|
||||
<view v-for="(item0,index) in buttonArray" :key="index" class="white-box" @click="jineng">
|
||||
<image class="box-img"
|
||||
:src="`https://www.focusnu.com/media/directive/index/addstaff/${index+2}.png`" />
|
||||
<view class="box-font">{{item0}}</view>
|
||||
|
|
@ -303,7 +302,7 @@
|
|||
// uni.showLoading()
|
||||
}
|
||||
|
||||
const buttonArray = ref(["信息变更", "员工功能", "员工功能"])
|
||||
const buttonArray = ref(["技能培训", "员工功能", "员工功能"])
|
||||
const statusarray = ["loading", "success", "fail"]
|
||||
const which = ref(0);
|
||||
|
||||
|
|
@ -527,16 +526,14 @@
|
|||
}
|
||||
const clickButton = (item, index) => {
|
||||
|
||||
if (index === 0) {
|
||||
getMessageList(item.orgCode).then(res => {
|
||||
uni.setStorageSync("changeyuangongorgCode", item.orgCode)
|
||||
if (res.success) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}`
|
||||
url: `/pages/addstaff/all?element=${JSON.stringify(res.result[0])}&code=${index}`
|
||||
});
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
const jumptolist = (res) => {
|
||||
if (res) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue