Commit b0ca57a1 authored by 王向前's avatar 王向前

添加工作日报

parent 7ff80de5
...@@ -108,6 +108,13 @@ const routes = [ ...@@ -108,6 +108,13 @@ const routes = [
title: '工作日报详情', title: '工作日报详情',
}, },
}, },
{
path: '/pages/kqgl/work/work',
name: 'kqgl-work',
meta: {
title: '工作日报',
},
},
......
...@@ -8,7 +8,7 @@ export default [ ...@@ -8,7 +8,7 @@ export default [
mkid: '1804020200', mkid: '1804020200',
mkmc: '工作日报', mkmc: '工作日报',
image: '/static/icon/oa/gzrb.png', image: '/static/icon/oa/gzrb.png',
page: 'kqgl-gzrb' page: 'kqgl-work'
} }
] ]
} }
......
/**
* 常用服务
* useful server
*/
const icon_prefix="/static/home/128/"
const icon_xm="/static/xmtb/"
/**
* other server 其他服务
*/
export const epQusetions ={
moudles:[
{id:"HYJY",name:"会议决议",icon:"cuIcon-friend" ,color:"#00aaff",wtsl:0,},
{id:"SCWT",name:"市场反馈",icon:"cuIcon-pic",color:"orange",wtsl:0},
{id:"GSWT",name:"公司反馈",icon:"cuIcon-service",color:"#d3b100",wtsl:0},
{id:"GZXJ",name:"工作巡检",icon:"cuIcon-record",color:"#cd5cb1",wtsl:0},
{id:"FCSH",name:"分层审核",icon:"cuIcon-album",color:"#00aa00",wtsl:0},
{id:"TXGL",name:"体系管理审核",icon:"cuIcon-taoxiaopu",color:"#0081ff",wtsl:0},
{id:"KHSH",name:"客户审核",icon:"cuIcon-calendar",color:"#0081ff",wtsl:0},
{id:"GZZP",name:"工作指派",icon:"cuIcon-post",color:"#57ccce",wtsl:0},
{id:"ZYJY",name:"第三方专业建议",icon:"cuIcon-copy",color:"#215d7e",wtsl:0},
{id:"TAGS",name:"提案改善",icon:"cuIcon-skin",color:"#ff5500",wtsl:0},
{id:"MBGL",name:"目标管理",icon:"cuIcon-skin",color:"#ff5500",wtsl:0},
],
loveList:{
HYJY:{id:"HYJY",name:"会议决议",icon:"cuIcon-friend" ,color:"#00aaff",wtsl:0,},
SCWT:{id:"SCWT",name:"市场反馈",icon:"cuIcon-pic",color:"orange",wtsl:0},
GSWT:{id:"GSWT",name:"公司反馈",icon:"cuIcon-service",color:"#d3b100",wtsl:0},
GZXJ:{id:"GZXJ",name:"工作巡检",icon:"cuIcon-record",color:"#cd5cb1",wtsl:0},
FCSH:{id:"FCSH",name:"分层审核",icon:"cuIcon-album",color:"#00aa00",wtsl:0},
TXGL:{id:"TXGL",name:"体系管理审核",icon:"cuIcon-taoxiaopu",color:"#0081ff",wtsl:0},
KHSH:{id:"KHSH",name:"客户审核",icon:"cuIcon-calendar",color:"#0081ff",wtsl:0},
GZZP:{id:"GZZP",name:"工作指派",icon:"cuIcon-post",color:"#57ccce",wtsl:0},
ZYJY:{id:"ZYJY",name:"第三方专业建议",icon:"cuIcon-copy",color:"#215d7e",wtsl:0},
TAGS:{id:"TAGS",name:"提案改善",icon:"cuIcon-skin",color:"#ff5500",wtsl:0},
MBGL:{id:"MBGL",name:"目标管理",icon:"cuIcon-skin",color:"#aaaaff",wtsl:0},
},
types:[
{title:"效率",id:"1"},
{title:"质量",id:"2"},
{title:"成本",id:"3"},
{title:"安全",id:"4"},
// {title:"能力发展",id:"5"},
{title:"市场",id:"6"},
{title:"产品开发",id:"7"},
{title:"财务",id:"8"},
{title:"其它",id:"9"}
],
level:[
{title:"重要紧急",id:"1",bgColor:"#ff5500"},
{title:"重要不紧急",id:"2",bgColor:"#7a87eb"},
{title:"紧急不重要",id:"3",bgColor:"#ffa500"},
{title:"不重要,不紧急",id:"4",bgColor:"#91d3b5"},
],
levels:[
{title:"重要紧急",id:"1",bgColor:"#ff5500"},
{title:"重要不紧急",id:"2",bgColor:"#7a87eb"},
{title:"紧急不重要",id:"3",bgColor:"#ffa500"},
{title:"不重要,不紧急",id:"4",bgColor:"#91d3b5"},
],
csfs:{
"L":"领取","F":"分配","B":"驳回"
},
dfdxlx:{"USER":"用户","BM":"部门"},
gzjd:{
"JH":"计划",
"SS":"实施",
"YZ":"策略稳定验证",
"WC":"完成",
"BZH":"评估",
},
wccgObject:{
"Y":"完成",
"N":"处理失败",
"E":"逾期完成"
},
gzzt:{
"I":"待领取",
"P":"待执行",
"D":"执行中",
"BZH":"评估",
"PGZC":"评估仲裁",
// "S":"作废",
"E":"逾期",
"C":"完成"
}
}
\ No newline at end of file
...@@ -332,4 +332,5 @@ ...@@ -332,4 +332,5 @@
color: #666666; color: #666666;
font-size: 12px; font-size: 12px;
} }
.wid100{width: 100%};
</style> </style>
...@@ -65,6 +65,13 @@ ...@@ -65,6 +65,13 @@
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
},
{
"path" : "pages/kqgl/work/work",
"style" :
{
"navigationBarTitleText" : ""
}
} }
......
<template> <template>
<view> <view class="bg-white">
<interfacepage :cur="PageCur" v-if="PageCur=='index'" :key="commponent1Key"></interfacepage> <interfacepage :cur="PageCur" v-if="PageCur=='index'" :key="commponent1Key"></interfacepage>
<people v-if="PageCur=='people'" :key="commponent2Key"></people> <people v-if="PageCur=='people'" :key="commponent2Key"></people>
<view class="cu-bar tabbar bg-white shadow foot"> <view class="cu-bar tabbar bg-white shadow foot">
<view :class="PageCur=='index'?'action text-green':'action text-gray'" @click="NavChange" data-cur="index"> <view :class="PageCur=='index'?'action text-blue':'action text-black'" @click="NavChange" data-cur="index">
<view class='cuIcon-homefill'></view>主页 <view :class="PageCur=='index'?'cuIcon-circlefill':'cuIcon-apps'"></view>工作台
</view> </view>
<view :class="PageCur=='people'?'action text-green':'action text-gray'" @click="NavChange" data-cur="people"> <view :class="PageCur=='people'?'action text-blue':'action text-black'" @click="NavChange" data-cur="people">
<view class='cuIcon-people'></view>个人 <view :class="PageCur=='people'?'cuIcon-peoplefill':'cuIcon-people'"></view>个人
</view> </view>
</view> </view>
</view> </view>
...@@ -37,5 +37,8 @@ ...@@ -37,5 +37,8 @@
</script> </script>
<style> <style>
page{
background: white;
}
</style> </style>
<template name="interfacepage"> <template name="interfacepage">
<view> <view class="bg-white">
<cu-custom bgColor="bg-gradual-blue"> <cu-custom bgColor="bg-blue">
<block slot="content">首页</block> <block slot="content">工作台</block>
</cu-custom> </cu-custom>
<scroll-view> <scroll-view>
<!-- 渲染列表 --> <!-- 渲染列表 -->
<view class="padding-sm" v-for="(item) in showList" :key="item.mkid"> <view class="padding-sm" v-for="(item) in showList" :key="item.mkid">
<view class="cu-bar bg-white solid-bottom"> <view class="title padding-tb-sm padding-left-sm border-bottom text-gray" style="font-size: 12px;">
<view class="action text-bold"> {{item.mkmc}}
<text class='cuIcon-title text-blue'></text>{{item.mkmc}} </view>
</view>
</view>
<view class="grid col-4 bg-white"> <view class="grid col-4 bg-white">
<view class="padding-sm" v-for="(citem,cindex) in item.children" :key="cindex" <view class="padding-sm" v-for="(citem,cindex) in item.children" :key="cindex"
@tap="goPage(citem.page,citem.index)"> @tap="goPage(citem.page,citem.index)">
...@@ -19,7 +17,7 @@ ...@@ -19,7 +17,7 @@
:style="{background: 'url('+ citem.image + ') no-repeat',backgroundSize:'56upx 56upx'}"> :style="{background: 'url('+ citem.image + ') no-repeat',backgroundSize:'56upx 56upx'}">
<view class="cu-tag badge" v-if="getTtemDotInfo(item)">{{getTtemDotInfo(item)}}</view> <view class="cu-tag badge" v-if="getTtemDotInfo(item)">{{getTtemDotInfo(item)}}</view>
</view> </view>
<view class="text-lg margin-top">{{citem.mkmc}}</view> <view class="margin-top-xs text-sm text-black">{{citem.mkmc}}</view>
</view> </view>
</view> </view>
</view> </view>
......
<template> <template>
<view class="bg-white"> <view class="bg-white">
<cu-custom bgColor="bg-gradual-blue" :isBack="true"> <cu-custom bgColor="bg-blue" :isBack="true">
<block slot="backText">返回</block> <block slot="backText">返回</block>
<block slot="content">{{$Route.meta.title}}</block> <block slot="content">{{$Route.meta.title}}</block>
<template #right> <template #right>
......
This diff is collapsed.
...@@ -3438,7 +3438,7 @@ scroll-view.cu-steps .cu-item { ...@@ -3438,7 +3438,7 @@ scroll-view.cu-steps .cu-item {
} }
.bg-blue { .bg-blue {
background-color: #0081ff; background-color: #5697f3;
color: #ffffff; color: #ffffff;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment