讲师管理bug

This commit is contained in:
zhangsir
2024-12-09 17:31:53 +08:00
parent 30ee0c4a06
commit 43f55a54e1

View File

@@ -383,7 +383,7 @@ export default {
}) })
watch(()=>props.visible, (val) => { watch(()=>props.visible, (val) => {
if(val){ if(val){
queryById({id: state.paramsId}).then(res=>{ queryById({id: props.id}).then(res=>{
state.formData = res.data.data state.formData = res.data.data
}) })
getTableList() getTableList()
@@ -396,7 +396,7 @@ export default {
const getTableList = () => { const getTableList = () => {
state.loading = true state.loading = true
queryExpnseByBillId({ queryExpnseByBillId({
billId: state.paramsId, billId: props.id,
pageNo: state.params.pageNo, pageNo: state.params.pageNo,
pageSize: state.params.pageSize, pageSize: state.params.pageSize,
name: state.params.userNoName, name: state.params.userNoName,
@@ -450,7 +450,7 @@ export default {
content: '确定要重新汇总数据吗?', content: '确定要重新汇总数据吗?',
ok: () => { ok: () => {
CreateSummaryAgain(props.id).then(res=>{ CreateSummaryAgain(props.id).then(res=>{
queryById({id: state.paramsId}).then(res=>{ queryById({id: props.id}).then(res=>{
state.formData = res.data.data state.formData = res.data.data
}) })
search(); search();