开发的功能模块有:
1.报修工单提交:学生、教职员工等可以使用小程序提交报修请求。这通常包括选择报修的问题类型(如水漏、电器故障、照明问题等),地点,报修联系人,联系电话等,并提供详细的问题描述,并可以上传相关问题的照片,以便维修人员更好地理解问题的严重程度和性质。
2.报修工单状态跟踪:用户可以随时查看他们的报修请求的状态,分为待派工,已派工待处理,处理中,已完成四种状态,已完成的工单用户可以进行平路,提供关于维修服务质量的反馈,帮助学校不断改进服务。
3.维修工作人员分派:管理员可以将报修请求分配给工作人员,以确保问题得到及时处理。 工作人员接受派单后可以将处理过程和处理结果的相关信息和相关图片录入系统,方便用户查看
4.维修历史:用户可以查看他们之前的报修请求和解决方案,以便了解问题的重复性和历史。
5.维修任务调度,工作人员有独立的后台,可以使用小程序来查看分配给他们的任务,并报告任务的状态和进展。
- 后台系统也可以主动录入需要维修的工作任何,并指派给相关工作人员
前端小程序界面展示:
部分代码披露、展示
php
{
"usingComponents": {
},
"navigationBarBackgroundColor": "#1C9399",
"navigationBarTextStyle": "white",
"disableScroll": true,
"navigationBarTitleText": "报修工单处理"
}
javascript
const TASK_TYPE = ['桌椅维修', '灯管维修', '门锁维修', '水电维修', '设备维修', '家具维修', '室外维修', '室内维修', '其他'];
module.exports = { //报修 repair
PROJECT_COLOR: '#0055BE',
NAV_COLOR: '#ffffff',
NAV_BG: '#0055BE',
// setup
SETUP_CONTENT_ITEMS: [
{ title: '关于我们', key: 'SETUP_CONTENT_ABOUT' },
],
// 用户
USER_REG_CHECK: false,
USER_FIELDS: [
],
NEWS_NAME: '通知公告',
NEWS_CATE: [
{ id: 1, title: '通知公告', style: 'leftbig1' },
],
NEWS_FIELDS: [],
TASK_NAME: '报修',
TASK_TYPE: TASK_TYPE,
TASK_FIELDS: [
{ mark: 'type', title: '报修类型', type: 'select', selectOptions: TASK_TYPE, must: true },
{ mark: 'person', title: '联系人', type: 'text', must: true },
{ mark: 'phone', title: '联系电话', type: 'text', must: true },
{ mark: 'address', title: '报修地点', type: 'textarea', must: true },
{ mark: 'desc', title: '报修详情', type: 'textarea', must: true },
{ mark: 'img', type: 'image', title: '相关图片', max: 8 },
],
TASK_RUN_FIELDS: [
{ mark: 'content', title: '情况说明', type: 'textarea', must: false },
{ mark: 'img', type: 'image', title: '相关图片', max: 8 },
],
TASK_OVER_FIELDS: [
{ mark: 'content', title: '完成情况说明', type: 'textarea', must: true },
{ mark: 'img', type: 'image', title: '相关图片', max: 8, must: true },
],
TASK_COMMENT_FIELDS: [
{ mark: 'content', title: '评价内容', type: 'textarea', must: true },
{ mark: 'img', type: 'image', title: '相关图片', max: 8 },
],
MEMBER_NAME: '工作人员',
MEMBER_CATE: [
{ id: 1, title: '客服部' },
{ id: 2, title: '安保部' },
{ id: 3, title: '保洁部' },
{ id: 4, title: '维修部' },
{ id: 5, title: '工程部' },
],
MEMBER_FIELDS: [
{ mark: 'phone', title: '服务电话', type: 'text', ext: { hint: '用于展示给报修用户' }, must: false },
{ mark: 'img', type: 'image', title: '头像', max: 1 },
],
}
javascript
{
"pages": [
"projects/repair/pages/default/index/default_index",
"projects/repair/pages/news/index/news_index",
"projects/repair/pages/about/index/about_index",
"projects/repair/pages/search/search",
"projects/repair/pages/my/index/my_index",
"projects/repair/pages/my/reg/my_reg",
"projects/repair/pages/my/edit/my_edit",
"projects/repair/pages/my/foot/my_foot",
"projects/repair/pages/my/fav/my_fav",
"projects/repair/pages/news/detail/news_detail",
"projects/repair/pages/admin/news/list/admin_news_list",
"projects/repair/pages/admin/news/add/admin_news_add",
"projects/repair/pages/admin/news/edit/admin_news_edit",
"projects/repair/pages/admin/setup/about/admin_setup_about",
"projects/repair/pages/admin/setup/about_list/admin_setup_about_list",
"projects/repair/pages/admin/setup/qr/admin_setup_qr",
"projects/repair/pages/admin/index/home/admin_home",
"projects/repair/pages/admin/index/login/admin_login",
"projects/repair/pages/admin/content/admin_content",
"projects/repair/pages/admin/mgr/log/admin_log_list",
"projects/repair/pages/admin/mgr/edit/admin_mgr_edit",
"projects/repair/pages/admin/mgr/list/admin_mgr_list",
"projects/repair/pages/admin/mgr/add/admin_mgr_add",
"projects/repair/pages/admin/mgr/pwd/admin_mgr_pwd",
"projects/repair/pages/admin/user/list/admin_user_list",
"projects/repair/pages/admin/user/detail/admin_user_detail",
"projects/repair/pages/admin/user/export/admin_user_export",
"projects/repair/pages/task/add/task_add",
"projects/repair/pages/task/my_list/task_my_list",
"projects/repair/pages/task/edit/task_edit",
"projects/repair/pages/admin/task/list/admin_task_list",
"projects/repair/pages/admin/task/detail/admin_task_detail",
"projects/repair/pages/admin/task/export/admin_task_export",
"projects/repair/pages/admin/member/list/admin_member_list",
"projects/repair/pages/admin/member/add/admin_member_add",
"projects/repair/pages/admin/member/edit/admin_member_edit",
"projects/repair/pages/work/index/home/work_home",
"projects/repair/pages/work/index/login/work_login",
"projects/repair/pages/work/index/pwd/work_pwd",
"projects/repair/pages/work/task/list/work_task_list",
"projects/repair/pages/work/task/run/work_task_run",
"projects/repair/pages/work/task/detail/work_task_detail",
"projects/repair/pages/work/task/over/work_task_over",
"projects/repair/pages/admin/task/add/admin_task_add",
"projects/repair/pages/admin/task/edit/admin_task_edit",
"projects/repair/pages/task/comment/task_comment",
"cmpts/public/form/form_set/field/form_set_field",
"cmpts/public/form/form_show/content/form_show_content",
"pages/test1/test1"
],
"window": {
"backgroundColor": "#f1f1f1",
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#0055BE",
"navigationBarTitleText": "校园报修小程序",
"navigationBarTextStyle": "white"
},
"tabBar": {
"custom": false,
"backgroundColor": "#FFFFFF",
"color": "#999999",
"selectedColor": "#0055BE",
"list": [
{
"pagePath": "projects/repair/pages/default/index/default_index",
"text": "首页",
"iconPath": "/projects/repair/images/tabbar/home.png",
"selectedIconPath": "/projects/repair/images/tabbar/home_cur.png"
},
{
"pagePath": "projects/repair/pages/news/index/news_index",
"text": "通知公告",
"iconPath": "/projects/repair/images/tabbar/news.png",
"selectedIconPath": "/projects/repair/images/tabbar/news_cur.png"
},
{
"pagePath": "projects/repair/pages/task/add/task_add",
"text": "我要报修",
"iconPath": "/projects/repair/images/tabbar/add.png",
"selectedIconPath": "/projects/repair/images/tabbar/add_cur.png"
},
{
"pagePath": "projects/repair/pages/task/my_list/task_my_list",
"text": "我的工单",
"iconPath": "/projects/repair/images/tabbar/task.png",
"selectedIconPath": "/projects/repair/images/tabbar/task_cur.png"
},
{
"pagePath": "projects/repair/pages/my/index/my_index",
"text": "我的",
"iconPath": "/projects/repair/images/tabbar/my.png",
"selectedIconPath": "/projects/repair/images/tabbar/my_cur.png"
}
]
},
"permission": {
"scope.userLocation": {
"desc": "获取你当前位置信息用于小程序位置接口的效果展示"
}
},
"usingComponents": {
"cmpt-comm-list": "/cmpts/public/list/comm_list_cmpt",
"cmpt-picker": "/cmpts/public/picker/picker_cmpt",
"cmpt-modal": "/cmpts/public/modal/modal_cmpt"
},
"sitemapLocation": "sitemap.json"
}
后台部分功能界面展示: