Commit c37e5b62 by tangjiale

更新代码

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