merbe
This commit is contained in:
@@ -51,7 +51,6 @@ export function changeStatus (item, params) {
|
||||
}
|
||||
// 修改服务包信息
|
||||
export function editServiceInfo (item, params) {
|
||||
console.log(item, params)
|
||||
return request({
|
||||
url: api.service.replace('{item}', item),
|
||||
method: 'post',
|
||||
@@ -61,7 +60,6 @@ export function editServiceInfo (item, params) {
|
||||
|
||||
// 修改机构备注消息
|
||||
export function remark (item, params) {
|
||||
console.log(item, params)
|
||||
return request({
|
||||
url: api.remark.replace('{item}', item),
|
||||
method: 'post',
|
||||
|
||||
@@ -31,7 +31,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleIconChange (icon) {
|
||||
// console.log('change Icon', icon)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,6 @@ export default {
|
||||
clearInterval(this.timer)
|
||||
},
|
||||
created () {
|
||||
// console.log('created..noticeIcon...notifies/unread_count')
|
||||
const token = storage.get(ACCESS_TOKEN)
|
||||
this.getNoticeCount()
|
||||
if (token) {
|
||||
|
||||
@@ -165,7 +165,6 @@ export default {
|
||||
getInfo () {
|
||||
doLogsList(this.id, { item_id: '' }).then(
|
||||
res => {
|
||||
console.log(res)
|
||||
this.logsList = res
|
||||
}).catch(
|
||||
err => {
|
||||
@@ -193,7 +192,6 @@ export default {
|
||||
},
|
||||
// 修改金额
|
||||
moneyChange (item) {
|
||||
console.log(item)
|
||||
const order = {
|
||||
item: item,
|
||||
orderId: this.id
|
||||
|
||||
@@ -517,7 +517,6 @@ export default {
|
||||
payDiff (item) {
|
||||
// 获得所有机构信息
|
||||
getAllBanks(this.orderId).then(res => {
|
||||
console.log(res)
|
||||
item.banks = res
|
||||
item.id = this.orderId
|
||||
this.$dialog(
|
||||
|
||||
@@ -119,7 +119,6 @@ export default {
|
||||
this.getInfo()
|
||||
// 接受传参
|
||||
this.eventBus.$on('editRealName', (res) => {
|
||||
console.log('editRealName')
|
||||
this.rejectEdit = true
|
||||
this.resetEdit = true
|
||||
this.getInfo()
|
||||
|
||||
@@ -161,10 +161,8 @@ export default {
|
||||
})
|
||||
},
|
||||
payDiff (item) {
|
||||
console.log(item)
|
||||
// 获得所有机构信息
|
||||
getAllBanks(item.id).then(res => {
|
||||
console.log(res)
|
||||
item.banks = res
|
||||
this.$dialog(
|
||||
PayDifference,
|
||||
|
||||
@@ -188,8 +188,6 @@ export default {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
console.log(this.item.actionType)
|
||||
const params = {
|
||||
item_id: this.item.id.item_id,
|
||||
type: this.item.actionType === 'user' ? 1 : 2,
|
||||
@@ -198,7 +196,6 @@ export default {
|
||||
value: this.item.type === 'date' ? values[Object.keys(values)[0]].format('YYYY-MM-DD') : values[Object.keys(values)[0]]
|
||||
}
|
||||
}
|
||||
console.log(params)
|
||||
updateOrderInfo(this.item.id.order_id, params).then((res) => {
|
||||
this.$notification.success({
|
||||
message: '成功',
|
||||
|
||||
@@ -87,7 +87,6 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
const params = {
|
||||
order: this.order.orderId,
|
||||
|
||||
@@ -74,9 +74,7 @@ export default {
|
||||
methods: {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
console.log(this.item)
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
diffPrice(this.item.id, values).then(() => {
|
||||
this.$notification.success({
|
||||
|
||||
@@ -32,7 +32,6 @@ const router = new Router({
|
||||
})
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
console.log(to, from, next)
|
||||
NProgress.start() // start progress bar
|
||||
to.meta && (typeof to.meta.title !== 'undefined' && setDocumentTitle(`${i18nRender(to.meta.title)} - ${domTitle}`))
|
||||
/* has token */
|
||||
|
||||
@@ -85,7 +85,6 @@ const user = {
|
||||
GetMiddleUser ({ commit }) {
|
||||
return new Promise((resolve, reject) => {
|
||||
getMiddleUser().then(res => {
|
||||
console.log(res)
|
||||
// storage.set('middleground_id', res.middleground_id)
|
||||
commit('SET_USER_ID', res.middleground_id)
|
||||
// commit('SET_USERTYPE', res.type)
|
||||
|
||||
@@ -100,7 +100,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleChange (value) {
|
||||
console.log(`selected ${value}`)
|
||||
},
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
|
||||
@@ -112,7 +112,6 @@ export default {
|
||||
password: this.postData.password
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(res)
|
||||
this.loginSuccess(res)
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
@@ -261,7 +261,6 @@ export default {
|
||||
},
|
||||
// 机构是否能导出
|
||||
canExports () {
|
||||
console.log('canExports')
|
||||
canExport(storage.get('userid')).then(res => {
|
||||
this.exports_can = res.exports
|
||||
})
|
||||
@@ -287,7 +286,6 @@ export default {
|
||||
},
|
||||
// 新增用户
|
||||
onAddRole () {
|
||||
console.log('add....')
|
||||
const success = {
|
||||
title: '新增用户',
|
||||
width: 600,
|
||||
@@ -301,7 +299,6 @@ export default {
|
||||
{
|
||||
on: {
|
||||
ok: () => {
|
||||
console.log('成功了。。')
|
||||
this.$refs.table.loadData()
|
||||
}
|
||||
}
|
||||
@@ -325,7 +322,6 @@ export default {
|
||||
item,
|
||||
on: {
|
||||
ok: () => {
|
||||
console.log('成功了。。')
|
||||
this.$refs.table.loadData()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,9 +44,7 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -52,9 +52,7 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -87,9 +87,7 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -102,7 +102,6 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
addSchemes(this.orderId,
|
||||
this.itemId,
|
||||
@@ -154,7 +153,6 @@ export default {
|
||||
},
|
||||
// 是否直接完成
|
||||
onFinishPlanChange (checked) {
|
||||
console.log(`a-switch to ${checked}`)
|
||||
this.is_complate = checked
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,7 +163,6 @@ export default {
|
||||
},
|
||||
// 添加记录
|
||||
addUserSystemLog (type) {
|
||||
console.log(type)
|
||||
const order = {
|
||||
item_id: this.itemId,
|
||||
order: this.orderId,
|
||||
@@ -185,7 +184,6 @@ export default {
|
||||
})
|
||||
return
|
||||
}
|
||||
console.log(order)
|
||||
doLogs(this.orderId, order).then((res) => {
|
||||
this.$notification.success({
|
||||
message: '成功',
|
||||
@@ -210,7 +208,6 @@ export default {
|
||||
},
|
||||
// 切换类型
|
||||
handleTabChange (key) {
|
||||
console.log(key)
|
||||
this.tabActiveKey = key
|
||||
this.getInfo()
|
||||
this.pageTitle = this.tabList.find((item) => item.key === key).tab
|
||||
|
||||
@@ -42,7 +42,6 @@ export default {
|
||||
this.getInfo()
|
||||
// 监听是否切换了日,周,月,年
|
||||
this.eventBus.$on('updateHomeDataByType', (type) => {
|
||||
console.log(type)
|
||||
this.serarchkey = type.type
|
||||
this.getInfo()
|
||||
})
|
||||
|
||||
@@ -150,11 +150,6 @@ export default {
|
||||
return getList(requestParameters)
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
$route (to, from) {
|
||||
console.log(to.name, from.name)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 确认删除权限
|
||||
@@ -225,7 +220,6 @@ export default {
|
||||
},
|
||||
// 指派订单
|
||||
Assignment (item) {
|
||||
console.log(item)
|
||||
const order = {
|
||||
item: item,
|
||||
orderId: this.id,
|
||||
|
||||
@@ -81,7 +81,6 @@ export default {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
values.password = values.password || '111111'
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
// addDepartsUser(values).then((res) => {
|
||||
// this.$notification.success({
|
||||
|
||||
@@ -61,7 +61,6 @@ export default {
|
||||
this.form = this.$form.createForm(this)
|
||||
},
|
||||
created () {
|
||||
console.log(this.order)
|
||||
// getExpressCommonList(this.order.order_no).then(res => {
|
||||
// this.expressList = res
|
||||
// })
|
||||
@@ -74,7 +73,6 @@ export default {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
values.password = values.password || '111111'
|
||||
console.log(values)
|
||||
|
||||
if (!errors) {
|
||||
// doLogs(this.order.orderId, params).then((res) => {
|
||||
|
||||
@@ -251,7 +251,6 @@ export default {
|
||||
},
|
||||
// 机构是否能导出
|
||||
canExports () {
|
||||
console.log('canExports')
|
||||
canExport(storage.get('userid')).then(res => {
|
||||
this.exports_can = res.exports
|
||||
})
|
||||
@@ -277,7 +276,6 @@ export default {
|
||||
},
|
||||
// 新增用户
|
||||
onAddRole () {
|
||||
console.log('add....')
|
||||
const success = {
|
||||
title: '新增线下出货',
|
||||
width: 600,
|
||||
@@ -291,7 +289,6 @@ export default {
|
||||
{
|
||||
on: {
|
||||
ok: () => {
|
||||
console.log('成功了。。')
|
||||
this.$refs.table.loadData()
|
||||
}
|
||||
}
|
||||
@@ -315,7 +312,6 @@ export default {
|
||||
item,
|
||||
on: {
|
||||
ok: () => {
|
||||
console.log('成功了。。')
|
||||
this.$refs.table.loadData()
|
||||
}
|
||||
}
|
||||
@@ -325,7 +321,6 @@ export default {
|
||||
},
|
||||
// 发货
|
||||
onEdit (item) {
|
||||
console.log(item)
|
||||
const success = {
|
||||
title: '立即发货',
|
||||
width: 600,
|
||||
@@ -340,7 +335,6 @@ export default {
|
||||
item,
|
||||
on: {
|
||||
ok: () => {
|
||||
console.log('成功了。。')
|
||||
this.$refs.table.loadData()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +196,6 @@ export default {
|
||||
// 查看详情
|
||||
onInfo (id) {
|
||||
getMiddlesOrderDetail(id).then(res => {
|
||||
console.log(res)
|
||||
const info = res
|
||||
setTimeout(() => {
|
||||
const success = {
|
||||
@@ -213,7 +212,6 @@ export default {
|
||||
info,
|
||||
on: {
|
||||
ok: () => {
|
||||
console.log('成功了。。')
|
||||
this.$refs.table.loadData()
|
||||
}
|
||||
}
|
||||
@@ -227,7 +225,6 @@ export default {
|
||||
},
|
||||
// 发货
|
||||
onEdit (item) {
|
||||
console.log(item)
|
||||
const success = {
|
||||
title: '立即发货',
|
||||
width: 600,
|
||||
@@ -242,7 +239,6 @@ export default {
|
||||
item,
|
||||
on: {
|
||||
ok: () => {
|
||||
console.log('成功了。。')
|
||||
this.$refs.table.loadData()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,7 +201,6 @@ export default {
|
||||
// 查看详情
|
||||
onInfo (id) {
|
||||
getMiddlesOrderDetail(id).then(res => {
|
||||
console.log(res)
|
||||
const info = res
|
||||
setTimeout(() => {
|
||||
const success = {
|
||||
@@ -218,7 +217,6 @@ export default {
|
||||
info,
|
||||
on: {
|
||||
ok: () => {
|
||||
console.log('成功了。。')
|
||||
this.$refs.table.loadData()
|
||||
}
|
||||
}
|
||||
@@ -232,7 +230,6 @@ export default {
|
||||
},
|
||||
// 发货
|
||||
onEdit (item) {
|
||||
console.log(item)
|
||||
const success = {
|
||||
title: '立即发货',
|
||||
width: 600,
|
||||
@@ -247,7 +244,6 @@ export default {
|
||||
item,
|
||||
on: {
|
||||
ok: () => {
|
||||
console.log('成功了。。')
|
||||
this.$refs.table.loadData()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,9 +137,6 @@ export default {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
console.log(moment(values.time).format('YYYY-MM-DD'))
|
||||
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -93,7 +93,6 @@ export default {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -87,9 +87,7 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -62,9 +62,7 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -44,9 +44,7 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -87,9 +87,7 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -64,9 +64,7 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
console.log(values)
|
||||
const params = {
|
||||
status: values.status
|
||||
}
|
||||
|
||||
@@ -66,7 +66,6 @@ export default {
|
||||
onOk () {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
addMiddlesUser(values).then((res) => {
|
||||
this.$notification.success({
|
||||
|
||||
@@ -238,7 +238,6 @@ export default {
|
||||
},
|
||||
// 派单
|
||||
dispatchOrder (record) {
|
||||
console.log('派单。。', record)
|
||||
this.$dialog(DispatchOrder,
|
||||
{
|
||||
on: {
|
||||
|
||||
@@ -99,7 +99,6 @@ export default {
|
||||
return new Promise(resolve => {
|
||||
this.form.validateFields((errors, values) => {
|
||||
values.password = values.password || '111111'
|
||||
console.log(values)
|
||||
if (!errors) {
|
||||
addDepartsUser(values).then((res) => {
|
||||
this.$notification.success({
|
||||
|
||||
Reference in New Issue
Block a user