Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
daywrite
bms-vue-obear
Commits
790120f3
Commit
790120f3
authored
Jun 25, 2019
by
huai.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
38732400
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
271 additions
and
63 deletions
+271
-63
scheduleItem.vue
src/components/common/scheduleItem.vue
+6
-2
account.js
src/routes/account.js
+5
-1
analysis.js
src/routes/analysis.js
+30
-7
case.js
src/routes/case.js
+10
-2
document.js
src/routes/document.js
+10
-2
profile.js
src/routes/profile.js
+14
-3
punch.js
src/routes/punch.js
+14
-3
reimbursement.js
src/routes/reimbursement.js
+9
-2
schedule.js
src/routes/schedule.js
+9
-2
service.js
src/routes/service.js
+10
-2
setting.js
src/routes/setting.js
+134
-33
supplier.js
src/routes/supplier.js
+6
-1
task.js
src/routes/task.js
+14
-3
No files found.
src/components/common/scheduleItem.vue
View file @
790120f3
...
...
@@ -4,8 +4,12 @@
<el-col
:span=
"4"
:xs=
"24"
class=
"obear-schedule-left"
:style=
"
{background: item.bgcolor}">
<el-row
:gutter=
"10"
>
<el-col
:span=
"24"
>
<router-link
:to=
"
{ path: '/ofClient/' + item.client_id }">
<i
class=
"fa fa-star"
aria-hidden=
"true"
></i>
{{
isNullClient
?
'客户名称(未设置)'
:
item
.
client
.
name
}}
<i
class=
"fa fa-star"
aria-hidden=
"true"
></i>
<span
v-if=
"isNullClient"
>
客户名称(未设置)
</span>
<router-link
:to=
"
{ path: '/ofClient/' + item.client_id }" else>
{{
item
.
client
.
name
}}
</router-link>
</el-col>
<el-col
:span=
"24"
style=
"padding-left: 3px;"
>
...
...
src/routes/account.js
View file @
790120f3
import
AccountHome
from
'../components/account_list/accountHome'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/account'
,
name
:
'accountHome'
,
component
:
AccountHome
component
:
AccountHome
,
meta
:
{
title
:
projectTitle
+
'员工管理'
}
}]
export
default
routes
src/routes/analysis.js
View file @
790120f3
...
...
@@ -5,33 +5,56 @@ import PreSalesHome from '../components/analysis/pre-sales/preSalesHome'
import
PreSaleAnalyze
from
'../components/analysis/pre-sales-analyze/preSalesAnalyzeHome'
import
ImplementAnalyze
from
'../components/analysis/implement-analyze/implementAnalyzeHome'
import
ImplementHome
from
'../components/analysis/implement/implementHome'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/analysis'
,
name
:
'analysis'
,
component
:
AnalysisHome
component
:
AnalysisHome
,
meta
:
{
title
:
projectTitle
+
'统计分析'
}
},
{
path
:
'/sales'
,
name
:
'sales'
,
component
:
SalesHome
component
:
SalesHome
,
meta
:
{
title
:
projectTitle
+
'统计分析'
}
},
{
path
:
'/salesGoal'
,
name
:
'salesGoal'
,
component
:
SalesGoalHome
component
:
SalesGoalHome
,
meta
:
{
title
:
projectTitle
+
'统计分析'
}
},
{
path
:
'/preSales'
,
name
:
'preSalesHome'
,
component
:
PreSalesHome
component
:
PreSalesHome
,
meta
:
{
title
:
projectTitle
+
'统计分析'
}
},
{
path
:
'/preSaleAnalyze'
,
name
:
'preSaleAnalyze'
,
component
:
PreSaleAnalyze
component
:
PreSaleAnalyze
,
meta
:
{
title
:
projectTitle
+
'客户沙盘'
}
},
{
path
:
'/implementAnalyze'
,
name
:
'implementAnalyze'
,
component
:
ImplementAnalyze
component
:
ImplementAnalyze
,
meta
:
{
title
:
projectTitle
+
'统计分析'
}
},
{
path
:
'/implement'
,
name
:
'implement'
,
component
:
ImplementHome
component
:
ImplementHome
,
meta
:
{
title
:
projectTitle
+
'统计分析'
}
}]
export
default
routes
src/routes/case.js
View file @
790120f3
import
CaseHome
from
'../components/case_list/caseHome'
import
CaseView
from
'../components/case_list/caseView'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/case'
,
name
:
'caseHome'
,
component
:
CaseHome
component
:
CaseHome
,
meta
:
{
title
:
projectTitle
+
'工单管理'
}
},
{
path
:
'/ofClient/:id'
,
name
:
'ofClient'
,
component
:
CaseView
component
:
CaseView
,
meta
:
{
title
:
projectTitle
+
'客户信息'
}
}]
export
default
routes
src/routes/document.js
View file @
790120f3
import
DocumentHome
from
'../components/document_list/documentHome'
import
DocumentView
from
'../components/document_client/documentView'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/document'
,
name
:
'documentHome'
,
component
:
DocumentHome
component
:
DocumentHome
,
meta
:
{
title
:
projectTitle
+
'文档管理'
}
},
{
path
:
'/ofClient/:id'
,
name
:
'ofClient'
,
component
:
DocumentView
component
:
DocumentView
,
meta
:
{
title
:
projectTitle
+
'客户信息'
}
}]
export
default
routes
src/routes/profile.js
View file @
790120f3
import
ProfileView
from
'../components/profile/profileView'
import
ProfileEdit
from
'../components/profile/profileEdit'
import
ProfileChangePwd
from
'../components/profile/profileChangePwd'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/profile'
,
name
:
'profileView'
,
component
:
ProfileView
component
:
ProfileView
,
meta
:
{
title
:
projectTitle
+
'个人信息'
}
},
{
path
:
'/profileEdit'
,
name
:
'profileEdit'
,
component
:
ProfileEdit
component
:
ProfileEdit
,
meta
:
{
title
:
projectTitle
+
'修改个人信息'
}
},
{
path
:
'/profileChangePwd'
,
name
:
'profileChangePwd'
,
component
:
ProfileChangePwd
component
:
ProfileChangePwd
,
meta
:
{
title
:
projectTitle
+
'修改密码'
}
}]
export
default
routes
src/routes/punch.js
View file @
790120f3
import
PunchHome
from
'../components/punch_list/punchHome'
import
PunchView
from
'../components/punch/PunchView'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/punch'
,
name
:
'punchHome'
,
component
:
PunchHome
component
:
PunchHome
,
meta
:
{
title
:
projectTitle
+
'考勤记录'
}
},
{
path
:
'/view'
,
name
:
'punchView1'
,
component
:
PunchView
component
:
PunchView
,
meta
:
{
title
:
projectTitle
+
'查看考勤'
}
},
{
path
:
'/view/:id'
,
name
:
'punchView2'
,
component
:
PunchView
component
:
PunchView
,
meta
:
{
title
:
projectTitle
+
'查看考勤'
}
}]
export
default
routes
src/routes/reimbursement.js
View file @
790120f3
import
ReimbursementHome
from
'../components/reimbursement_list/reimbursementHome'
import
ReimbursementView
from
'../components/reimbursement_list/reimbursementView'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/reimbursement'
,
name
:
'reimbursementHome'
,
component
:
ReimbursementHome
component
:
ReimbursementHome
,
meta
:
{
title
:
projectTitle
+
'费用报销'
}
},
{
path
:
'/ofClient/:id'
,
name
:
'ofClient'
,
component
:
ReimbursementView
component
:
ReimbursementView
,
meta
:
{
title
:
projectTitle
+
'客户信息'
}
}]
export
default
routes
src/routes/schedule.js
View file @
790120f3
import
ScheduleHome
from
'../components/schedule_list/scheduleHome'
import
ScheduleView
from
'../components/common/scheduleView'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/schedule'
,
name
:
'scheduleHome'
,
component
:
ScheduleHome
component
:
ScheduleHome
,
meta
:
{
title
:
projectTitle
+
'待办事项'
}
},
{
path
:
'/ofClient/:id'
,
name
:
'ofClient'
,
component
:
ScheduleView
component
:
ScheduleView
,
meta
:
{
title
:
projectTitle
+
'客户信息'
}
}]
export
default
routes
src/routes/service.js
View file @
790120f3
import
ServiceHome
from
'../components/service_list/serviceHome'
import
ServiceView
from
'../components/service/serviceView'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/service'
,
name
:
'serviceHome'
,
component
:
ServiceHome
component
:
ServiceHome
,
meta
:
{
title
:
projectTitle
+
'服务目录'
}
},
{
path
:
'/view/:id'
,
name
:
'serviceView'
,
component
:
ServiceView
component
:
ServiceView
,
meta
:
{
title
:
projectTitle
+
'客户信息'
}
}]
export
default
routes
src/routes/setting.js
View file @
790120f3
...
...
@@ -31,137 +31,238 @@ import TaxonomyTerm10List from '../components/setting_list/taxonomy_term_10/taxo
import
TaxonomyTerm13List
from
'../components/setting_list/taxonomy_term_13/taxonomy_term_13'
import
ProjectProgressList
from
'../components/setting_list/project_progress/project_progress_list'
import
ImportHistoryList
from
'../components/setting_list/import-history/import_history_list.vue'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/setting/import-history'
,
name
:
'importHistoryList'
,
component
:
ImportHistoryList
component
:
ImportHistoryList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting'
,
name
:
'settingIndex'
,
component
:
SettingIndex
component
:
SettingIndex
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/client-type'
,
name
:
'settingClientType'
,
component
:
ClientTypeList
component
:
ClientTypeList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/client-class'
,
name
:
'settingClientClass'
,
component
:
ClientClassList
component
:
ClientClassList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/implement-type'
,
name
:
'settingImplementType'
,
component
:
ImplementTypeList
component
:
ImplementTypeList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/client-industry'
,
name
:
'clientIndustryList'
,
component
:
ClientIndustryList
component
:
ClientIndustryList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/company-nature'
,
name
:
'companyNatureList'
,
component
:
CompanyNatureList
component
:
CompanyNatureList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/implement-method'
,
name
:
'settingImplementMethod'
,
component
:
ImplementMethodList
component
:
ImplementMethodList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/sales-group'
,
name
:
'settingSalesGroup'
,
component
:
ImplementSalesList
component
:
ImplementSalesList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/service-type'
,
name
:
'settingServiceType'
,
component
:
ImplementServiceList
component
:
ImplementServiceList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/engineer-group'
,
name
:
'settingEngineerGroup'
,
component
:
ImplementEngineerList
component
:
ImplementEngineerList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/department'
,
name
:
'settingDepartment'
,
component
:
ImplementDepartmentList
component
:
ImplementDepartmentList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/department-position'
,
name
:
'settingDepartmentPostion'
,
component
:
ImplementPositionList
component
:
ImplementPositionList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/role/list'
,
name
:
'settingListRoleList'
,
component
:
ImplementListRoleList
component
:
ImplementListRoleList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/rating-strategy'
,
name
:
'implementRatingList'
,
component
:
ImplementRatingList
component
:
ImplementRatingList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/6'
,
name
:
'implementTaxonomyTerm6List'
,
component
:
ImplementTaxonomyTerm6List
component
:
ImplementTaxonomyTerm6List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/7'
,
name
:
'implementTaxonomyTerm7List'
,
component
:
ImplementTaxonomyTerm7List
component
:
ImplementTaxonomyTerm7List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/documnet-type'
,
name
:
'ImplementDocumentTypeList'
,
component
:
ImplementDocumentTypeList
component
:
ImplementDocumentTypeList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/15'
,
name
:
'implementTaxonomyTerm15List'
,
component
:
ImplementTaxonomyTerm15List
component
:
ImplementTaxonomyTerm15List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/16'
,
name
:
'implementTaxonomyTerm16List'
,
component
:
ImplementTaxonomyTerm16List
component
:
ImplementTaxonomyTerm16List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/work-log-scenario'
,
name
:
'implementWorkLogScenarioList'
,
component
:
ImplementWorkLogScenarioList
component
:
ImplementWorkLogScenarioList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/work-content/:id'
,
name
:
'implementWorkContentList'
,
component
:
ImplementWorkContentList
component
:
ImplementWorkContentList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/callback-questionnaire'
,
name
:
'implementCallbackQuestionnaireList'
,
component
:
ImplementCallbackQuestionnaireList
component
:
ImplementCallbackQuestionnaireList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/14'
,
name
:
'taxonomyTerm14List'
,
component
:
TaxonomyTerm14List
component
:
TaxonomyTerm14List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/contact-status'
,
name
:
'contactStatusList'
,
component
:
ContactStatusList
component
:
ContactStatusList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/11'
,
name
:
'taxonomyTerm11List'
,
component
:
TaxonomyTerm11List
component
:
TaxonomyTerm11List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/12'
,
name
:
'taxonomyTerm12List'
,
component
:
TaxonomyTerm12List
component
:
TaxonomyTerm12List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/1'
,
name
:
'taxonomyTerm1List'
,
component
:
TaxonomyTerm1List
component
:
TaxonomyTerm1List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/sales-goal'
,
name
:
'salesGoalList'
,
component
:
SalesGoalList
component
:
SalesGoalList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/9'
,
name
:
'taxonomyTerm9List'
,
component
:
TaxonomyTerm9List
component
:
TaxonomyTerm9List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/10'
,
name
:
'taxonomyTerm10List'
,
component
:
TaxonomyTerm10List
component
:
TaxonomyTerm10List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/taxonomy/term/13'
,
name
:
'taxonomyTerm13List'
,
component
:
TaxonomyTerm13List
component
:
TaxonomyTerm13List
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
},
{
path
:
'/setting/project-progress'
,
name
:
'projectProgressList'
,
component
:
ProjectProgressList
component
:
ProjectProgressList
,
meta
:
{
title
:
projectTitle
+
'系统设置'
}
}]
export
default
routes
src/routes/supplier.js
View file @
790120f3
import
SupplierHome
from
'../components/supplier_list/supplierHome'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/supplier'
,
name
:
'supplierHome'
,
component
:
SupplierHome
component
:
SupplierHome
,
meta
:
{
title
:
projectTitle
+
'供应商'
}
}]
export
default
routes
src/routes/task.js
View file @
790120f3
import
TaskHome
from
'../components/task_list/taskHome'
import
GroupHome
from
'../components/task_group_list/groupHome'
import
GroupView
from
'../components/task_group_list/groupView'
const
projectTitle
=
'金畅逍BMS - '
const
routes
=
[{
path
:
'/task'
,
name
:
'taskHome'
,
component
:
TaskHome
component
:
TaskHome
,
meta
:
{
title
:
projectTitle
+
'项目清单'
}
},
{
path
:
'/group'
,
name
:
'groupHome'
,
component
:
GroupHome
component
:
GroupHome
,
meta
:
{
title
:
projectTitle
+
'项目列表'
}
},
{
path
:
'/ofClient/:id'
,
name
:
'ofClient'
,
component
:
GroupView
component
:
GroupView
,
meta
:
{
title
:
projectTitle
+
'客户信息'
}
}]
export
default
routes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment