修复发布优惠券日期选择器部分手机无法显示按钮卡顿等问题调整添加员工接口问题
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
text : '编辑',
|
||||
type : 'PUT',
|
||||
style : {
|
||||
backgroundColor: '#3688ee'
|
||||
backgroundColor: '#8b64fd'
|
||||
}
|
||||
},{
|
||||
text : '删除',
|
||||
@@ -83,7 +83,7 @@
|
||||
let type = e.content.type,
|
||||
val = this.lists[upIndex].data[index]
|
||||
if(type == 'PUT'){
|
||||
this.$Router.push({name: 'addEmployees', params: {type: 'PUT', id: val.employee_id}})
|
||||
this.$Router.push({name: 'employeesAdd', params: {type: 'PUT', id: val.employee_id}})
|
||||
return
|
||||
}
|
||||
uni.showModal({
|
||||
@@ -92,7 +92,7 @@
|
||||
cancelText : '取消',
|
||||
cancelColor : '#555',
|
||||
confirmText : '确认',
|
||||
confirmColor: '#e93340',
|
||||
confirmColor: '#8b64fd',
|
||||
success : res => {
|
||||
if(res.confirm) {
|
||||
employeesDelete(val.employee_id).then(res => {
|
||||
@@ -120,7 +120,7 @@
|
||||
cancelText : '稍后创建',
|
||||
cancelColor : '#555',
|
||||
confirmText : '立即创建',
|
||||
confirmColor: '#e93340',
|
||||
confirmColor: '#8b64fd',
|
||||
success : res => {
|
||||
if(res.confirm) {
|
||||
this.$Router.push({name: 'shopCreate'})
|
||||
|
||||
Reference in New Issue
Block a user