Commit f84b4f77 authored by mengmeng's avatar mengmeng

0720 最后完善版本V1

parent 238a477c
...@@ -30,18 +30,9 @@ ...@@ -30,18 +30,9 @@
</el-form-item> </el-form-item>
<el-form-item label="体重" prop="weight"> <el-form-item label="体重" prop="weight">
<el-input v-model="dataForm.weight" placeholder="体重"></el-input> <el-input v-model="dataForm.weight" placeholder="体重"></el-input>
</el-form-item>
<el-form-item label="衣服型号" prop="ctModel">
<el-input v-model="dataForm.ctModel" placeholder="衣服型号"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="就餐" prop="dinner"> <el-form-item label="就餐" prop="dinner">
<el-input v-model="dataForm.dinner" placeholder="就餐"></el-input> <el-input v-model="dataForm.dinner" placeholder="就餐"></el-input>
</el-form-item>
<el-form-item label="创建时间" prop="createTime">
<el-input v-model="dataForm.createTime" placeholder="创建时间"></el-input>
</el-form-item>
<el-form-item label="修改时间" prop="updateTime">
<el-input v-model="dataForm.updateTime" placeholder="修改时间"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<template slot="footer"> <template slot="footer">
...@@ -83,22 +74,22 @@ export default { ...@@ -83,22 +74,22 @@ export default {
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: true, message: this.$t('validate.required'), trigger: 'blur' }
], ],
employer: [ employer: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: false, message: this.$t('validate.required'), trigger: 'blur' }
], ],
job: [ job: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: false, message: this.$t('validate.required'), trigger: 'blur' }
], ],
email: [ email: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: false, message: this.$t('validate.required'), trigger: 'blur' }
], ],
member: [ member: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: false, message: this.$t('validate.required'), trigger: 'blur' }
], ],
withMember: [ withMember: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: false, message: this.$t('validate.required'), trigger: 'blur' }
], ],
withRelationship: [ withRelationship: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: false, message: this.$t('validate.required'), trigger: 'blur' }
], ],
phone: [ phone: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: true, message: this.$t('validate.required'), trigger: 'blur' }
...@@ -109,17 +100,8 @@ export default { ...@@ -109,17 +100,8 @@ export default {
weight: [ weight: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: true, message: this.$t('validate.required'), trigger: 'blur' }
], ],
ctModel: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
dinner: [ dinner: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } { required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
createTime: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
updateTime: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
] ]
} }
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="mod-competition__wluploadinfo}"> <div class="mod-competition__wluploadinfo}">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()"> <el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
<el-form-item> <el-form-item>
<el-input v-model="dataForm.id" placeholder="id" clearable></el-input> <el-input v-model="dataForm.name" placeholder="请输入姓名" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button @click="getDataList()">{{ $t('query') }}</el-button> <el-button @click="getDataList()">{{ $t('query') }}</el-button>
...@@ -31,10 +31,9 @@ ...@@ -31,10 +31,9 @@
<el-table-column prop="phone" label="手机号" header-align="center" align="center"></el-table-column> <el-table-column prop="phone" label="手机号" header-align="center" align="center"></el-table-column>
<el-table-column prop="height" label="身高" header-align="center" align="center"></el-table-column> <el-table-column prop="height" label="身高" header-align="center" align="center"></el-table-column>
<el-table-column prop="weight" label="体重" header-align="center" align="center"></el-table-column> <el-table-column prop="weight" label="体重" header-align="center" align="center"></el-table-column>
<el-table-column prop="ctModel" label="衣服型号" header-align="center" align="center"></el-table-column>
<el-table-column prop="dinner" label="就餐" header-align="center" align="center"></el-table-column> <el-table-column prop="dinner" label="就餐" header-align="center" align="center"></el-table-column>
<el-table-column prop="createTime" label="创建时间" header-align="center" align="center"></el-table-column> <!-- <el-table-column prop="createTime" label="创建时间" header-align="center" align="center"></el-table-column>-->
<el-table-column prop="updateTime" label="修改时间" header-align="center" align="center"></el-table-column> <!-- <el-table-column prop="updateTime" label="修改时间" header-align="center" align="center"></el-table-column>-->
<el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150"> <el-table-column :label="$t('handle')" fixed="right" header-align="center" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="$hasPermission('competition:wluploadinfo:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button> <el-button v-if="$hasPermission('competition:wluploadinfo:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">{{ $t('update') }}</el-button>
......
<template> <template>
<el-card shadow="never" class="aui-card--fill"> <el-card shadow="never" class="aui-card--fill">
<div class="mod-home"> <!--<div class="mod-home">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12" :xs="24"> <el-col :span="12" :xs="24">
<table> <table>
...@@ -91,7 +91,9 @@ ...@@ -91,7 +91,9 @@
</table> </table>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>-->
<div style="text-align:center;font-size:30px;font-weight:bold;
vertical-align: center;margin-top: 20%">欢迎您登录汇民综合管理平台</div>
</el-card> </el-card>
</template> </template>
......
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