diff --git a/doc/datacall.jpg b/doc/datacall.jpg deleted file mode 100644 index 8a31a98..0000000 Binary files a/doc/datacall.jpg and /dev/null differ diff --git a/src/api/columns/teacher.js b/src/api/columns/teacher.js index 1c0e587..71d5545 100644 --- a/src/api/columns/teacher.js +++ b/src/api/columns/teacher.js @@ -7,6 +7,12 @@ export function listTeacher(query) { method: 'get', params: query }) +}export function getUserForTeacher(query) { + return request({ + url: '/system/teacher/getUserForTeacher', + method: 'get', + params: query + }) } // 查询员工信息详细 diff --git a/src/api/oms/aftersale.js b/src/api/oms/aftersale.js index 23bce5e..97a7766 100644 --- a/src/api/oms/aftersale.js +++ b/src/api/oms/aftersale.js @@ -18,41 +18,6 @@ export function getOmsAftersale(id) { }) } -// 新增订单售后 -export function addOmsAftersale(data) { - return request({ - url: '/oms/aftersale', - method: 'post', - data: data - }) -} - -// 修改订单售后 -export function updateOmsAftersale(data) { - return request({ - url: '/oms/aftersale', - method: 'put', - data: data - }) -} - -// 删除订单售后 -export function delOmsAftersale(id) { - return request({ - url: '/oms/aftersale/' + id, - method: 'delete' - }) -} - -// 导出订单售后 -export function exportOmsAftersale(query) { - return request({ - url: '/oms/aftersale/export', - method: 'get', - params: query - }) -} - // 售后订单操作 export function dealWithAftersale(data){ return request({ diff --git a/src/api/oms/order.js b/src/api/oms/order.js index 31644ff..f164577 100644 --- a/src/api/oms/order.js +++ b/src/api/oms/order.js @@ -76,7 +76,7 @@ export function deliverProduct(data){ data: data }) } - +// 修改收件人信息 export function updateReceiverAddress(data){ return request({ url: '/oms/order/receiver/update', diff --git a/src/api/school/report/dashboard/index.js b/src/api/school/report/dashboard/index.js index e601495..5dbe210 100644 --- a/src/api/school/report/dashboard/index.js +++ b/src/api/school/report/dashboard/index.js @@ -2,7 +2,7 @@ import request from '@/utils/request' export function dashboardData(query) { return request({ - url: '/report/dashboard/data', + url: '/api/report/dashboard/data', method: 'get', params: query }) diff --git a/src/api/school/sc/school/index.js b/src/api/school/sc/school/index.js deleted file mode 100644 index 6c04e05..0000000 --- a/src/api/school/sc/school/index.js +++ /dev/null @@ -1,62 +0,0 @@ -import request from '@/utils/request' - -// 查询列表 -export function listSchool(query) { - return request({ - url: '/api/sc/school/list/searchList', - method: 'get', - params: query - }) -} - -// select -export function listSelect(query) { - return request({ - url: '/api/sc/school/list/select', - method: 'get', - params: query - }) -} - -// 查询详细 -export function getSchool(schoolId) { - return request({ - url: '/api/sc/school/info/detailById/' + schoolId, - method: 'get' - }) -} - -// 新增 -export function addSchool(data) { - return request({ - url: '/api/sc/school/add/addScSchool', - method: 'post', - data: data - }) -} - -// 修改 -export function updateSchool(data) { - return request({ - url: '/api/sc/school/update/updateScSchool', - method: 'put', - data: data - }) -} - -// 删除 -export function delSchool(schoolId) { - return request({ - url: '/api/sc/school/delete/deleteById/' + schoolId, - method: 'delete' - }) -} - -// 导出 -export function exportSchool(query) { - return request({ - url: '/api/sc/school/export', - method: 'get', - params: query - }) -} diff --git a/src/api/school/system/dept/index.js b/src/api/school/system/dept/index.js index bb50401..35485cb 100644 --- a/src/api/school/system/dept/index.js +++ b/src/api/school/system/dept/index.js @@ -1,21 +1,7 @@ import request from '@/utils/request' // 查询部门列表 -export function listDept(query) { - return request({ - url: '/api/system/dept/list/searchList', - method: 'get', - params: query - }) -} -// 查询部门详细 -export function getDept(deptId) { - return request({ - url: '/api/system/dept/info/detailById/' + deptId, - method: 'get' - }) -} // 查询部门下拉树结构 export function treeSelect() { @@ -25,32 +11,6 @@ export function treeSelect() { }) } -// 新增部门 -export function addDept(data) { - return request({ - url: '/api/system/dept/add/addDept', - method: 'post', - data: data - }) -} - -// 修改部门 -export function updateDept(data) { - return request({ - url: '/api/system/dept/update/updateDept', - method: 'put', - data: data - }) -} - -// 删除部门 -export function delDept(deptId) { - return request({ - url: '/api/system/dept/delete/deleteById/' + deptId, - method: 'delete' - }) -} - // 校区列表 export function campusList() { return request({ @@ -59,13 +19,7 @@ export function campusList() { }) } -// 当前用户可选校区列表 -export function campusListLimitByUser() { - return request({ - url: '/api/system/dept/list/campusListLimitByUser', - method: 'get' - }) -} + // 可选校区类型 全部校区/部分校区 export function campusSelect() { @@ -74,11 +28,3 @@ export function campusSelect() { method: 'get' }) } - -// 当前用户 可选校区类型 全部校区/部分校区 -export function campusSelectLimitByUser() { - return request({ - url: '/api/system/dept/list/campusSelectLimitByUser', - method: 'get' - }) -} diff --git a/src/api/system/dict/data.js b/src/api/system/dict/data.js index f0dfc8d..41470c3 100644 --- a/src/api/system/dict/data.js +++ b/src/api/system/dict/data.js @@ -50,14 +50,7 @@ export function delData(dictCode) { method: 'delete' }) } -// 删除字典数据 -export function listByTypes(dictTypes) { - return request({ - url: '/system/dict/data/by_types', - method: 'POST', - data: dictTypes - }) -} + // 删除字典数据 export function allByTypes(dictTypes) { diff --git a/src/api/system/role.js b/src/api/system/role.js index 4b455e1..888538e 100644 --- a/src/api/system/role.js +++ b/src/api/system/role.js @@ -108,4 +108,4 @@ export function authUserSelectAll(data) { method: 'put', params: data }) -} \ No newline at end of file +} diff --git a/src/assets/icons/svg/dashboard-cla-time.svg b/src/assets/icons/svg/dashboard-cla-time.svg new file mode 100644 index 0000000..cbcb033 --- /dev/null +++ b/src/assets/icons/svg/dashboard-cla-time.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/dashboard-cla.svg b/src/assets/icons/svg/dashboard-cla.svg new file mode 100644 index 0000000..dd06a5e --- /dev/null +++ b/src/assets/icons/svg/dashboard-cla.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/dashboard-course.svg b/src/assets/icons/svg/dashboard-course.svg new file mode 100644 index 0000000..ad4960b --- /dev/null +++ b/src/assets/icons/svg/dashboard-course.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/dashboard-notice.svg b/src/assets/icons/svg/dashboard-notice.svg new file mode 100644 index 0000000..050fbbe --- /dev/null +++ b/src/assets/icons/svg/dashboard-notice.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/dashboard-order.svg b/src/assets/icons/svg/dashboard-order.svg new file mode 100644 index 0000000..cf41d8e --- /dev/null +++ b/src/assets/icons/svg/dashboard-order.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/dashboard-record.svg b/src/assets/icons/svg/dashboard-record.svg new file mode 100644 index 0000000..a0488e6 --- /dev/null +++ b/src/assets/icons/svg/dashboard-record.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/dashboard-sign-up.svg b/src/assets/icons/svg/dashboard-sign-up.svg new file mode 100644 index 0000000..4e28e5f --- /dev/null +++ b/src/assets/icons/svg/dashboard-sign-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/dashboard-student-cnt.svg b/src/assets/icons/svg/dashboard-student-cnt.svg new file mode 100644 index 0000000..beadd81 --- /dev/null +++ b/src/assets/icons/svg/dashboard-student-cnt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/dashboard-student.svg b/src/assets/icons/svg/dashboard-student.svg new file mode 100644 index 0000000..3012662 --- /dev/null +++ b/src/assets/icons/svg/dashboard-student.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/sc/claTime/addClaTimeAttend.vue b/src/components/sc/claTime/addClaTimeAttend.vue index 0c5db9d..3758a03 100644 --- a/src/components/sc/claTime/addClaTimeAttend.vue +++ b/src/components/sc/claTime/addClaTimeAttend.vue @@ -256,6 +256,7 @@ - diff --git a/src/components/sc/student/changeStudent.vue b/src/components/sc/student/changeStudent.vue index db920ab..d02df4c 100644 --- a/src/components/sc/student/changeStudent.vue +++ b/src/components/sc/student/changeStudent.vue @@ -51,8 +51,8 @@ - - + + @@ -67,7 +67,6 @@ diff --git a/src/components/sc/student/courseStudentChooseCla.vue b/src/components/sc/student/courseStudentChooseCla.vue index 1795455..689afbe 100644 --- a/src/components/sc/student/courseStudentChooseCla.vue +++ b/src/components/sc/student/courseStudentChooseCla.vue @@ -65,6 +65,7 @@ - + diff --git a/src/views/login.vue b/src/views/login.vue index a37b2b3..926405d 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -67,8 +67,8 @@ export default { dialogVisible:false, codeUrl: "", loginForm: { - username: "admin", - password: "123", + username: "", + password: "", rememberMe: false, code: "", uuid: "" diff --git a/src/views/oms/aftersale/index.vue b/src/views/oms/aftersale/index.vue index 2ce08c7..edc806b 100644 --- a/src/views/oms/aftersale/index.vue +++ b/src/views/oms/aftersale/index.vue @@ -142,13 +142,11 @@ diff --git a/src/views/school/student/components/studentCourseTable.vue b/src/views/school/student/components/studentCourseTable.vue index 0e4137b..f1c456d 100644 --- a/src/views/school/student/components/studentCourseTable.vue +++ b/src/views/school/student/components/studentCourseTable.vue @@ -72,6 +72,7 @@ diff --git a/src/views/school/system/dept/index.vue b/src/views/school/system/dept/index.vue deleted file mode 100644 index c59f7ec..0000000 --- a/src/views/school/system/dept/index.vue +++ /dev/null @@ -1,347 +0,0 @@ - - - diff --git a/src/views/school/system/dict/data.vue b/src/views/school/system/dict/data.vue deleted file mode 100644 index ad6efef..0000000 --- a/src/views/school/system/dict/data.vue +++ /dev/null @@ -1,358 +0,0 @@ - - - diff --git a/src/views/school/system/dict/type.vue b/src/views/school/system/dict/type.vue deleted file mode 100644 index b84868c..0000000 --- a/src/views/school/system/dict/type.vue +++ /dev/null @@ -1,349 +0,0 @@ - - - diff --git a/src/views/school/system/menu/index.vue b/src/views/school/system/menu/index.vue deleted file mode 100644 index a145bbb..0000000 --- a/src/views/school/system/menu/index.vue +++ /dev/null @@ -1,359 +0,0 @@ - - - diff --git a/src/views/school/system/role/index.vue b/src/views/school/system/role/index.vue deleted file mode 100644 index 1ace4f5..0000000 --- a/src/views/school/system/role/index.vue +++ /dev/null @@ -1,354 +0,0 @@ - - - diff --git a/src/views/school/system/staff/index.vue b/src/views/school/system/staff/index.vue deleted file mode 100644 index f465713..0000000 --- a/src/views/school/system/staff/index.vue +++ /dev/null @@ -1,330 +0,0 @@ - - - diff --git a/src/views/school/system/tenant/index.vue b/src/views/school/system/tenant/index.vue deleted file mode 100644 index eca0b95..0000000 --- a/src/views/school/system/tenant/index.vue +++ /dev/null @@ -1,317 +0,0 @@ - - - diff --git a/src/views/school/system/user/index.vue b/src/views/school/system/user/index.vue deleted file mode 100644 index a21d2c6..0000000 --- a/src/views/school/system/user/index.vue +++ /dev/null @@ -1,666 +0,0 @@ - - - diff --git a/src/views/school/system/user/profile/index.vue b/src/views/school/system/user/profile/index.vue deleted file mode 100644 index 5e6ddca..0000000 --- a/src/views/school/system/user/profile/index.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - - diff --git a/src/views/school/system/user/profile/resetPwd.vue b/src/views/school/system/user/profile/resetPwd.vue deleted file mode 100644 index 63eda28..0000000 --- a/src/views/school/system/user/profile/resetPwd.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - diff --git a/src/views/school/system/user/profile/userAvatar.vue b/src/views/school/system/user/profile/userAvatar.vue deleted file mode 100644 index 6173e23..0000000 --- a/src/views/school/system/user/profile/userAvatar.vue +++ /dev/null @@ -1,144 +0,0 @@ - - - diff --git a/src/views/school/system/user/profile/userInfo.vue b/src/views/school/system/user/profile/userInfo.vue deleted file mode 100644 index 2dd2eb1..0000000 --- a/src/views/school/system/user/profile/userInfo.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 3377641..daf869c 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -59,7 +59,7 @@ @@ -105,9 +105,9 @@ - + - + @@ -117,9 +117,9 @@ - + - + { + }).catch(() => {}); + } + + }, /****/ changeLeader(value){ @@ -312,12 +322,14 @@ export default { deptId: undefined, parentId: undefined, deptName: undefined, + deptType:'2', orderNum: undefined, leader: undefined, phone: undefined, email: undefined, - status: "0" + status:'0' }; + this.oldType='0' this.resetForm("form"); }, /** 搜索按钮操作 */ @@ -358,6 +370,7 @@ export default { this.reset(); getDept(row.deptId).then(response => { this.form = response.data; + this.oldType=response.data.deptType this.open = true; this.title = "修改部门"; }); @@ -387,7 +400,7 @@ export default { }, /** 删除按钮操作 */ handleDelete(row) { - this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?').then(function() { + this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项,并且删除相关门店介绍信息?').then(function() { return delDept(row.deptId); }).then(() => { this.getList(); diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 302e0cd..b3c3b4d 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -111,15 +111,16 @@