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