Compare commits

..

No commits in common. "c4338d651cf6e8e7b12a446c0b05a7ec19bfc189" and "32e3e94bf2037cd3cc7ae5ee8f89d1a8da60b580" have entirely different histories.

2 changed files with 1 additions and 27 deletions

View File

@ -55,7 +55,7 @@
label="操作"> label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="primary" icon="el-icon-edit" @click="edit(scope.row)"></el-button> <el-button size="mini" type="primary" icon="el-icon-edit" @click="edit(scope.row)"></el-button>
<el-button size="mini" type="success" icon="el-icon-location" @click="locate(scope.row)"></el-button> <el-button size="mini" type="success" icon="el-icon-location" @click="edit(scope.row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -72,18 +72,6 @@
</el-card> </el-card>
<el-dialog
title="物流进度"
:visible.sync="dialogLocationVisible"
width="50%">
<el-timeline>
<el-timeline-item
v-for="(item,i) in progress" :key="i"
:timestamp="item.time"
>{{item.context}}</el-timeline-item>
</el-timeline>
</el-dialog>
<el-dialog @close="close" title="修改收货地址" :visible.sync="dialogFormVisible"> <el-dialog @close="close" title="修改收货地址" :visible.sync="dialogFormVisible">
<el-form :model="form" ref="form" :rules="rules" label-width="100"> <el-form :model="form" ref="form" :rules="rules" label-width="100">
<el-form-item label="活动区域" prop="region"> <el-form-item label="活动区域" prop="region">
@ -116,7 +104,6 @@ export default {
pagesize: 10, pagesize: 10,
pagenum: 1 pagenum: 1
}, },
dialogLocationVisible: false,
data: [], data: [],
form: { form: {
address: '', address: '',
@ -128,7 +115,6 @@ export default {
children: 'children', children: 'children',
expandTrigger: 'hover' expandTrigger: 'hover'
}, },
progress: [],
options: citydata, options: citydata,
selectKey: [], selectKey: [],
total: 0, total: 0,
@ -144,14 +130,6 @@ export default {
} }
}, },
methods: { methods: {
async locate (row) {
this.dialogLocationVisible = true
const { data: res } = await this.$http.get('kuaidi/1106975712662')
if (res.meta.status !== 200) {
return this.$message.error(res.meta.msg)
}
this.progress = res.data
},
close () { close () {
this.$refs.form.resetFields() this.$refs.form.resetFields()
this.selectKey = [] this.selectKey = []

View File

@ -12,11 +12,7 @@ import vueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css' // import styles import 'quill/dist/quill.core.css' // import styles
import 'quill/dist/quill.snow.css' // for snow theme import 'quill/dist/quill.snow.css' // for snow theme
import 'quill/dist/quill.bubble.css' // for bubble theme import 'quill/dist/quill.bubble.css' // for bubble theme
import timeline from 'element-ui/lib/timeline'
import timelineItem from 'element-ui/lib/timeline-item'
Vue.use(timeline)
Vue.use(timelineItem)
Vue.use(vueQuillEditor) Vue.use(vueQuillEditor)
Vue.component('table-tree', tableTree) Vue.component('table-tree', tableTree)
axios.defaults.baseURL = 'http://127.0.0.1:8888/api/private/v1/' axios.defaults.baseURL = 'http://127.0.0.1:8888/api/private/v1/'