diff --git a/src/api/user/user.js b/src/api/user/user.js index 2ec7653..013a8be 100644 --- a/src/api/user/user.js +++ b/src/api/user/user.js @@ -55,6 +55,16 @@ export function bandSystemUser(data) { }) } +// 解绑系统用户 +export function unbindSystemUser(data) { + return request({ + url: '/user/user/unbindSystemUser', + method: 'put', + data: data + }) +} + + // 删除用户 export function delUser(userId) { diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 2f3b9ef..cd83642 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -167,6 +167,7 @@ aside { cursor: pointer; &:hover { + text-decoration: underline; color: rgb(32, 160, 255); } } diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 6027f04..0c25940 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -732,9 +732,6 @@ export default { submitForm: function() { this.$refs["form"].validate(valid => { if (valid) { - // console.log("this.appUserId=====",this.appUserId) - // console.log("this.form.appUserId=====",this.form.appUserId) - // this.form.appUserId = this.appUserId if (this.form.deptId != undefined) { updateDept(this.form).then(response => { this.$modal.msgSuccess("修改成功"); diff --git a/src/views/system/fee/index.vue b/src/views/system/fee/index.vue index 83a73be..87469e0 100644 --- a/src/views/system/fee/index.vue +++ b/src/views/system/fee/index.vue @@ -358,7 +358,7 @@ export default { userName: undefined, loading: true, ids: [], - returnVerify: '', + returnVerify: '0', single: true, // 运营区下拉框 areaOptions: [], @@ -375,31 +375,31 @@ export default { name: null, status: null, }, - time1:'', + time1:'24', time2:'', form: { name: '', - instructions: '', + instructions: '按小时计费', status: "正常", - autoRefundDeposit: '', + autoRefundDeposit: '0', orderExceedMinutes: '', orderExceedWarn: '', - freeRideTime: '', + freeRideTime: '5', rentalUnit: 'minutes', ridingRule: '1', - chargingCycle: '', - chargingCycleValue: '', - cappedAmount: '', + chargingCycle: '1', + chargingCycleValue: '24', + cappedAmount: '200', rule: [{ start: '', end: '', eachUnit: '', fee: '' }], timeoutTime: '', startingTime: '' // chargingCycle: 1, // 默认选择第一个选项 // chargingCycleValue: '', // 对应的值 }, - timeoutTime: '', - startingPrice: '', - startingTime: '', - timeoutPrice: '', + timeoutTime: '1', + startingPrice: '5', + startingTime: '1', + timeoutPrice: '5', enablelnterval: false, rule: [{ start: '', end: '', eachUnit: '', fee: '' }], more: { start: '', end: '9999', eachUnit: '', fee: '' }, @@ -529,26 +529,26 @@ export default { reset() { this.form = { name: '', - instructions: '', + instructions: '按小时计费', status: "正常", - autoRefundDeposit: '', + autoRefundDeposit: '0', orderExceedMinutes: '', orderExceedWarn: '', - freeRideTime: '', + freeRideTime: '5', rentalUnit: 'minutes', ridingRule: '1', - chargingCycle: '', - chargingCycleValue: '', - cappedAmount: '', + chargingCycle: '1', + chargingCycleValue: '24', + cappedAmount: '200', areaId: null } this.enablelnterval = false, this.more = { start: '', end: '9999', eachUnit: '', fee: '' } this.rule = [{ start: '', end: '', eachUnit: '', fee: '' }], - this.timeoutTime = '', - this.startingPrice = '', - this.startingTime = '', - this.timeoutPrice = '', + this.timeoutTime = '60', + this.startingPrice = '5', + this.startingTime = '60', + this.timeoutPrice = '5', this.resetForm("form") }, handleQuery() { diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 745a1c3..093012e 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -145,7 +145,13 @@ - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + +