admin 3 주 전
부모
커밋
c8be2dde1d

+ 3 - 3
src/components/page/admin/inspect/assess/Detail.vue

@@ -135,9 +135,9 @@ export default {
         ? slashDate((this.row.periodEndDate || '').slice ? this.row.periodEndDate : fmt(this.row.periodEndDate))
         : ''
       Promise.all([
-        post(this.$axios, '/inspectManage/task/page', cleanParams({ storeId: this.row.storeId, taskDateBegin: start, taskDateEnd: end, pageSize: 50, currentPage: 1 })),
-        post(this.$axios, '/inspectManage/rectification/page', { storeId: this.row.storeId, pageSize: 50, currentPage: 1 }),
-        post(this.$axios, '/inspectManage/assess/trend', { storeIds: [this.row.storeId], periodType: this.row.periodType || '' }),
+        post(this.$axios, '/inspectTaskManage/getTaskPage', cleanParams({ storeId: this.row.storeId, taskDateBegin: start, taskDateEnd: end, pageSize: 50, currentPage: 1 })),
+        post(this.$axios, '/rectificationManage/getRectPage', { storeId: this.row.storeId, pageSize: 50, currentPage: 1 }),
+        post(this.$axios, '/assessResultManage/getAssessTrend', { storeIds: [this.row.storeId], periodType: this.row.periodType || '' }),
         post(this.$axios, '/storeManage/getStoreList', {})
       ]).then(([r1, r2, r3, r4]) => {
         this.stores = (r4 && r4.list) || []

+ 7 - 10
src/components/page/admin/inspect/assess/Index.vue

@@ -300,7 +300,7 @@ export default {
     },
     loadAll() {
       this.loading = true
-      post(this.$axios, '/inspectManage/assess/page', cleanParams(this.query)).then(res => {
+      post(this.$axios, '/assessResultManage/getAssessPage', cleanParams(this.query)).then(res => {
         this.rows = (res && res.list) || []
       }).finally(() => { this.loading = false })
       this.loadDistribution()
@@ -311,12 +311,9 @@ export default {
         this.distributions = []
         return
       }
-      post(this.$axios, '/inspectManage/assess/levelDistribution', { periodType: this.query.periodType || '', periodCode: this.query.periodCode || '' }).then(res => {
+      post(this.$axios, '/assessResultManage/getLevelDistribution', { periodType: this.query.periodType || '', periodCode: this.query.periodCode || '' }).then(res => {
         const list = (res && res.list) || []
-        this.distributions = list.map(row => {
-          const arr = Array.isArray(row) ? row : Object.keys(row).map(k => row[k])
-          return { level: Number(arr[0]), count: Number(arr[1] || 0) }
-        }).filter(d => !isNaN(d.level))
+        this.distributions = list.map(row => ({ level: Number(row && row.level), count: Number((row && row.count) || 0) })).filter(d => !isNaN(d.level))
       })
     },
     loadTrend() {
@@ -324,7 +321,7 @@ export default {
         this.trendRows = []
         return
       }
-      post(this.$axios, '/inspectManage/assess/trend', { storeIds: this.trendStoreIds, periodType: this.query.periodType || '' }).then(res => {
+      post(this.$axios, '/assessResultManage/getAssessTrend', { storeIds: this.trendStoreIds, periodType: this.query.periodType || '' }).then(res => {
         const list = (res && res.list) || []
         this.trendRows = list.map(row => {
           const arr = Array.isArray(row) ? row : Object.keys(row).map(k => row[k])
@@ -334,13 +331,13 @@ export default {
     },
     updateRank() {
       if (!this.query.periodType || !this.query.periodCode) return this.$message.warning('请先选择考核周期与周期编码')
-      post(this.$axios, '/inspectManage/assess/rank', { periodType: this.query.periodType, periodCode: this.query.periodCode }).then(res => {
+      post(this.$axios, '/assessResultManage/updateAssessRank', { periodType: this.query.periodType, periodCode: this.query.periodCode }).then(res => {
         if (ok(res)) { this.loadAll(); this.$message.success('排名已更新') } else { this.$message.error(msg(res) || '更新失败') }
       })
     },
     exportData() {
       if (!this.query.periodType || !this.query.periodCode) return this.$message.warning('请先选择考核周期与周期编码')
-      this.$axios.post('/inspectManage/assess/exportExcel', require('querystring').stringify({ periodType: this.query.periodType, periodCode: this.query.periodCode }), { responseType: 'blob' }).then(res => {
+      this.$axios.post('/assessResultManage/exportAssessExcel', require('querystring').stringify({ periodType: this.query.periodType, periodCode: this.query.periodCode }), { responseType: 'blob' }).then(res => {
         const blob = new Blob([res.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' })
         const elink = document.createElement('a')
         elink.download = '考核排名-' + this.query.periodCode + '.xlsx'
@@ -366,7 +363,7 @@ export default {
       if (!this.periodRange || !this.periodRange.length) return this.$message.warning('请选择周期范围')
       const form = Object.assign({}, this.triggerForm, { periodStartDate: this.periodRange[0], periodEndDate: this.periodRange[1] })
       this.triggering = true
-      post(this.$axios, '/inspectManage/assess/trigger', form).then(res => {
+      post(this.$axios, '/assessResultManage/triggerAssess', form).then(res => {
         if (ok(res)) {
           const count = (res && res.obj) || 0
           this.$message.success('汇总完成,共汇总 ' + count + ' 家门店')

+ 1 - 1
src/components/page/admin/inspect/common.js

@@ -105,7 +105,7 @@ export function upload(axios, file, dir) {
   const fd = new FormData()
   fd.append('file', file)
   if (dir) fd.append('dir', dir || '/inspect')
-  return axios.post('/inspectManage/uploadPicture', fd, {
+  return axios.post('/inspectTaskManage/uploadPicture', fd, {
     headers: { 'Content-Type': 'multipart/form-data' }
   }).then(res => res.data)
 }

+ 6 - 6
src/components/page/admin/inspect/indicator/Index.vue

@@ -18,14 +18,14 @@ export default {
   methods:{
     post(u,d){return this.$axios.post(u,querystring.stringify(d||{}))},
     list(r){return r.data&&r.data.list||[]},
-    load(){return this.post('/inspectManage/indicator/page',Object.assign({pageSize:50,currentPage:1},this.query)).then(r=>{this.rows=this.list(r);this.loadWeight()})},
-    loadWeight(){return this.post('/inspectManage/indicator/checkWeight').then(r=>{this.weightSum=Number((r.data&&r.data.obj)||0)})},
+    load(){return this.post('/inspectIndicatorManage/getIndicatorList',Object.assign({pageSize:50,currentPage:1},this.query)).then(r=>{this.rows=this.list(r);this.loadWeight()})},
+    loadWeight(){return this.post('/inspectIndicatorManage/checkWeight').then(r=>{this.weightSum=Number((r.data&&r.data.obj)||0)})},
     reset(){this.query={};this.load()},
     open(row){this.form=Object.assign({indicatorType:2,maxScore:100,passScore:60,weight:0,sort:0,status:1},row||{});this.dialog=true},
-    save(){const payload=Object.assign({},this.form);delete payload.createDate;delete payload.updateDate;this.post(this.form.indicatorId?'/inspectManage/indicator/update':'/inspectManage/indicator/save',payload).then(()=>{this.dialog=false;this.load();this.$message.success('保存完成')})},
-    changeStatus(row){this.post('/inspectManage/indicator/changeStatus',{id:row.indicatorId,status:row.status}).then(()=>{this.$message.success('状态已更新');this.loadWeight()})},
-    remove(row){this.$confirm('确认删除该指标?','提示').then(()=>this.post('/inspectManage/indicator/delete',{id:row.indicatorId}).then(r=>{const rtn=(r.data&&r.data.rtnBean)||{};if(String(rtn.rtnCode)==='0'){this.load();this.$message.success(rtn.rtnMsg||'删除完成')}else{this.$message.error(rtn.rtnMsg||'删除失败')}}))},
-    checkWeight(){this.post('/inspectManage/indicator/checkWeight').then(r=>this.$message.info('启用指标权重合计:'+(r.data.obj||0)+'%'))},
+    save(){const payload=Object.assign({},this.form);delete payload.createDate;delete payload.updateDate;this.post(this.form.indicatorId?'/inspectIndicatorManage/update':'/inspectIndicatorManage/save',payload).then(()=>{this.dialog=false;this.load();this.$message.success('保存完成')})},
+    changeStatus(row){this.post('/inspectIndicatorManage/changeStatus',{id:row.indicatorId,status:row.status}).then(()=>{this.$message.success('状态已更新');this.loadWeight()})},
+    remove(row){this.$confirm('确认删除该指标?','提示').then(()=>this.post('/inspectIndicatorManage/delete',{id:row.indicatorId}).then(r=>{const rtn=(r.data&&r.data.rtnBean)||{};if(String(rtn.rtnCode)==='0'){this.load();this.$message.success(rtn.rtnMsg||'删除完成')}else{this.$message.error(rtn.rtnMsg||'删除失败')}}))},
+    checkWeight(){this.post('/inspectIndicatorManage/checkWeight').then(r=>this.$message.info('启用指标权重合计:'+(r.data.obj||0)+'%'))},
     typeText(v){return v===1?'自动采集':'人工巡检'}
   }
 }

+ 12 - 12
src/components/page/admin/inspect/plan/Create.vue

@@ -253,7 +253,7 @@ export default {
       })
     },
     loadIndicators() {
-      post(this.$axios, '/inspectManage/indicator/page', { pageSize: 200, currentPage: 1, status: 1 }).then(res => {
+      post(this.$axios, '/inspectIndicatorManage/getIndicatorList', { pageSize: 200, currentPage: 1, status: 1 }).then(res => {
         this.indicatorPool = (res && res.list) || []
       })
     },
@@ -265,7 +265,7 @@ export default {
       })
     },
     loadPlan() {
-      post(this.$axios, '/inspectManage/plan/detail', { id: this.planId }).then(res => {
+      post(this.$axios, '/inspectPlanManage/getPlanDetail', { id: this.planId }).then(res => {
         if (res && res.obj) {
           const p = res.obj
           this.form = {
@@ -278,7 +278,7 @@ export default {
         }
       })
       // 关联指标回显(使用计划内快照权重)
-      post(this.$axios, '/inspectManage/plan/indicators', { planId: this.planId }).then(res => {
+      post(this.$axios, '/inspectPlanManage/getPlanIndicators', { planId: this.planId }).then(res => {
         const list = (res && res.list) || []
         this.selectedMap = {}
         list.forEach(it => {
@@ -290,7 +290,7 @@ export default {
         this.selectedIndicatorIds = list.map(it => it.indicatorId)
       })
       // 关联门店回显
-      post(this.$axios, '/inspectManage/plan/stores', { planId: this.planId }).then(res => {
+      post(this.$axios, '/inspectPlanManage/getPlanStores', { planId: this.planId }).then(res => {
         const list = (res && res.list) || []
         this.storeMap = {}
         this.selectedStoreIds = []
@@ -374,7 +374,7 @@ export default {
         storeCount: this.form.storeCount,
         status: 0
       }
-      const planAction = this.isEdit ? '/inspectManage/plan/update' : '/inspectManage/plan/save'
+      const planAction = this.isEdit ? '/inspectPlanManage/update' : '/inspectPlanManage/save'
       post(this.$axios, planAction, planPayload).then(res => {
         if (!ok(res)) throw new Error(msg(res) || '计划保存失败')
         if (this.isEdit) {
@@ -389,7 +389,7 @@ export default {
       }).finally(() => { this.saving = false })
     },
     resolveNewPlanId() {
-      return post(this.$axios, '/inspectManage/plan/page', { planName: this.form.planName, pageSize: 1, currentPage: 1 }).then(res => {
+      return post(this.$axios, '/inspectPlanManage/getPlanPage', { planName: this.form.planName, pageSize: 1, currentPage: 1 }).then(res => {
         const rows = (res && res.list) || []
         if (!rows.length) throw new Error('计划保存成功但未能获取计划ID')
         return rows[0].planId
@@ -399,19 +399,19 @@ export default {
       // 编辑时先清理旧的关联
       const cleanUp = this.isEdit
         ? Promise.all([
-            post(this.$axios, '/inspectManage/plan/indicators', { planId }).then(res => {
+            post(this.$axios, '/inspectPlanManage/getPlanIndicators', { planId }).then(res => {
               const list = (res && res.list) || []
-              return Promise.all(list.map(it => post(this.$axios, '/inspectManage/planIndicator/delete', { id: it.planIndicatorId })))
+              return Promise.all(list.map(it => post(this.$axios, '/inspectPlanManage/deletePlanIndicator', { id: it.planIndicatorId })))
             }),
-            post(this.$axios, '/inspectManage/plan/stores', { planId }).then(res => {
+            post(this.$axios, '/inspectPlanManage/getPlanStores', { planId }).then(res => {
               const list = (res && res.list) || []
-              return Promise.all(list.map(st => post(this.$axios, '/inspectManage/planStore/delete', { id: st.planStoreId })))
+              return Promise.all(list.map(st => post(this.$axios, '/inspectPlanManage/deletePlanStore', { id: st.planStoreId })))
             })
           ])
         : Promise.resolve([])
       return cleanUp.then(() => {
-        const indReq = this.selectedIndicators.map(it => post(this.$axios, '/inspectManage/planIndicator/save', Object.assign({}, it, { planId, status: 1 })))
-        const storeReq = this.selectedStores.map(st => post(this.$axios, '/inspectManage/planStore/save', Object.assign({}, st, { planId, status: 1 })))
+        const indReq = this.selectedIndicators.map(it => post(this.$axios, '/inspectPlanManage/savePlanIndicator', Object.assign({}, it, { planId, status: 1 })))
+        const storeReq = this.selectedStores.map(st => post(this.$axios, '/inspectPlanManage/savePlanStore', Object.assign({}, st, { planId, status: 1 })))
         return Promise.all(indReq.concat(storeReq)).then(results => {
           const failed = results.filter(r => !ok(r))
           if (failed.length) throw new Error('部分关联保存失败')

+ 4 - 4
src/components/page/admin/inspect/plan/Detail.vue

@@ -93,10 +93,10 @@ export default {
       if (!this.planId) return
       this.loading = true
       Promise.all([
-        post(this.$axios, '/inspectManage/plan/detail', { id: this.planId }),
-        post(this.$axios, '/inspectManage/plan/indicators', { planId: this.planId }),
-        post(this.$axios, '/inspectManage/plan/stores', { planId: this.planId }),
-        post(this.$axios, '/inspectManage/task/page', { planId: this.planId, pageSize: 50, currentPage: 1 })
+        post(this.$axios, '/inspectPlanManage/getPlanDetail', { id: this.planId }),
+        post(this.$axios, '/inspectPlanManage/getPlanIndicators', { planId: this.planId }),
+        post(this.$axios, '/inspectPlanManage/getPlanStores', { planId: this.planId }),
+        post(this.$axios, '/inspectTaskManage/getTaskPage', { planId: this.planId, pageSize: 50, currentPage: 1 })
       ]).then(([r1, r2, r3, r4]) => {
         this.plan = (r1 && r1.obj) || null
         this.indicators = (r2 && r2.list) || []

+ 7 - 7
src/components/page/admin/inspect/plan/Index.vue

@@ -58,7 +58,7 @@
         <template slot-scope="s">
           <el-button type="text" @click="openDetail(s.row)">详情</el-button>
           <el-button type="text" v-if="s.row.status === 0" @click="openCreate(s.row)">编辑</el-button>
-          <el-button type="text" v-if="s.row.status === 0" @click="publish(s.row)">发布</el-button>
+          <el-button type="text" v-if="s.row.status === 0 || s.row.status === 2" @click="publish(s.row)">{{ s.row.status === 2 ? '恢复' : '发布' }}</el-button>
           <el-button type="text" v-if="s.row.status === 1" @click="pause(s.row)">暂停</el-button>
           <el-button type="text" v-if="s.row.status === 1 || s.row.status === 2" @click="finish(s.row)">结束</el-button>
           <el-button type="text" v-if="s.row.status === 1 || s.row.status === 2" @click="openGenerate(s.row)">生成任务</el-button>
@@ -123,7 +123,7 @@ export default {
   methods: {
     load() {
       this.loading = true
-      post(this.$axios, '/inspectManage/plan/page', cleanParams(this.query)).then(res => {
+      post(this.$axios, '/inspectPlanManage/getPlanPage', cleanParams(this.query)).then(res => {
         this.rows = (res && res.list) || []
         this.total = pageData(res).resultCount || this.rows.length
       }).finally(() => { this.loading = false })
@@ -152,28 +152,28 @@ export default {
     },
     publish(row) {
       this.$confirm('发布后不可编辑,确认发布该计划?', '提示').then(() => {
-        post(this.$axios, '/inspectManage/plan/publish', { id: row.planId }).then(res => {
+        post(this.$axios, '/inspectPlanManage/publish', { id: row.planId }).then(res => {
           if (ok(res)) { this.$message.success('发布完成'); this.load() } else { this.$message.error(msg(res) || '发布失败') }
         })
       }).catch(() => {})
     },
     pause(row) {
       this.$confirm('确认暂停该计划?暂停后不再生成新任务。', '提示').then(() => {
-        post(this.$axios, '/inspectManage/plan/pause', { id: row.planId }).then(res => {
+        post(this.$axios, '/inspectPlanManage/pause', { id: row.planId }).then(res => {
           if (ok(res)) { this.$message.success('暂停完成'); this.load() } else { this.$message.error(msg(res) || '操作失败') }
         })
       }).catch(() => {})
     },
     finish(row) {
       this.$confirm('确认结束该计划?结束后不再生成新任务。', '提示').then(() => {
-        post(this.$axios, '/inspectManage/plan/finish', { id: row.planId }).then(res => {
+        post(this.$axios, '/inspectPlanManage/finish', { id: row.planId }).then(res => {
           if (ok(res)) { this.$message.success('结束完成'); this.load() } else { this.$message.error(msg(res) || '操作失败') }
         })
       }).catch(() => {})
     },
     remove(row) {
       this.$confirm('仅草稿计划可删除,确认删除?', '提示').then(() => {
-        post(this.$axios, '/inspectManage/plan/delete', { id: row.planId }).then(res => {
+        post(this.$axios, '/inspectPlanManage/delete', { id: row.planId }).then(res => {
           if (ok(res)) { this.load(); this.$message.success('删除完成') } else { this.$message.error(msg(res) || '删除失败') }
         })
       }).catch(() => {})
@@ -185,7 +185,7 @@ export default {
     },
     generateTask() {
       if (!this.generateDate) return this.$message.warning('请选择执行日期')
-      post(this.$axios, '/inspectManage/task/generate', { planId: this.generatePlan.planId, taskDate: this.generateDate }).then(res => {
+      post(this.$axios, '/inspectTaskManage/generateTask', { planId: this.generatePlan.planId, taskDate: this.generateDate }).then(res => {
         if (ok(res)) {
           const count = (res && res.obj) || 0
           this.generateVisible = false

+ 1 - 1
src/components/page/admin/inspect/rectification/Detail.vue

@@ -107,7 +107,7 @@ export default {
       const q = this.row.taskItemId
         ? { taskItemId: this.row.taskItemId, pageSize: 50, currentPage: 1 }
         : { taskId: this.row.taskId, indicatorId: this.row.indicatorId, pageSize: 50, currentPage: 1 }
-      post(this.$axios, '/inspectManage/rectification/page', q).then(res => {
+      post(this.$axios, '/rectificationManage/getRectPage', q).then(res => {
         const list = (res && res.list) || []
         this.rounds = list.length ? list.sort((a, b) => (a.rectRound || 1) - (b.rectRound || 1)) : [this.row]
       }).finally(() => { this.loading = false })

+ 5 - 5
src/components/page/admin/inspect/rectification/Index.vue

@@ -154,7 +154,7 @@ export default {
       this.loadStats()
     },
     loadStats() {
-      post(this.$axios, '/inspectManage/rectification/page', { pageSize: 500, currentPage: 1 }).then(res => {
+      post(this.$axios, '/rectificationManage/getRectPage', { pageSize: 500, currentPage: 1 }).then(res => {
         const list = (res && res.list) || []
         const count = { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0 }
         list.forEach(r => { if (count[r.status] !== undefined) count[r.status]++ })
@@ -166,14 +166,14 @@ export default {
       q.deadlineDateBegin = this.deadlineRange && this.deadlineRange[0] ? slashDate(this.deadlineRange[0]) : ''
       q.deadlineDateEnd = this.deadlineRange && this.deadlineRange[1] ? slashDate(this.deadlineRange[1]) : ''
       this.loading = true
-      post(this.$axios, '/inspectManage/rectification/page', cleanParams(q)).then(res => {
+      post(this.$axios, '/rectificationManage/getRectPage', cleanParams(q)).then(res => {
         this.rows = (res && res.list) || []
         this.total = pageData(res).resultCount || this.rows.length
       }).finally(() => { this.loading = false })
     },
     loadOptions() {
       post(this.$axios, '/storeManage/getStoreList', {}).then(res => { this.stores = (res && res.list) || [] })
-      post(this.$axios, '/inspectManage/indicator/page', { pageSize: 200, currentPage: 1 }).then(res => { this.indicators = (res && res.list) || [] })
+      post(this.$axios, '/inspectIndicatorManage/getIndicatorList', { pageSize: 200, currentPage: 1 }).then(res => { this.indicators = (res && res.list) || [] })
     },
     reset() {
       this.query = { storeId: '', indicatorId: '', status: '', deadlineDateBegin: '', deadlineDateEnd: '', pageSize: 10, currentPage: 1 }
@@ -184,7 +184,7 @@ export default {
     canUrge(row) { return [1, 2, 3, 5, 6].indexOf(row.status) !== -1 },
     urge(row) {
       this.$confirm('确认对该整改进行催办?', '提示').then(() => {
-        post(this.$axios, '/inspectManage/rectification/urge', { id: row.rectId }).then(res => {
+        post(this.$axios, '/rectificationManage/urge', { id: row.rectId }).then(res => {
           if (ok(res)) { this.load(); this.$message.success('催办完成') } else { this.$message.error(msg(res) || '催办失败') }
         })
       }).catch(() => {})
@@ -204,7 +204,7 @@ export default {
     batchUpdate() {
       if (!this.batchDeadline) return this.$message.warning('请选择截止日期')
       this.batchSaving = true
-      post(this.$axios, '/inspectManage/rectification/batchUpdateDeadline', {
+      post(this.$axios, '/rectificationManage/batchUpdateDeadline', {
         rectIds: this.selected.map(r => r.rectId),
         deadlineDate: this.batchDeadline
       }).then(res => {

+ 1 - 1
src/components/page/admin/inspect/rectification/Recheck.vue

@@ -109,7 +109,7 @@ export default {
         return this.$message.warning('请选择复检结果')
       }
       this.saving = true
-      post(this.$axios, '/inspectManage/rectification/recheck', {
+      post(this.$axios, '/rectificationManage/recheck', {
         id: this.row.rectId,
         recheckScore: this.form.recheckScore,
         recheckResult: this.form.recheckResult,

+ 7 - 7
src/components/page/admin/inspect/task/Execute.vue

@@ -144,8 +144,8 @@ export default {
       if (!this.taskId) return
       this.loading = true
       Promise.all([
-        post(this.$axios, '/inspectManage/task/detail', { id: this.taskId }),
-        post(this.$axios, '/inspectManage/task/items', { taskId: this.taskId })
+        post(this.$axios, '/inspectTaskManage/getTaskDetail', { id: this.taskId }),
+        post(this.$axios, '/inspectTaskManage/getTaskItems', { taskId: this.taskId })
       ]).then(([r1, r2]) => {
         this.task = (r1 && r1.obj) || null
         this.items = ((r2 && r2.list) || []).map(i => Object.assign({}, i, { _pics: splitPictures(i.pictureUrls) }))
@@ -153,10 +153,10 @@ export default {
     },
     start() {
       this.starting = true
-      post(this.$axios, '/inspectManage/task/start', { id: this.taskId, inspectorId: this.task.inspectorId }).then(res => {
+      post(this.$axios, '/inspectTaskManage/startTask', { id: this.taskId, inspectorId: this.task.inspectorId }).then(res => {
         if (ok(res)) {
           this.$message.success('已开始执行')
-          post(this.$axios, '/inspectManage/task/detail', { id: this.taskId }).then(r => {
+          post(this.$axios, '/inspectTaskManage/getTaskDetail', { id: this.taskId }).then(r => {
             this.task = (r && r.obj) || this.task
           })
         } else {
@@ -218,7 +218,7 @@ export default {
       return payload
     },
     saveDraft() {
-      const reqs = this.manualItems.map(item => post(this.$axios, '/inspectManage/taskItem/update', this.itemPayload(item)))
+      const reqs = this.manualItems.map(item => post(this.$axios, '/inspectTaskManage/updateTaskItem', this.itemPayload(item)))
       this.savingDraft = true
       Promise.all(reqs).then(results => {
         const failed = results.filter(r => !ok(r))
@@ -234,11 +234,11 @@ export default {
       const invalid = this.manualItems.filter(i => Number(i.score) > Number(i.maxScore))
       if (invalid.length) return this.$message.warning('存在超出满分范围的得分,请检查')
       this.submitting = true
-      const reqs = this.manualItems.map(item => post(this.$axios, '/inspectManage/taskItem/update', this.itemPayload(item)))
+      const reqs = this.manualItems.map(item => post(this.$axios, '/inspectTaskManage/updateTaskItem', this.itemPayload(item)))
       Promise.all(reqs).then(results => {
         const failed = results.filter(r => !ok(r))
         if (failed.length) throw new Error('评分项保存失败')
-        return post(this.$axios, '/inspectManage/task/submit', { id: this.taskId, inspectorId: this.task.inspectorId })
+        return post(this.$axios, '/inspectTaskManage/submitTask', { id: this.taskId, inspectorId: this.task.inspectorId })
       }).then(res => {
         if (ok(res)) {
           this.$message.success('提交成功,已自动生成整改记录(如有不合格项)')

+ 13 - 5
src/components/page/admin/inspect/task/Index.vue

@@ -63,11 +63,12 @@
       <el-table-column label="状态" width="90">
         <template slot-scope="s"><el-tag size="mini" :type="taskStatus(s.row.status).type">{{ taskStatus(s.row.status).text }}</el-tag></template>
       </el-table-column>
-      <el-table-column label="操作" width="170" fixed="right">
+      <el-table-column label="操作" width="200" fixed="right">
         <template slot-scope="s">
           <el-button type="text" v-if="s.row.status === 1 || s.row.status === 2" @click="openExecute(s.row)">执行</el-button>
           <el-button type="text" v-if="s.row.status === 3" @click="openReport(s.row)">报告</el-button>
           <el-button type="text" v-if="s.row.status === 1 || s.row.status === 2" class="danger" @click="cancel(s.row)">取消</el-button>
+          <el-button type="text" v-if="s.row.status === 1 || s.row.status === 4" class="danger" @click="remove(s.row)">删除</el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -127,13 +128,13 @@ export default {
       q.taskDateBegin = this.dateRange && this.dateRange[0] ? slashDate(this.dateRange[0]) : ''
       q.taskDateEnd = this.dateRange && this.dateRange[1] ? slashDate(this.dateRange[1]) : ''
       this.loading = true
-      post(this.$axios, '/inspectManage/task/page', cleanParams(q)).then(res => {
+      post(this.$axios, '/inspectTaskManage/getTaskPage', cleanParams(q)).then(res => {
         this.rows = (res && res.list) || []
         this.total = pageData(res).resultCount || this.rows.length
       }).finally(() => { this.loading = false })
     },
     loadStats() {
-      post(this.$axios, '/inspectManage/task/statistics', {}).then(res => {
+      post(this.$axios, '/inspectTaskManage/getTaskStatistics', {}).then(res => {
         const rows = (res && res.list) || []
         let total = 0
         let finish = 0
@@ -160,7 +161,7 @@ export default {
       })
     },
     loadOptions() {
-      post(this.$axios, '/inspectManage/plan/page', { pageSize: 200, currentPage: 1 }).then(res => {
+      post(this.$axios, '/inspectPlanManage/getPlanPage', { pageSize: 200, currentPage: 1 }).then(res => {
         this.plans = (res && res.list) || []
       })
       post(this.$axios, '/storeManage/getStoreList', {}).then(res => {
@@ -186,11 +187,18 @@ export default {
     },
     cancel(row) {
       this.$confirm('确认取消该任务?', '提示').then(() => {
-        post(this.$axios, '/inspectManage/task/cancel', { id: row.taskId }).then(res => {
+        post(this.$axios, '/inspectTaskManage/cancelTask', { id: row.taskId }).then(res => {
           if (ok(res)) { this.load(); this.$message.success('取消完成') } else { this.$message.error(msg(res) || '取消失败') }
         })
       }).catch(() => {})
     },
+    remove(row) {
+      this.$confirm('确认删除该任务?仅待执行或已取消的任务可删除。', '提示').then(() => {
+        post(this.$axios, '/inspectTaskManage/deleteTask', { id: row.taskId }).then(res => {
+          if (ok(res)) { this.load(); this.$message.success('删除完成') } else { this.$message.error(msg(res) || '删除失败') }
+        })
+      }).catch(() => {})
+    },
     scorePct(row) {
       const max = Number(row.maxScore || 0)
       return max > 0 ? Math.round(Number(row.totalScore || 0) / max * 100) : 0

+ 2 - 2
src/components/page/admin/inspect/task/Report.vue

@@ -131,8 +131,8 @@ export default {
       if (!this.taskId) return
       this.loading = true
       Promise.all([
-        post(this.$axios, '/inspectManage/task/detail', { id: this.taskId }),
-        post(this.$axios, '/inspectManage/task/items', { taskId: this.taskId })
+        post(this.$axios, '/inspectTaskManage/getTaskDetail', { id: this.taskId }),
+        post(this.$axios, '/inspectTaskManage/getTaskItems', { taskId: this.taskId })
       ]).then(([r1, r2]) => {
         this.task = (r1 && r1.obj) || null
         this.items = (r2 && r2.list) || []

+ 101 - 101
src/router/index.js

@@ -72,7 +72,7 @@ export default new Router({
                   path: "/admin/updatePassword",
                   component: resolve =>
                       require(["@/components/page/admin/adminManage/UpdatePassword.vue"], resolve),
-                  meta: { titile: "淇敼瀵嗙爜" }
+                  meta: { titile: "修改密码" }
                 },
                 {
                     path: "/setting/settings",
@@ -80,7 +80,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/setting/Settings.vue"
                         ], resolve),
-                    meta: { titile: "绯荤粺璁剧疆" }
+                    meta: { titile: "系统设置" }
                 },
                 {
                   path: "/setting/MenuManage",
@@ -88,7 +88,7 @@ export default new Router({
                       require([
                           "@/components/page/admin/setting/MenuManage.vue"
                       ], resolve),
-                  meta: { titile: "鑿滃崟绠$悊" }
+                  meta: { titile: "菜单管理" }
                 },
                 {
                   path: "/setting/EmployeeManage",
@@ -96,7 +96,7 @@ export default new Router({
                       require([
                           "@/components/page/admin/setting/EmployeeManage.vue"
                       ], resolve),
-                  meta: { titile: "鍛樺伐绠$悊" }
+                  meta: { titile: "员工管理" }
                 },
                 {
                   path: "/setting/ThirdUserManage",
@@ -104,7 +104,7 @@ export default new Router({
                       require([
                           "@/components/page/admin/setting/ThirdUserManage.vue"
                       ], resolve),
-                  meta: { titile: "浠h繍钀ョ敤鎴风鐞?" }
+                  meta: { titile: "代运营用户管理" }
                 },
                 {
                   path: "/setting/PayChannelsManage",
@@ -112,7 +112,7 @@ export default new Router({
                       require([
                           "@/components/page/admin/setting/PayChannelsManage.vue"
                       ], resolve),
-                  meta: { titile: "鏀粯閫氶亾绠$悊" }
+                  meta: { titile: "支付通道管理" }
                 },
                 {
                   path: "/setting/RoleManage",
@@ -120,7 +120,7 @@ export default new Router({
                       require([
                           "@/components/page/admin/setting/RoleManage.vue"
                       ], resolve),
-                  meta: { titile: "瑙掕壊绠$悊" }
+                  meta: { titile: "角色管理" }
                 },
                 {
                   path: "/setting/CampusManage",
@@ -128,7 +128,7 @@ export default new Router({
                       require([
                           "@/components/page/admin/setting/CampusManage.vue"
                       ], resolve),
-                  meta: { titile: "鏍″尯绠$悊" }
+                  meta: { titile: "校区管理" }
                 },
                 {
                   path: "/setting/BigCampusManage",
@@ -136,7 +136,7 @@ export default new Router({
                       require([
                           "@/components/page/admin/setting/BigCampusManage.vue"
                       ], resolve),
-                  meta: { titile: "澶ф牎鍖虹鐞?" }
+                  meta: { titile: "大校区管理" }
                 },
                 {
                   path: "/setting/ScheduledManage",
@@ -144,7 +144,7 @@ export default new Router({
                       require([
                           "@/components/page/admin/setting/ScheduledManage.vue"
                       ], resolve),
-                  meta: { titile: "绯荤粺瀹氭椂鍣ㄧ鐞?" }
+                  meta: { titile: "系统定时器管理" }
                 },
                 {
                   path: "/setting/AccessTokenManage",
@@ -152,7 +152,7 @@ export default new Router({
                       require([
                           "@/components/page/admin/setting/AccessTokenManage.vue"
                       ], resolve),
-                  meta: { titile: "AccessToken绠$悊" }
+                  meta: { titile: "AccessToken管理" }
                 },
                 {
                   path: "/setting/storeSortManage",
@@ -160,7 +160,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/setting/StoreSortManage.vue"
                         ], resolve),
-                    meta: { titile: "闂ㄥ簵鎺掑簭绠$悊" }
+                    meta: { titile: "门店排序管理" }
                 },
 	            {
                   path: "/setting/printerManage",
@@ -168,7 +168,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/setting/PrinterManage.vue"
                         ], resolve),
-                    meta: { titile: "灏忕エ鏈虹鐞?" }
+                    meta: { titile: "小票机管理" }
                 },
 	            {
                   path: "/setting/appVersion",
@@ -176,7 +176,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/setting/AppVersion.vue"
                         ], resolve),
-                    meta: { titile: "app鐗堟湰绠$悊" }
+                    meta: { titile: "app版本管理" }
                 },
                 {
                   path: "/order/orderManage",
@@ -184,7 +184,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/order/OrderManage1.vue"
                         ], resolve),
-                    meta: { titile: "璁㈠崟澶勭悊" }
+                    meta: { titile: "订单处理" }
                 },
                 {
                   path: "/order/orderList",
@@ -192,7 +192,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/order/OrderList.vue"
                         ], resolve),
-                    meta: { titile: "璁㈠崟鍒楄〃" }
+                    meta: { titile: "订单列表" }
                 },
                 {
                   path: "/order/orderInfoDetail",
@@ -200,7 +200,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/order/OrderInfoDetail.vue"
                         ], resolve),
-                    meta: { titile: "璁㈠崟鏀跺叆鏄庣粏" }
+                    meta: { titile: "订单收入明细" }
                 },
                 {
                   path: "/order/refundManage",
@@ -208,7 +208,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/order/RefundManage.vue"
                         ], resolve),
-                    meta: { titile: "閫€娆捐褰?" }
+                    meta: { titile: "退款记录" }
                 },
                 {
                   path: "/order/refundFailed",
@@ -216,7 +216,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/order/RefundFailed.vue"
                         ], resolve),
-                    meta: { titile: "璁㈠崟鏀跺叆鏄庣粏" }
+                    meta: { titile: "订单收入明细" }
                 },
                 {
                   path: "/delivery/deliveryOrderManage",
@@ -224,7 +224,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/delivery/DeliveryOrderManage.vue"
                         ], resolve),
-                    meta: { titile: "閰嶉€佽鍗曠鐞?" }
+                    meta: { titile: "配送订单管理" }
                 },
                 {
                   path: "/delivery/deliveryOrderManage1",
@@ -232,7 +232,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/delivery/DeliveryOrderManage1.vue"
                         ], resolve),
-                    meta: { titile: "鏂伴厤閫佽鍗曠鐞?" }
+                    meta: { titile: "新配送订单管理" }
                 },
                 {
                   path: "/delivery/deliveryerManage",
@@ -240,7 +240,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/delivery/DeliveryerManage.vue"
                         ], resolve),
-                    meta: { titile: "閰嶉€佸憳绠$悊" }
+                    meta: { titile: "配送员管理" }
                 },
                 {
                   path: "/delivery/deliveryerManage1",
@@ -248,7 +248,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/delivery/DeliveryerManage1.vue"
                         ], resolve),
-                    meta: { titile: "鏂伴厤閫佸憳绠$悊" }
+                    meta: { titile: "新配送员管理" }
                 },
                 {
                   path: "/delivery/deliveryAreaManage",
@@ -256,7 +256,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/delivery/DeliveryAreaManage.vue"
                         ], resolve),
-                    meta: { titile: "閰嶉€佸尯鍩熺鐞?" }
+                    meta: { titile: "配送区域管理" }
                 },
                 {
                   path: "/delivery/deliverySettlement",
@@ -264,7 +264,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/delivery/DeliverySettlement.vue"
                         ], resolve),
-                    meta: { titile: "閰嶉€佸憳缁撶畻鍗?" }
+                    meta: { titile: "配送员结算单" }
                 },
                 {
                   path: "/delivery/deliveryAreaGroupManage",
@@ -272,7 +272,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/delivery/DeliveryAreaGroupManage.vue"
                         ], resolve),
-                    meta: { titile: "閰嶉€佸尯鍩熷垎缁勭鐞?" }
+                    meta: { titile: "配送区域分组管理" }
                 },
                 {
                   path: "/delivery/deliveryOrderCount",
@@ -280,7 +280,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/delivery/DeliveryOrderCount.vue"
                         ], resolve),
-                    meta: { titile: "閰嶉€佸憳璁㈠崟缁熻" }
+                    meta: { titile: "配送员订单统计" }
                 },
                 {
                   path: "/delivery/orderGroupLog",
@@ -288,7 +288,7 @@ export default new Router({
                         require([
                             "@/components/page/admin/delivery/OrderGroupLog.vue"
                         ], resolve),
-                    meta: { titile: "璁㈠崟鍒嗙粍鏃ュ織" }
+                    meta: { titile: "订单分组日志" }
                 },
                 {
                   path: "/admin/storemanage",
@@ -296,7 +296,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/store/StoreManage.vue"
                     ], resolve),
-                  meta: { title: "闂ㄥ簵鍒楄〃" }
+                  meta: { title: "门店列表" }
                 },
                 {
                   path: "/admin/storemanage1",
@@ -304,7 +304,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/store/StoreManage.vue"
                     ], resolve),
-                  meta: { title: "鏂伴棬搴楀垪琛?" }
+                  meta: { title: "新门店列表" }
                 },
                 {
                   path: "/admin/storeusermanage",
@@ -312,7 +312,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/store/StoreUserManage.vue"
                     ], resolve),
-                  meta: { title: "闂ㄥ簵鍛樺伐鍒楄〃" }
+                  meta: { title: "门店员工列表" }
                 },
                 {
                   path: "/admin/moreGoodsList",
@@ -320,7 +320,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/store/MoreGoodsList.vue"
                     ], resolve),
-                  meta: { title: "鍟嗗搧鍒楄〃" }
+                  meta: { title: "商品列表" }
                 },
                 {
                   path: "/admin/storeTypeManage",
@@ -328,7 +328,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/store/StoreTypeManage.vue"
                     ], resolve),
-                  meta: { title: "鍒嗙被绠$悊" }
+                  meta: { title: "分类管理" }
                 },
                 {
                   path: "/admin/storeAreaManage",
@@ -336,7 +336,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/store/StoreAreaManage.vue"
                     ], resolve),
-                  meta: { title: "搴楅摵鍖哄煙绠$悊" }
+                  meta: { title: "店铺区域管理" }
                 },
                 {
                   path: "/admin/storeEvaluateManage",
@@ -344,7 +344,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/store/StoreEvaluateManage.vue"
                     ], resolve),
-                  meta: { title: "璇勪环绠$悊" }
+                  meta: { title: "评价管理" }
                 },
                 {
                   path: "/admin/userManage",
@@ -352,7 +352,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/user/UserManage.vue"
                     ], resolve),
-                  meta: { title: "灏忕▼搴忕敤鎴?" }
+                  meta: { title: "小程序用户" }
                 },
                 {
                   path: "/admin/specialsManage",
@@ -360,7 +360,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/SpecialsManage.vue"
                     ], resolve),
-                  meta: { title: "鐗逛环鑿滅鐞?" }
+                  meta: { title: "特价菜管理" }
                 },
                 {
                   path: "/admin/recommendStoreManage",
@@ -368,7 +368,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/RecommendStoreManage.vue"
                     ], resolve),
-                  meta: { title: "棣栭〉搴楅摵鎺ㄨ崘绠$悊" }
+                  meta: { title: "首页店铺推荐管理" }
                 },
                 {
                   path: "/admin/publicAccountParameterManage",
@@ -376,7 +376,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/PublicAccountParameterManage.vue"
                     ], resolve),
-                  meta: { title: "鍏紬鍙峰弬鏁颁簩缁寸爜" }
+                  meta: { title: "公众号参数二维码" }
                 },
                 {
                   path: "/admin/indexIconManage",
@@ -384,7 +384,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/IndexIconManage.vue"
                     ], resolve),
-                  meta: { title: "棣栭〉鍥炬爣绠$悊" }
+                  meta: { title: "首页图标管理" }
                 },
                 {
                   path: "/admin/recommendedLocationManage",
@@ -392,7 +392,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/RecommendedLocationManage.vue"
                     ], resolve),
-                  meta: { title: "棣栭〉鍥炬爣绠$悊" }
+                  meta: { title: "首页图标管理" }
                 },
                 {
                   path: "/admin/carouselManage",
@@ -400,7 +400,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/CarouselManage.vue"
                     ], resolve),
-                  meta: { title: "杞挱鍥剧鐞?" }
+                  meta: { title: "轮播图管理" }
                 },
                 {
                   path: "/admin/announcementManage",
@@ -408,7 +408,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/AnnouncementManage.vue"
                     ], resolve),
-                  meta: { title: "灏忕▼搴忓叕鍛?" }
+                  meta: { title: "小程序公告" }
                 },
                 {
                   path: "/admin/advertiseManage",
@@ -416,7 +416,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/AdvertiseManage.vue"
                     ], resolve),
-                  meta: { title: "骞垮憡璐圭淮鎶?" }
+                  meta: { title: "广告费维护" }
                 },
 		            {
 			            path: "/admin/coupon",
@@ -424,7 +424,7 @@ export default new Router({
 				            require([
 					            "@/components/page/admin/coupon/couponManage.vue"
 				            ], resolve),
-			            meta: { titile: "浼樻儬鍒哥鐞?" }
+			            meta: { titile: "优惠券管理" }
 		            },
 	            {
 			            path: "/admin/couponMember",
@@ -432,7 +432,7 @@ export default new Router({
 				            require([
 					            "@/components/page/admin/coupon/couponMember.vue"
 				            ], resolve),
-			            meta: { titile: "浼樻儬鍒哥鐞?" }
+			            meta: { titile: "优惠券管理" }
 		            },
                 {
                   path: "/admin/advetiseSum",
@@ -440,7 +440,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/AdvetiseSum.vue"
                     ], resolve),
-                  meta: { title: "骞垮憡璐圭粺璁?" }
+                  meta: { title: "广告费统计" }
                 },
                 {
                   path: "/admin/storeAnnouncementManage",
@@ -448,7 +448,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/StoreAnnouncementManage.vue"
                     ], resolve),
-                  meta: { title: "鍟嗘埛鍏憡" }
+                  meta: { title: "商户公告" }
                 },
                 {
                   path: "/admin/dineAndDashManage",
@@ -456,7 +456,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/DineAndDashManage.vue"
                     ], resolve),
-                  meta: { titile: "闇哥帇椁愭椿鍔?" }
+                  meta: { titile: "霸王餐活动" }
                 },
                 {
                   path: "/admin/couponManage",
@@ -464,7 +464,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/CouponManage.vue"
                     ], resolve),
-                  meta: { title: "浼樻儬鍒?" }
+                  meta: { title: "优惠券" }
                 },
                 {
                   path: "/admin/freeMealPowerManage",
@@ -472,7 +472,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/FreeMealPowerManage.vue"
                     ], resolve),
-                  meta: { title: "鍏嶉鍔╁姏" }
+                  meta: { title: "免餐助力" }
                 },
                 {
                   path: "/admin/couponActivityManage",
@@ -480,7 +480,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/operate/CouponActivityManage.vue"
                     ], resolve),
-                  meta: { title: "璐埜娲诲姩" }
+                  meta: { title: "购券活动" }
                 },
                   {
                   path: "/settlement/settlementOrderManage",
@@ -488,7 +488,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/settlement/SettlementOrderManage.vue"
                     ], resolve),
-                  meta: { titile: "缁撶畻璁㈠崟鍒楄〃" }
+                  meta: { titile: "结算订单列表" }
                   },
                   {
                   path: "/settlement/storeSettlementManage",
@@ -496,7 +496,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/settlement/StoreSettlementManage.vue"
                     ], resolve),
-                  meta: { titile: "鍟嗗缁撶畻鍗?" }
+                  meta: { titile: "商家结算单" }
                   },
                   {
                   path: "/settlement/OperatorSettlementManage",
@@ -504,7 +504,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/settlement/OperatorSettlementManage.vue"
                     ], resolve),
-                  meta: { titile: "鍟嗗缁撶畻鍗?" }
+                  meta: { titile: "商家结算单" }
                 },
                   {
                   path: "/settlement/MarketingRecordsManage",
@@ -512,7 +512,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/settlement/MarketingRecordsManage.vue"
                     ], resolve),
-                  meta: { titile: "钀ラ攢璁板綍" }
+                  meta: { titile: "营销记录" }
                   },
                   {
                   path: "/settlement/StoreSettlementCount",
@@ -520,7 +520,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/settlement/StoreSettlementCount.vue"
                     ], resolve),
-                  meta: { titile: "鍟嗗缁撶畻缁熻" }
+                  meta: { titile: "商家结算统计" }
                   },
                   {
                   path: "/dataStatistics/OrderStatistics",
@@ -528,7 +528,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/dataStatistics/OrderStatistics.vue"
                     ], resolve),
-                  meta: { titile: "璁㈠崟缁熻" }
+                  meta: { titile: "订单统计" }
                   },
                   {
                   path: "/dataStatistics/OperationDataStatistics",
@@ -536,7 +536,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/dataStatistics/OperationDataStatistics.vue"
                     ], resolve),
-                  meta: { titile: "杩愯惀鏁版嵁缁熻" }
+                  meta: { titile: "运营数据统计" }
                   },
                   {
                   path: "/dataStatistics/GoodsStatistics",
@@ -544,7 +544,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/dataStatistics/GoodsStatistics.vue"
                     ], resolve),
-                    meta: { titile: "鍟嗗搧缁熻" }
+                    meta: { titile: "商品统计" }
                   },
                   {
                     path: "/dataStatistics/OrderSourceStatistics",
@@ -552,7 +552,7 @@ export default new Router({
                       require([
                         "@/components/page/admin/dataStatistics/OrderSourceStatistics.vue"
                       ], resolve),
-                      meta: { titile: "璁㈠崟鏉ユ簮缁熻" }
+                      meta: { titile: "订单来源统计" }
                     },
                 {
                   path: "/admin/RiderFeedback",
@@ -560,7 +560,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/feedback/RiderFeedback.vue"
                     ], resolve),
-                  meta: { titile: "楠戞墜鎰忚鍙嶉" }
+                  meta: { titile: "骑手意见反馈" }
                 },
                 {
                   path: "/feedback/Complaint",
@@ -568,7 +568,7 @@ export default new Router({
                     require([
                       "@/components/page/admin/feedback/Complaint.vue"
                     ], resolve),
-                  meta: { titile: "鎶曡瘔寤鸿" }
+                  meta: { titile: "投诉建议" }
                 },
           ]
       },
@@ -576,26 +576,26 @@ export default new Router({
         path: "/third/user",
         component: resolve =>
             require(["@/components/page/third/ThirdUser.vue"], resolve),
-        meta: { titile: "搴楅摵" }
+        meta: { titile: "店铺" }
       },
       {
           path: "/third/home",
           component: resolve =>
               require(["@/components/page/third/Main.vue"], resolve),
-          meta: { titile: "涓婚〉闈?" },
+          meta: { titile: "主页面" },
           children: [
               {
                   path: "/third/index",
                   component: resolve =>
                       require(["@/components/page/third/Index.vue"], resolve),
-                  meta: { titile: "棣栭〉" }
+                  meta: { titile: "首页" }
               },
 
               {
                 path: "/third/updatePassword",
                 component: resolve =>
                     require(["@/components/page/third/adminManage/UpdatePassword.vue"], resolve),
-                meta: { titile: "淇敼瀵嗙爜" }
+                meta: { titile: "修改密码" }
               },
               {
                 path: "/third/orderManage",
@@ -603,7 +603,7 @@ export default new Router({
                       require([
                           "@/components/page/third/order/OrderManage1.vue"
                       ], resolve),
-                  meta: { titile: "璁㈠崟澶勭悊" }
+                  meta: { titile: "订单处理" }
               },
               {
                 path: "/third/orderList",
@@ -611,7 +611,7 @@ export default new Router({
                       require([
                           "@/components/page/third/order/OrderList.vue"
                       ], resolve),
-                  meta: { titile: "璁㈠崟鍒楄〃" }
+                  meta: { titile: "订单列表" }
               },
               {
                 path: "/third/orderInfoDetail",
@@ -619,7 +619,7 @@ export default new Router({
                       require([
                           "@/components/page/third/order/OrderInfoDetail.vue"
                       ], resolve),
-                  meta: { titile: "璁㈠崟鏀跺叆鏄庣粏" }
+                  meta: { titile: "订单收入明细" }
               },
               {
                 path: "/third/storeInfo",
@@ -627,7 +627,7 @@ export default new Router({
                   require([
                     "@/components/page/third/store/StoreInfo.vue"
                   ], resolve),
-                meta: { title: "闂ㄥ簵淇℃伅" }
+                meta: { title: "门店信息" }
               },
               {
                 path: "/third/storeusermanage",
@@ -635,7 +635,7 @@ export default new Router({
                   require([
                     "@/components/page/third/store/StoreUserManage.vue"
                   ], resolve),
-                meta: { title: "闂ㄥ簵鍛樺伐鍒楄〃" }
+                meta: { title: "门店员工列表" }
               },
               {
                 path: "/third/storeGoodsList",
@@ -643,7 +643,7 @@ export default new Router({
                   require([
                     "@/components/page/third/goods/StoreGoodsList1.vue"
                   ], resolve),
-                meta: { title: "鍟嗗搧鍒楄〃" }
+                meta: { title: "商品列表" }
               },
               {
                 path: "/third/storeTypeManage",
@@ -651,7 +651,7 @@ export default new Router({
                   require([
                     "@/components/page/third/store/StoreTypeManage.vue"
                   ], resolve),
-                meta: { title: "鍒嗙被绠$悊" }
+                meta: { title: "分类管理" }
               },
               {
                 path: "/third/storeAreaManage",
@@ -659,7 +659,7 @@ export default new Router({
                   require([
                     "@/components/page/third/store/StoreAreaManage.vue"
                   ], resolve),
-                meta: { title: "搴楅摵鍖哄煙绠$悊" }
+                meta: { title: "店铺区域管理" }
               },
               {
                 path: "/third/storeEvaluateManage",
@@ -667,7 +667,7 @@ export default new Router({
                   require([
                     "@/components/page/third/store/StoreEvaluateManage.vue"
                   ], resolve),
-                meta: { title: "璇勪环绠$悊" }
+                meta: { title: "评价管理" }
               },
               {
                 path: "/third/userManage",
@@ -675,7 +675,7 @@ export default new Router({
                   require([
                     "@/components/page/third/user/UserManage.vue"
                   ], resolve),
-                meta: { title: "灏忕▼搴忕敤鎴?" }
+                meta: { title: "小程序用户" }
               },
               {
                 path: "/third/storeSpecials",
@@ -683,7 +683,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/StoreSpecials1.vue"
                   ], resolve),
-                meta: { title: "鐗逛环鑿滅鐞?" }
+                meta: { title: "特价菜管理" }
               },
               {
                 path: "/third/newCustomer",
@@ -691,7 +691,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/NewCustomer.vue"
                   ], resolve),
-                meta: { title: "鏂板绔嬪噺" }
+                meta: { title: "新客立减" }
               },
               {
                 path: "/third/freeDelivery",
@@ -699,7 +699,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/FreeDelivery.vue"
                   ], resolve),
-                meta: { title: "鍏嶉厤閫佽垂" }
+                meta: { title: "免配送费" }
               },
               {
                 path: "/third/fullDiscounts",
@@ -707,7 +707,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/FullDiscounts.vue"
                   ], resolve),
-                meta: { title: "婊″噺娲诲姩" }
+                meta: { title: "满减活动" }
               },
               {
                 path: "/third/recommendStoreManage",
@@ -715,7 +715,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/RecommendStoreManage.vue"
                   ], resolve),
-                meta: { title: "棣栭〉搴楅摵鎺ㄨ崘绠$悊" }
+                meta: { title: "首页店铺推荐管理" }
               },
               {
                 path: "/third/publicAccountParameterManage",
@@ -723,7 +723,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/PublicAccountParameterManage.vue"
                   ], resolve),
-                meta: { title: "鍏紬鍙峰弬鏁颁簩缁寸爜" }
+                meta: { title: "公众号参数二维码" }
               },
               {
                 path: "/third/indexIconManage",
@@ -731,7 +731,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/IndexIconManage.vue"
                   ], resolve),
-                meta: { title: "棣栭〉鍥炬爣绠$悊" }
+                meta: { title: "首页图标管理" }
               },
               {
                 path: "/third/recommendedLocationManage",
@@ -739,7 +739,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/RecommendedLocationManage.vue"
                   ], resolve),
-                meta: { title: "棣栭〉鍥炬爣绠$悊" }
+                meta: { title: "首页图标管理" }
               },
               {
                 path: "/third/carouselManage",
@@ -747,7 +747,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/CarouselManage.vue"
                   ], resolve),
-                meta: { title: "杞挱鍥剧鐞?" }
+                meta: { title: "轮播图管理" }
               },
               {
                 path: "/third/announcementManage",
@@ -755,7 +755,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/AnnouncementManage.vue"
                   ], resolve),
-                meta: { title: "灏忕▼搴忓叕鍛?" }
+                meta: { title: "小程序公告" }
               },
               {
                 path: "/third/storeAnnouncementManage",
@@ -763,7 +763,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/StoreAnnouncementManage.vue"
                   ], resolve),
-                meta: { title: "鍟嗘埛鍏憡" }
+                meta: { title: "商户公告" }
               },
               {
                 path: "/third/dineAndDashManage",
@@ -771,7 +771,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/DineAndDashManage.vue"
                   ], resolve),
-                meta: { titile: "闇哥帇椁愭椿鍔?" }
+                meta: { titile: "霸王餐活动" }
               },
               {
                 path: "/third/freeMealPowerManage",
@@ -779,7 +779,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/FreeMealPowerManage.vue"
                   ], resolve),
-                meta: { title: "鍏嶉鍔╁姏" }
+                meta: { title: "免餐助力" }
               },
               {
                 path: "/third/couponActivityManage",
@@ -787,7 +787,7 @@ export default new Router({
                   require([
                     "@/components/page/third/operate/CouponActivityManage.vue"
                   ], resolve),
-                meta: { title: "璐埜娲诲姩" }
+                meta: { title: "购券活动" }
               },
                 {
                 path: "/third/settlement/settlementOrderManage",
@@ -795,7 +795,7 @@ export default new Router({
                   require([
                     "@/components/page/third/settlement/SettlementOrderManage.vue"
                   ], resolve),
-                meta: { titile: "缁撶畻璁㈠崟鍒楄〃" }
+                meta: { titile: "结算订单列表" }
                 },
                 {
                 path: "/third/settlement/storeSettlementManage",
@@ -803,7 +803,7 @@ export default new Router({
                   require([
                     "@/components/page/third/settlement/StoreSettlementManage.vue"
                   ], resolve),
-                meta: { titile: "鍟嗗缁撶畻鍗?" }
+                meta: { titile: "商家结算单" }
                 },
                 {
                 path: "/settlement/OperatorSettlementManage",
@@ -811,7 +811,7 @@ export default new Router({
                   require([
                     "@/components/page/third/settlement/OperatorSettlementManage.vue"
                   ], resolve),
-                meta: { titile: "鍟嗗缁撶畻鍗?" }
+                meta: { titile: "商家结算单" }
               },
                 {
                 path: "/settlement/MarketingRecordsManage",
@@ -819,7 +819,7 @@ export default new Router({
                   require([
                     "@/components/page/third/settlement/MarketingRecordsManage.vue"
                   ], resolve),
-                meta: { titile: "钀ラ攢璁板綍" }
+                meta: { titile: "营销记录" }
                 },
                 {
                 path: "/settlement/StoreSettlementCount",
@@ -827,7 +827,7 @@ export default new Router({
                   require([
                     "@/components/page/third/settlement/StoreSettlementCount.vue"
                   ], resolve),
-                meta: { titile: "鍟嗗缁撶畻缁熻" }
+                meta: { titile: "商家结算统计" }
                 },
                 {
                 path: "/third/dataStatistics/OrderStatistics",
@@ -835,7 +835,7 @@ export default new Router({
                   require([
                     "@/components/page/third/dataStatistics/OrderStatistics.vue"
                   ], resolve),
-                meta: { titile: "璁㈠崟缁熻" }
+                meta: { titile: "订单统计" }
                 },
                 {
                 path: "/dataStatistics/OperationDataStatistics",
@@ -843,7 +843,7 @@ export default new Router({
                   require([
                     "@/components/page/third/dataStatistics/OperationDataStatistics.vue"
                   ], resolve),
-                meta: { titile: "杩愯惀鏁版嵁缁熻" }
+                meta: { titile: "运营数据统计" }
                 },
                 {
                 path: "/third/dataStatistics/GoodsStatistics",
@@ -851,7 +851,7 @@ export default new Router({
                   require([
                     "@/components/page/third/dataStatistics/GoodsStatistics.vue"
                   ], resolve),
-                  meta: { titile: "鍟嗗搧缁熻" }
+                  meta: { titile: "商品统计" }
                 },
                 {
                   path: "/dataStatistics/OrderSourceStatistics",
@@ -859,7 +859,7 @@ export default new Router({
                     require([
                       "@/components/page/third/dataStatistics/OrderSourceStatistics.vue"
                     ], resolve),
-                    meta: { titile: "璁㈠崟鏉ユ簮缁熻" }
+                    meta: { titile: "订单来源统计" }
                   },
               {
                 path: "/store/deliveryManage",
@@ -867,7 +867,7 @@ export default new Router({
                 require([
                   "@/components/page/third/store/DeliveryManage.vue"
                 ], resolve),
-                meta: { titile: "閰嶉€佺鐞?" }
+                meta: { titile: "配送管理" }
               }
           ]
       },