From a7fb50c91e4932aa175be266fbdd42b2a70eba66 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 22 五月 2024 18:11:11 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 admin/src/views/operation/serviceCar/driverConfig.vue |  128 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 128 insertions(+), 0 deletions(-)

diff --git a/admin/src/views/operation/serviceCar/driverConfig.vue b/admin/src/views/operation/serviceCar/driverConfig.vue
new file mode 100644
index 0000000..481afc5
--- /dev/null
+++ b/admin/src/views/operation/serviceCar/driverConfig.vue
@@ -0,0 +1,128 @@
+<template>
+  <div class="main_app">
+    <QueryForm
+      v-model="filters"
+      :query-form-config="queryFormConfig"
+      @handleQuery="getList(1)"
+      @clear="clear"
+    />
+    <div class="ml20 mt20">
+      <el-button type="primary" @click="handleEdit()">娣诲姞</el-button>
+    </div>
+    <el-table v-loading="loading" :data="list" stripe>
+      <el-table-column
+        prop="name"
+        label="濮撳悕"
+        min-width="100"
+        show-overflow-tooltip
+      />
+      <el-table-column
+        prop="name"
+        label="鎬у埆"
+        min-width="100"
+        show-overflow-tooltip
+      />
+      <el-table-column
+        prop="name"
+        label="缁勭粐"
+        min-width="100"
+        show-overflow-tooltip
+      />
+      <el-table-column
+        prop="name"
+        label="鎵嬫満鍙�"
+        min-width="80"
+        show-overflow-tooltip
+      />
+      <el-table-column
+        prop="name"
+        label="鎿嶄綔"
+        min-width="80"
+        show-overflow-tooltip
+      >
+        <template v-slot="scope">
+          <el-button type="text" @click="handleEdit(scope.row)">缂栬緫</el-button>
+          <el-button type="text" class="red" @click="handleDel(scope.row)">鍒犻櫎</el-button>
+        </template>
+      </el-table-column>
+    </el-table>
+    <pagination
+      @size-change="handleSizeChange"
+      @current-change="getList"
+      :pagination="pagination"
+    />
+    <el-dialog title="閫夋嫨浜哄憳" :visible.sync="isShowEdit" width="480px">
+      <el-form
+        :model="param"
+        :rules="rules"
+        ref="ruleForm"
+        label-width="100px"
+      >
+        <el-form-item label="閫夋嫨缁勭粐" prop="name">
+          <el-select placeholder="璇烽�夋嫨锛屽崟閫�" class="w300" filterable>
+            <el-option></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="閫夋嫨浜哄憳" prop="name">
+          <el-select placeholder="璇烽�夋嫨锛屽崟閫�"  class="w300" filterable>
+            <el-option></el-option>
+          </el-select>
+        </el-form-item>
+      </el-form>
+      <span slot="footer" class="dialog-footer">
+        <el-button @click="isShowEdit = false">鍙栨秷</el-button>
+        <el-button type="primary" @click="isShowEdit = false">纭畾</el-button>
+      </span>
+    </el-dialog>
+  </div>
+</template>
+
+<script>
+import Pagination from '@/components/common/Pagination'
+import QueryForm from '@/components/common/QueryForm'
+export default {
+  components: {
+    Pagination,
+    QueryForm
+  },
+  data () {
+    return {
+      filters: {},
+      loading: false,
+      queryFormConfig: {
+        formItems: [
+          {
+            filed: 'name',
+            type: 'input',
+            label: '椹鹃┒鍛樺鍚�'
+          }
+        ],
+        online: true
+      },
+      pagination: {
+        capacity: 10,
+        page: 1
+      },
+      list: [{}],
+      total: 0,
+      isShowEdit: false,
+      param: {},
+      rules: {}
+    }
+  },
+  methods: {
+    getList (page) { },
+    clear () { },
+    handleEdit (row) {
+      this.isShowEdit = true
+    },
+    handleDel () {},
+    handleSizeChange (capacity) {
+      this.pagination.capacity = capacity
+    }
+  }
+}
+</script>
+
+<style>
+</style>

--
Gitblit v1.9.3