设置-物流设置

master
panqihua 2 years ago
parent 732c21e92f
commit 3975cffa32
  1. 30
      src/views/platform/config/dealer_backend.vue
  2. 58
      src/views/platform/config/logistics_company.vue

@ -0,0 +1,30 @@
<template>
<div class="app-container">
<el-form>
<el-form-item label="背景图" class="title">
<upload-img @file:change="background" :limit="1"></upload-img>
</el-form-item>
</el-form>
</div>
</template>
<script>
export default {
name: 'dealer_backend',
data() {
return {
bg: undefined
}
},
methods: {
background(file, fileList) {
}
}
}
</script>
<style scoped>
</style>

@ -0,0 +1,58 @@
<template>
<div class="app-container">
<el-button type="primary" @click="open=true">新增</el-button>
<el-button>批量删除</el-button>
<el-table border :data="dataList" class="table">
<el-table-column type="selection" align="center"></el-table-column>
<el-table-column type="index" align="center" label="序号"></el-table-column>
<el-table-column align="center" label="物流公司">圆通</el-table-column>
<el-table-column align="center" label="创建时间">2022-12-31 12:31</el-table-column>
<el-table-column align="center" label="更新时间">2022-12-31 12:31</el-table-column>
<el-table-column align="center" label="操作">
<el-button type="text">编辑</el-button>
<el-button type="text">删除</el-button>
</el-table-column>
</el-table>
<el-dialog :visible.sync="open" title="新增">
<el-form inline label-width="100px" label-position="left">
<el-form-item label="物流名称">
<el-input placeholder="请输入"/>
</el-form-item>
<br/>
<el-form-item label="序号">
<el-input placeholder="数字越小排名越靠前"/>
</el-form-item>
</el-form>
<div class="text-center">
<el-button type="primary" @click="save">保存</el-button>
<el-button>重置</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
name: 'logistics_company',
data() {
return {
open: false,
dataList: [{}]
}
},
methods: {
save() {
this.$modal.msgSuccess('保存成功')
this.open = false
}
}
}
</script>
<style scoped lang="scss">
.table {
margin-top: 10px;
}
</style>
Loading…
Cancel
Save