This commit is contained in:
JasonChen
2023-08-02 14:26:01 +08:00
parent 1125d3f191
commit b0c8ee91c5
37 changed files with 0 additions and 76 deletions

View File

@@ -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',

View File

@@ -31,7 +31,6 @@ export default {
}, },
methods: { methods: {
handleIconChange (icon) { handleIconChange (icon) {
// console.log('change Icon', icon)
} }
} }
} }

View File

@@ -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) {

View File

@@ -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

View File

@@ -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(

View File

@@ -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()

View File

@@ -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,

View File

@@ -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: '成功',

View File

@@ -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,

View File

@@ -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({

View File

@@ -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 */

View File

@@ -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)

View File

@@ -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 => {

View File

@@ -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) => {

View File

@@ -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()
} }
} }

View File

@@ -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
} }

View File

@@ -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
} }

View File

@@ -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
} }

View File

@@ -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
} }
} }

View File

@@ -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

View File

@@ -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()
}) })

View File

@@ -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,

View File

@@ -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({

View File

@@ -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) => {

View File

@@ -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()
} }
} }

View File

@@ -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()
} }
} }

View File

@@ -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()
} }
} }

View File

@@ -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
} }

View File

@@ -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
} }

View File

@@ -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
} }

View File

@@ -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
} }

View File

@@ -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
} }

View File

@@ -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
} }

View File

@@ -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
} }

View File

@@ -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({

View File

@@ -238,7 +238,6 @@ export default {
}, },
// 派单 // 派单
dispatchOrder (record) { dispatchOrder (record) {
console.log('派单。。', record)
this.$dialog(DispatchOrder, this.$dialog(DispatchOrder,
{ {
on: { on: {

View File

@@ -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({