mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 18:22:55 +08:00
讲师管理bug
This commit is contained in:
@@ -145,13 +145,13 @@
|
||||
v-if="tableDataTotal > 10"
|
||||
:showSizeChanger="true"
|
||||
:showQuickJumper="false"
|
||||
:hideOnSinglePage="true"
|
||||
:pageSize="searchParam.pageSize"
|
||||
:current="searchParam.pageNo"
|
||||
:total="tableDataTotal"
|
||||
class="pagination"
|
||||
@change="changePagination"
|
||||
/>
|
||||
:hideOnSinglePage="false"
|
||||
:pageSize="searchParam.pageSize"
|
||||
:current="searchParam.pageNo"
|
||||
:total="tableDataTotal"
|
||||
class="pagination"
|
||||
@change="changePagination"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 弹窗组件 -->
|
||||
@@ -1153,8 +1153,9 @@ getAllLevelList().then((res) => {
|
||||
state.formParam.orgNames = state.formParam.orgName
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("详情", err);
|
||||
});
|
||||
message.destroy()
|
||||
message.error(err.data.msg)
|
||||
});
|
||||
}
|
||||
//二级页面
|
||||
const columnsFeeDetail = ref([
|
||||
@@ -1227,7 +1228,7 @@ getAllLevelList().then((res) => {
|
||||
state.formParam.teachingTime = state.formParam.teachingTime?.replace(/\D/g, '');
|
||||
state.formParam.teachingTime = state.formParam.teachingTime?.slice(0,8);
|
||||
state.formParam.teachingTime == 0 && (state.formParam.teachingTime = null);
|
||||
state.formParam.teachingTime && state.formParam.levelPay && (state.formParam.expense = state.formParam.levelPay*(state.formParam.teachingTime/60).toFixed(2));
|
||||
state.formParam.teachingTime && state.formParam.levelPay && (state.formParam.expense = (state.formParam.levelPay*(state.formParam.teachingTime/60)).toFixed(2));
|
||||
}
|
||||
const clearstudysNumber = () => {
|
||||
state.formParam.studys = state.formParam.studys.replace(/\D/g, '');
|
||||
@@ -1246,7 +1247,7 @@ getAllLevelList().then((res) => {
|
||||
state.formParam.levelPay = state.formParam.levelPay?.replace(/\D/g, '');
|
||||
state.formParam.levelPay = state.formParam.levelPay?.slice(0,8);
|
||||
state.formParam.levelPay == 0 && (state.formParam.levelPay = null);
|
||||
state.formParam.levelPay&&state.formParam.teachingTime && (state.formParam.expense = state.formParam.levelPay*(state.formParam.teachingTime/60).toFixed(2))
|
||||
state.formParam.levelPay&&state.formParam.teachingTime && (state.formParam.expense = (state.formParam.levelPay*(state.formParam.teachingTime/60)).toFixed(2))
|
||||
}
|
||||
const rules = {
|
||||
name: [{ required: true, message:'',log: '讲师不能为空' }],
|
||||
|
||||
Reference in New Issue
Block a user