From a4b91616ceae752e11cb6fc5198ebadf52cd68ed Mon Sep 17 00:00:00 2001 From: jazz <jazzxhunter@163.com> Date: 星期三, 24 八月 2022 16:05:15 +0800 Subject: [PATCH] update_202208241604_下载模板修改链接 --- src/pages/demo/index.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/pages/demo/index.vue b/src/pages/demo/index.vue index b9e4cae..0104a0f 100644 --- a/src/pages/demo/index.vue +++ b/src/pages/demo/index.vue @@ -8,7 +8,7 @@ <el-form-item label="瑙掕壊鍚嶇О"> <el-input v-model="keyWord" - placeholder="璇疯緭鍏ヨ鑹插悕绉�" + placeholder="鎼滅储瑙掕壊鍚嶇О" clearable size="small" style="width: 240px" @@ -38,12 +38,18 @@ </el-row> <!-- 鎿嶄綔鍖� 鈫戔啈鈫戔啈鈫戔啈鈫戔啈鈫戔啈 --> + <!-- + table鍙傛暟璁剧疆锛� + stripe 鏄惁涓烘枒椹汗 + border 鏄惁甯︽湁绾靛悜杈规 + max-height 鏈�澶ч珮搴� + --> <el-table :data="list" stripe> <el-table-column type="index" label="搴忓彿" align="center" width="60" /> <el-table-column label="瑙掕壊鍚嶇О" prop="name" align="center" min-width="120" /> <el-table-column label="鏄惁涓婃灦" prop="isUp" align="center" min-width="100"> <template slot-scope="scope"> - <!-- 鏉冮檺鍒ゆ柇 v-if="getAuthValueFN('xxx_edit')" --> + <!-- 鏉冮檺鍒ゆ柇 :disabled="!getAuthValueFN('xxx_edit')" --> <el-switch v-model="scope.row.isUp" :active-value="1" @@ -248,7 +254,8 @@ this.postFN({ url: 'xxx', params: { - id: item.id + id: item.id, + isUp: item.isUp }, mockData: { code: 100, -- Gitblit v1.8.0