mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
讲师管理bug
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
</div>
|
||||
<div class="btnn">
|
||||
<button class="btn1" @click="config">确认提交审批</button>
|
||||
<button class="btn1" @click="qureyDrawer">确定</button>
|
||||
<button class="btn1" @click="qureyDrawer">确认至审批中心</button>
|
||||
<button class="btn2" @click="closeDrawer">取消</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -87,7 +87,7 @@
|
||||
<span>操作确认</span>
|
||||
<div class="close_exit" @click="close"></div>
|
||||
</div>
|
||||
<div class="title">本月可提交审批次数: <span style="color:#4ea6ff"> {{ numTime }} / 10 </span></div>
|
||||
<!-- <div class="title">本月可提交审批次数: <span style="color:#4ea6ff"> {{ numTime }} / 10 </span></div> -->
|
||||
<div class="body">
|
||||
<div>
|
||||
<span>请仔细核对讲师费信息,确认无误后,将自动进入(BPM系统)审批流程。</span>
|
||||
@@ -132,12 +132,12 @@ const close = () => {
|
||||
modalVisible.value = false;
|
||||
}
|
||||
const handleConfirm = () => {
|
||||
if(numTime.value >= 10){
|
||||
message.error('提交审批次数已达上限')
|
||||
return
|
||||
}
|
||||
numTime.value+=1
|
||||
localStorage.setItem('numTime',numTime.value)
|
||||
// if(numTime.value >= 10){
|
||||
// message.error('提交审批次数已达上限')
|
||||
// return
|
||||
// }
|
||||
// numTime.value+=1
|
||||
// localStorage.setItem('numTime',numTime.value)
|
||||
const ids = forData.value.flatMap(item => item.expenseList.map(item => item.id));
|
||||
if(!ids.length){
|
||||
return message.error('暂无可提交的数据')
|
||||
@@ -177,7 +177,7 @@ const clickItem = (item,i) => {
|
||||
watch(()=>props.visible,(val)=>{
|
||||
if(val){
|
||||
loadingData.value = true
|
||||
numTime.value = Number(localStorage.getItem('numTime')||0)
|
||||
// numTime.value = Number(localStorage.getItem('numTime')||0)
|
||||
api.getListByAffiliation(
|
||||
{
|
||||
name: '',
|
||||
@@ -486,9 +486,9 @@ const config = () => {
|
||||
|
||||
.body {
|
||||
width: 100%;
|
||||
padding: 0 30px;
|
||||
padding: 0 50px;
|
||||
margin: 34px auto 56px auto;
|
||||
margin-top: 10px;
|
||||
margin-top: 40px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@@ -646,7 +646,7 @@ const config = () => {
|
||||
|
||||
.btn1 {
|
||||
cursor: pointer;
|
||||
width: 100px;
|
||||
width: 120px;
|
||||
height: 40px;
|
||||
background: #4ea6ff;
|
||||
border-radius: 8px;
|
||||
|
||||
@@ -224,12 +224,14 @@ const searchMember = (keyword) => {
|
||||
avatar: item.avatar,
|
||||
gender: item.gender
|
||||
}
|
||||
})
|
||||
}) || []
|
||||
}else{
|
||||
options.value = []
|
||||
loading.value = false
|
||||
}
|
||||
}).catch(()=>{
|
||||
loading.value = false
|
||||
options.value = []
|
||||
})
|
||||
const params = {
|
||||
pageNo: 1,
|
||||
|
||||
Reference in New Issue
Block a user