From 08c2033475fa42690c3246aa1510f6c6c932c2ea Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期六, 02 八月 2025 10:53:31 +0800 Subject: [PATCH] 数量可以支持小数 --- src/views/student/index.vue | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/views/student/index.vue b/src/views/student/index.vue index 9de881d..8815ddf 100644 --- a/src/views/student/index.vue +++ b/src/views/student/index.vue @@ -6,22 +6,8 @@ <el-tab-pane label="宸茶繃鏈�" name="expired" /> <el-tab-pane label="宸插仠鐢�" name="deactivated" /> </el-tabs> - <div style="display: flex; justify-content: space-between"> + <div style="display: flex"> <!-- <el-button type="primary" size="small" @click="showCreate">鏂板缓瀛﹀憳</el-button> --> - <div> - <el-button type="primary" size="small" @click="handleExport" - >瀵煎嚭瀛﹀憳</el-button - > - <el-button type="primary" size="small" @click="handleImport" - >瀵煎叆瀛﹀憳</el-button - > - </div> - <div style="width: 500px"> - <!-- <el-date-picker v-model="dateRange" type="daterange" range-separator="鑷�" start-placeholder="寮�濮嬫棩鏈�" - end-placeholder="缁撴潫鏃ユ湡" value-format="yyyy-MM-dd" style="margin-right: 10px"> - </el-date-picker> - <el-button type="primary" @click="handleExport2">瀵煎嚭璇惧寘</el-button> --> - </div> <div style="width: 300px"> <el-input placeholder="鎸夊鍚嶆悳绱�" @@ -36,6 +22,20 @@ ></el-button> </el-input> </div> + <div style="margin-left: 30px"> + <el-button type="primary" size="small" @click="handleExport" + >瀵煎嚭瀛﹀憳</el-button + > + <el-button type="primary" size="small" @click="handleImport" + >瀵煎叆瀛﹀憳</el-button + > + </div> + <div style="width: 500px"> + <!-- <el-date-picker v-model="dateRange" type="daterange" range-separator="鑷�" start-placeholder="寮�濮嬫棩鏈�" + end-placeholder="缁撴潫鏃ユ湡" value-format="yyyy-MM-dd" style="margin-right: 10px"> + </el-date-picker> + <el-button type="primary" @click="handleExport2">瀵煎嚭璇惧寘</el-button> --> + </div> </div> <div style="height: calc(100vh - 208px)"> <el-table @@ -45,7 +45,7 @@ fit height="100%" > - <el-table-column label="濮撳悕" prop=""> + <el-table-column label="濮撳悕" prop="" width="300"> <template slot-scope="scope"> <el-link type="primary" @@ -60,7 +60,7 @@ </el-table-column> <el-table-column label="鎬у埆" - width="80" + width="200" v-if="activeName !== 'deactivated'" > <template slot-scope="scope"> @@ -69,7 +69,7 @@ </el-table-column> <el-table-column label="鎵嬫満鍙�" - width="200" + width="300" prop="mobile" v-if="activeName !== 'deactivated'" > @@ -79,8 +79,8 @@ </el-table-column> <el-table-column label="鏄惁缁戝畾寰俊" - width="200" v-if="activeName !== 'deactivated'" + min-width="200" > <template slot-scope="scope"> {{ scope.row.user ? "鏄�" : "鍚�" }} -- Gitblit v1.8.0