Commit c37e5b62 by tangjiale

更新代码

parent 9fc779a6
......@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-06-02 15:02:39
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-27 11:29:50
* @LastEditTime: 2022-06-28 11:43:26
-->
<template>
<div>
......@@ -92,11 +92,11 @@ export default {
},
this.$refs['c-dialog'].change()
this.$nextTick(() => {
this.$refs['studentForm'].resetFields
this.$refs['studentForm'] && this.$refs['studentForm'].resetFields
})
},
queryDetail(id){
this.$refs['studentForm'].resetFields()
this.$refs['studentForm'] && this.$refs['studentForm'].resetFields()
this.$service.student.queryStudentDetail(id).then(res =>{
let {id,name,birthday,gender,fatherPhone,motherPhone,otherPhone,schIds,readSchName} = res
let schId = (schIds.split(',')).map(v => Number(v))
......@@ -119,7 +119,7 @@ export default {
that.$notifySuccess()
setTimeout(() =>{
that.$emit('update')
that.$refs['studentForm'].resetFields()
that.$refs['studentForm'] && that.$refs['studentForm'].resetFields()
that.change()
},1500)
})
......
......@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-06-02 14:08:46
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-28 11:33:32
* @LastEditTime: 2022-06-28 11:42:23
-->
<template>
<div class="page-bg">
......@@ -87,7 +87,7 @@ export default {
},
{
title: "操作",
width: "250px",
width: "235px",
type: "buttons",
//orderType 1:智慧体育订单 2移动活动订单 3腾讯同步订单 4 h5天天订单
buttons: [
......
......@@ -57,7 +57,7 @@ export default {
}
],
table: {
service: "course", height:(screen.height - (440 * this.$px2rem)),
service: "course", height:(screen.height - 228),
func: "queryExperList",
selectable: false,customRow:true,
columns: [
......@@ -82,7 +82,7 @@ export default {
type: 'customField',
fieldFunction: row => (orderState[row.orderStatus] || ''),
},
{title: "操作",type: "customViewField",width:'220px'}
{title: "操作",type: "customViewField",width:'180px'}
],
},
},
......
......@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-06-02 14:08:46
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-28 11:30:38
* @LastEditTime: 2022-06-28 11:39:04
-->
<template>
<div class="page-bg">
......@@ -68,7 +68,7 @@ export default {
title: "所在校区",type: 'customField',
fieldFunction: row => (row.schoolList.map(e => e.name)).join(','),
},
{title: "就读学校",field: "readSchName",width: "140px"},
// {title: "就读学校",field: "readSchName",width: "140px"},
{
title: "操作",
width: "160px",fixed:'right',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment