|
|
@@ -22,9 +22,7 @@
|
|
|
"
|
|
|
></span>
|
|
|
<span style="color: #00f6ff; font-size: 1vw" class="tiem">
|
|
|
- {{
|
|
|
- times
|
|
|
- }}
|
|
|
+ {{ times }}
|
|
|
</span>
|
|
|
<!-- <img class="liuxian" src="../assets/images/流线.gif" alt />
|
|
|
<img class="img-left" src="../assets/images/闪烁GIF-慢.gif" alt />-->
|
|
|
@@ -73,7 +71,11 @@
|
|
|
</li>
|
|
|
<li v-show="str.includes('工作安排') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="gongzuofun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="gongzuofun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/gz.png" alt />
|
|
|
<span class="tanhao" v-show="yuStatus1"></span>
|
|
|
</div>
|
|
|
@@ -84,7 +86,11 @@
|
|
|
</li>
|
|
|
<li v-show="str.includes('规章制度') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="guizhangfun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="guizhangfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/zd.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -94,7 +100,11 @@
|
|
|
</li>
|
|
|
<li v-show="str.includes('态势分析') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="taishifun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="taishifun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/fx.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -143,13 +153,16 @@
|
|
|
str.includes('安防监控') ||
|
|
|
str.includes('车行闸道') ||
|
|
|
str.includes('门岗管理') ||
|
|
|
- str.includes('门禁管理') ||
|
|
|
- str.includes('手机管理')
|
|
|
+ str.includes('门禁管理')
|
|
|
"
|
|
|
>
|
|
|
<li v-if="str.includes('战备值班') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="zhanbeifun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="zhanbeifun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/zb.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -159,7 +172,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('检查督导') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="jianchafun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="jianchafun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/jc.png" alt />
|
|
|
<span class="tanhao" v-show="yuStatus2"></span>
|
|
|
</div>
|
|
|
@@ -170,7 +187,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('人员进出') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="renyuanfun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="renyuanfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/ry.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -180,7 +201,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('安防监控') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="anfangfun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="anfangfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/af.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -190,7 +215,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('车行闸道') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="chexingfun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="chexingfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/ag.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -200,7 +229,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('门岗管理') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="mengangfun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="mengangfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/ag.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -223,16 +256,6 @@
|
|
|
<a href="#" class="a">门禁管理</a>
|
|
|
</div>
|
|
|
</li>
|
|
|
- <li v-if="str.includes('手机管理') || str.includes('admin')">
|
|
|
- <div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="zhinengfun" data-url="/diary?ref=addtabs">
|
|
|
- <img src="../assets/images/智能手机柜.png" alt class="phone" />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="demo-a">
|
|
|
- <a href="#" class="a">手机管理</a>
|
|
|
- </div>
|
|
|
- </li>
|
|
|
<img
|
|
|
src="../assets/images/椭圆 513 (2).png"
|
|
|
class="li-img"
|
|
|
@@ -245,8 +268,7 @@
|
|
|
str.includes('安防监控') ||
|
|
|
str.includes('车行闸道') ||
|
|
|
str.includes('门岗管理') ||
|
|
|
- str.includes('门禁管理') ||
|
|
|
- str.includes('手机管理')
|
|
|
+ str.includes('门禁管理')
|
|
|
"
|
|
|
/>
|
|
|
</ul>
|
|
|
@@ -255,35 +277,52 @@
|
|
|
class="ul"
|
|
|
v-if="
|
|
|
str.includes('admin') ||
|
|
|
+ str.includes('手机管理') ||
|
|
|
str.includes('安全风险预警') ||
|
|
|
- str.includes('门岗demo') ||
|
|
|
str.includes('思想政治') ||
|
|
|
str.includes('人力资源')
|
|
|
+ // || str.includes('门岗demo')
|
|
|
"
|
|
|
>
|
|
|
- <li v-if="str.includes('安全风险预警') || str.includes('admin')">
|
|
|
+ <li v-if="str.includes('手机管理') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="safetyfun" data-url="/diary?ref=addtabs">
|
|
|
- <img src="../images/sx.png" alt />
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="zhinengfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ src="../assets/images/智能手机柜.png"
|
|
|
+ alt
|
|
|
+ class="phone"
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="demo-a">
|
|
|
- <a href="#" class="a">安全风险预警</a>
|
|
|
+ <a href="#" class="a">手机管理</a>
|
|
|
</div>
|
|
|
</li>
|
|
|
- <li v-if="str.includes('门岗demo') || str.includes('admin')">
|
|
|
+ <li v-if="str.includes('安全风险预警') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="mengangdemofun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="safetyfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/sx.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="demo-a">
|
|
|
- <a href="#" class="a">门岗demo</a>
|
|
|
+ <a href="#" class="a">安全风险预警</a>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li v-if="str.includes('思想政治') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="sixiangfun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="sixiangfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/sx.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -293,7 +332,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('人力资源') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="renlifun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="renlifun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/rl.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -316,16 +359,31 @@
|
|
|
<a href="#" class="a">系统工具</a>
|
|
|
</div>
|
|
|
</li>
|
|
|
+ <!-- <li v-if="str.includes('门岗demo') || str.includes('admin')">-->
|
|
|
+ <!-- <div class="demo-box">-->
|
|
|
+ <!-- <div-->
|
|
|
+ <!-- class="demo active"-->
|
|
|
+ <!-- v-on:click="mengangdemofun"-->
|
|
|
+ <!-- data-url="/diary?ref=addtabs"-->
|
|
|
+ <!-- >-->
|
|
|
+ <!-- <img src="../images/sx.png" alt />-->
|
|
|
+ <!-- </div>-->
|
|
|
+ <!-- </div>-->
|
|
|
+ <!-- <div class="demo-a">-->
|
|
|
+ <!-- <a href="#" class="a">门岗demo</a>-->
|
|
|
+ <!-- </div>-->
|
|
|
+ <!-- </li>-->
|
|
|
<img
|
|
|
src="../assets/images/椭圆 513 (2).png"
|
|
|
class="li-img"
|
|
|
alt
|
|
|
v-if="
|
|
|
str.includes('admin') ||
|
|
|
+ str.includes('手机管理') ||
|
|
|
str.includes('安全风险预警') ||
|
|
|
- str.includes('门岗demo') ||
|
|
|
str.includes('思想政治') ||
|
|
|
str.includes('人力资源')
|
|
|
+ // ||str.includes('门岗demo')
|
|
|
"
|
|
|
/>
|
|
|
</ul>
|
|
|
@@ -343,7 +401,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('营房管理') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="yingfangfun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="yingfangfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/git.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -353,7 +415,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('库房管理') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="yingjufun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="yingjufun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/gl.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -363,7 +429,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('医疗卫生') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="yiliaofun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="yiliaofun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/yl.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -373,7 +443,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('涉密载体外借') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="baomifun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="baomifun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../assets/images/保密协议.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -383,7 +457,11 @@
|
|
|
</li>
|
|
|
<li v-if="str.includes('系统管理') || str.includes('admin')">
|
|
|
<div class="demo-box">
|
|
|
- <div class="demo active" v-on:click="xitongfun" data-url="/diary?ref=addtabs">
|
|
|
+ <div
|
|
|
+ class="demo active"
|
|
|
+ v-on:click="xitongfun"
|
|
|
+ data-url="/diary?ref=addtabs"
|
|
|
+ >
|
|
|
<img src="../images/xt1.png" alt />
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -398,7 +476,9 @@
|
|
|
<div class="num1">
|
|
|
<div class="num2">
|
|
|
<img src="../images/db.png" alt />
|
|
|
- <span style="font-family: siyuanbold; font-size: 15.5px">待办事项</span>
|
|
|
+ <span style="font-family: siyuanbold; font-size: 15.5px"
|
|
|
+ >待办事项</span
|
|
|
+ >
|
|
|
</div>
|
|
|
<ul class="num1-ul">
|
|
|
<div class="num2-ul-title">
|
|
|
@@ -406,9 +486,16 @@
|
|
|
<div class="num2-ul-title-c">优先级</div>
|
|
|
<div class="num2-ul-title-r">执行人</div>
|
|
|
</div>
|
|
|
- <li class="num2-ul-li" v-for="item in worklist" :key="item.id" @click="dbsxfun">
|
|
|
+ <li
|
|
|
+ class="num2-ul-li"
|
|
|
+ v-for="item in worklist"
|
|
|
+ :key="item.id"
|
|
|
+ @click="dbsxfun"
|
|
|
+ >
|
|
|
<div class="num2-ul-li-l">{{ item.workName }}</div>
|
|
|
- <div class="num2-ul-li-c" v-if="item.workPriority == 0">紧急</div>
|
|
|
+ <div class="num2-ul-li-c" v-if="item.workPriority == 0">
|
|
|
+ 紧急
|
|
|
+ </div>
|
|
|
<div class="num2-ul-li-c" v-if="item.workPriority == 1">高</div>
|
|
|
<div class="num2-ul-li-c" v-if="item.workPriority == 2">中</div>
|
|
|
<div class="num2-ul-li-c" v-if="item.workPriority == 3">低</div>
|
|
|
@@ -419,7 +506,9 @@
|
|
|
<div class="num1">
|
|
|
<div class="num2">
|
|
|
<img src="../assets/images/通知公告.png" alt />
|
|
|
- <span style="font-family: siyuanbold; font-size: 15.5px">通知公告</span>
|
|
|
+ <span style="font-family: siyuanbold; font-size: 15.5px"
|
|
|
+ >通知公告</span
|
|
|
+ >
|
|
|
</div>
|
|
|
<div class="addspan" @click="tiaddfun">查看更多</div>
|
|
|
<div class="num1-box">
|
|
|
@@ -437,12 +526,21 @@
|
|
|
font-weight: 400;
|
|
|
margin-right: 10px;
|
|
|
"
|
|
|
- >[ {{ item.createTime }} ]</span>
|
|
|
+ >[ {{ item.createTime }} ]</span
|
|
|
+ >
|
|
|
{{ item.noticeTitle }}
|
|
|
</div>
|
|
|
<div class="num1-box-r">
|
|
|
- <img src="../assets/images/通知.png" v-if="item.start == 1" alt />
|
|
|
- <img src="../assets/images/通知 拷贝 3.png" v-if="item.start == 0" alt />
|
|
|
+ <img
|
|
|
+ src="../assets/images/通知.png"
|
|
|
+ v-if="item.start == 1"
|
|
|
+ alt
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ src="../assets/images/通知 拷贝 3.png"
|
|
|
+ v-if="item.start == 0"
|
|
|
+ alt
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -587,7 +685,12 @@
|
|
|
<button @click="cancel" style="width:55px;height:25px;margin-left:10px;" >取 消</button>
|
|
|
</div>
|
|
|
</el-dialog>-->
|
|
|
- <el-dialog title="查看通知公告" :visible.sync="open5" width="800px" append-to-body>
|
|
|
+ <el-dialog
|
|
|
+ title="查看通知公告"
|
|
|
+ :visible.sync="open5"
|
|
|
+ width="800px"
|
|
|
+ append-to-body
|
|
|
+ >
|
|
|
<div class="jiben">基本信息</div>
|
|
|
<el-form ref="form" :model="form" :rules="rules" :inline="true">
|
|
|
<el-row>
|
|
|
@@ -604,13 +707,14 @@
|
|
|
>
|
|
|
公告标题:
|
|
|
<span style="margin-left: 10px; fontsize: 14px">
|
|
|
- {{
|
|
|
- form.noticeTitle
|
|
|
- }}
|
|
|
+ {{ form.noticeTitle }}
|
|
|
</span>
|
|
|
</p>
|
|
|
<el-form-item label="公告标题" v-if="ggflg" prop="noticeTitle">
|
|
|
- <el-input v-model="form.noticeTitle" placeholder="请输入公告标题" />
|
|
|
+ <el-input
|
|
|
+ v-model="form.noticeTitle"
|
|
|
+ placeholder="请输入公告标题"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
<!-- <el-form-item label="公告标题" prop="noticeTitle">
|
|
|
<el-input
|
|
|
@@ -633,7 +737,11 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" style="margin-top: 15px; margin-bottom: 10px" v-if="ggflg">
|
|
|
+ <el-col
|
|
|
+ :span="24"
|
|
|
+ style="margin-top: 15px; margin-bottom: 10px"
|
|
|
+ v-if="ggflg"
|
|
|
+ >
|
|
|
<el-form-item label="状态">
|
|
|
<el-radio-group v-model="form.status">
|
|
|
<el-radio
|
|
|
@@ -641,7 +749,8 @@
|
|
|
:key="dict.value"
|
|
|
:label="dict.value"
|
|
|
style="margin-right: 20px"
|
|
|
- >{{ dict.label }}</el-radio>
|
|
|
+ >{{ dict.label }}</el-radio
|
|
|
+ >
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -649,7 +758,11 @@
|
|
|
<el-row style="margin-top: 10px">
|
|
|
<el-col :span="12" v-if="!ggflg">
|
|
|
<el-form-item label="发布人" prop="createBy" label-width="0">
|
|
|
- <el-input v-model="form.createBy" disabled placeholder="请输入发布人" />
|
|
|
+ <el-input
|
|
|
+ v-model="form.createBy"
|
|
|
+ disabled
|
|
|
+ placeholder="请输入发布人"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12" v-if="!ggflg">
|
|
|
@@ -669,15 +782,25 @@
|
|
|
line-height: 30px;
|
|
|
text-align: center;
|
|
|
"
|
|
|
- >下载附件</a>
|
|
|
+ >下载附件</a
|
|
|
+ >
|
|
|
<!-- <fileUpload v-model="form.filename" class="m-l-20" /> -->
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<div class="jiben">内容</div>
|
|
|
<el-col :span="24">
|
|
|
- <el-form-item label prop="remark" class="textareas" style="width: 100%">
|
|
|
- <el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
|
|
+ <el-form-item
|
|
|
+ label
|
|
|
+ prop="remark"
|
|
|
+ class="textareas"
|
|
|
+ style="width: 100%"
|
|
|
+ >
|
|
|
+ <el-input
|
|
|
+ v-model="form.remark"
|
|
|
+ type="textarea"
|
|
|
+ placeholder="请输入内容"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-form>
|
|
|
@@ -693,7 +816,7 @@ import {
|
|
|
printTrigger,
|
|
|
printTriggerClear,
|
|
|
printPeople,
|
|
|
- printEachTrigger
|
|
|
+ printEachTrigger,
|
|
|
} from "@/api/PrintsManage/manage";
|
|
|
import {
|
|
|
workEachTrigger,
|
|
|
@@ -706,7 +829,7 @@ import {
|
|
|
noReminder,
|
|
|
remindPrint,
|
|
|
syTaskView,
|
|
|
- getInfoD
|
|
|
+ getInfoD,
|
|
|
} from "@/api/pt";
|
|
|
import { getUserProfile } from "@/api/system/user";
|
|
|
import Cookies from "js-cookie";
|
|
|
@@ -733,11 +856,11 @@ export default {
|
|
|
url: process.env.VUE_APP_BASE_API,
|
|
|
rules: {
|
|
|
noticeTitle: [
|
|
|
- { required: true, message: "公告标题不能为空", trigger: "blur" }
|
|
|
+ { required: true, message: "公告标题不能为空", trigger: "blur" },
|
|
|
],
|
|
|
noticeType: [
|
|
|
- { required: true, message: "公告类型不能为空", trigger: "change" }
|
|
|
- ]
|
|
|
+ { required: true, message: "公告类型不能为空", trigger: "change" },
|
|
|
+ ],
|
|
|
},
|
|
|
// 表单参数
|
|
|
form: {},
|
|
|
@@ -757,7 +880,7 @@ export default {
|
|
|
open6: false,
|
|
|
open7: false,
|
|
|
opentitel7: null,
|
|
|
- opentitel: null
|
|
|
+ opentitel: null,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -768,11 +891,11 @@ export default {
|
|
|
this.startTime2();
|
|
|
this.xianShang();
|
|
|
this.getTiXing();
|
|
|
- getNone().then(res => {
|
|
|
+ getNone().then((res) => {
|
|
|
console.log("getNone", res);
|
|
|
this.str = res.msg;
|
|
|
});
|
|
|
- noReminder().then(res => {
|
|
|
+ noReminder().then((res) => {
|
|
|
if (res.data[0] != 0) {
|
|
|
this.yuStatus = true;
|
|
|
}
|
|
|
@@ -794,8 +917,8 @@ export default {
|
|
|
methods: {
|
|
|
// 获取提示信息
|
|
|
getTiXing() {
|
|
|
- remindPrint().then(res => {
|
|
|
- console.log("getTiXing", res)
|
|
|
+ remindPrint().then((res) => {
|
|
|
+ console.log("getTiXing", res);
|
|
|
this.opentitel = res.msg;
|
|
|
if (res.num == 0) {
|
|
|
this.open6 = false;
|
|
|
@@ -815,7 +938,7 @@ export default {
|
|
|
this.$confirm("确定注销并退出系统吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
+ type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
|
this.$store.dispatch("LogOut").then(() => {
|
|
|
@@ -840,7 +963,7 @@ export default {
|
|
|
},
|
|
|
// 获取登录信息
|
|
|
getUser() {
|
|
|
- getUserProfile().then(response => {
|
|
|
+ getUserProfile().then((response) => {
|
|
|
console.log("getUserProfile", response);
|
|
|
this.user = response.data;
|
|
|
this.danWie = response.data.dept.deptName;
|
|
|
@@ -848,10 +971,10 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getlist() {
|
|
|
- listNotice().then(res => {
|
|
|
+ listNotice().then((res) => {
|
|
|
this.noticeList = res.data;
|
|
|
|
|
|
- this.noticeList.forEach(item => {
|
|
|
+ this.noticeList.forEach((item) => {
|
|
|
// var newDate=/\d{4}-\d{1,2}-\d{1,2}/g.exec(item.createTime)
|
|
|
var a = item.createTime.substring(0, 10).split("-");
|
|
|
return (item.createTime = a[0] + "-" + a[1] + "-" + a[2]);
|
|
|
@@ -860,7 +983,7 @@ export default {
|
|
|
},
|
|
|
// 获取代办事项
|
|
|
getworklist() {
|
|
|
- syTaskView().then(res => {
|
|
|
+ syTaskView().then((res) => {
|
|
|
this.worklist = res.rows;
|
|
|
});
|
|
|
},
|
|
|
@@ -871,7 +994,7 @@ export default {
|
|
|
noticeTitle: undefined,
|
|
|
noticeType: undefined,
|
|
|
noticeContent: undefined,
|
|
|
- status: "0"
|
|
|
+ status: "0",
|
|
|
};
|
|
|
this.resetForm("form");
|
|
|
},
|
|
|
@@ -1045,30 +1168,30 @@ export default {
|
|
|
},
|
|
|
showfun() {
|
|
|
this.open = false;
|
|
|
- printTriggerClear().then(res => {});
|
|
|
+ printTriggerClear().then((res) => {});
|
|
|
},
|
|
|
showfun2() {
|
|
|
this.open2 = false;
|
|
|
- printTriggerClear().then(res => {});
|
|
|
+ printTriggerClear().then((res) => {});
|
|
|
},
|
|
|
showfun3() {
|
|
|
this.open3 = false;
|
|
|
- printTriggerClear().then(res => {});
|
|
|
+ printTriggerClear().then((res) => {});
|
|
|
},
|
|
|
showfun4() {
|
|
|
this.open4 = false;
|
|
|
- printTriggerClear().then(res => {});
|
|
|
+ printTriggerClear().then((res) => {});
|
|
|
},
|
|
|
showfun5() {
|
|
|
this.open6 = false;
|
|
|
- printTriggerClear().then(res => {});
|
|
|
+ printTriggerClear().then((res) => {});
|
|
|
},
|
|
|
showfun7() {
|
|
|
this.open7 = false;
|
|
|
- printTriggerClear().then(res => {});
|
|
|
+ printTriggerClear().then((res) => {});
|
|
|
},
|
|
|
quchulifun() {
|
|
|
- printTriggerClear().then(res => {
|
|
|
+ printTriggerClear().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.open = true;
|
|
|
window.open(`/print/manage`, "_self");
|
|
|
@@ -1076,7 +1199,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
quchulifun2() {
|
|
|
- printTriggerClear().then(res => {
|
|
|
+ printTriggerClear().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.open = false;
|
|
|
window.open(`/print/manage`, "_self");
|
|
|
@@ -1084,7 +1207,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
quchulifun3() {
|
|
|
- printTriggerClear().then(res => {
|
|
|
+ printTriggerClear().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.open3 = false;
|
|
|
window.open(`/#/workingArrangements/workTask`, "_self");
|
|
|
@@ -1092,7 +1215,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
quchulifun4() {
|
|
|
- printTriggerClear().then(res => {
|
|
|
+ printTriggerClear().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.open4 = false;
|
|
|
window.open(`/#/workingArrangements/planTask`, "_self");
|
|
|
@@ -1101,14 +1224,14 @@ export default {
|
|
|
},
|
|
|
quchulifun5() {
|
|
|
Cookies.set("tixing", "false");
|
|
|
- printTriggerClear().then(res => {
|
|
|
+ printTriggerClear().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
window.open(`/#/print/printlog`, "_self");
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
quchulifun7() {
|
|
|
- printTriggerClear().then(res => {
|
|
|
+ printTriggerClear().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
window.open(`/#/barracksManagement/repair`, "_self");
|
|
|
}
|
|
|
@@ -1126,7 +1249,7 @@ export default {
|
|
|
// }
|
|
|
// }
|
|
|
// });
|
|
|
- printEachTrigger().then(res => {
|
|
|
+ printEachTrigger().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
if (res.print == "printUserInfo") {
|
|
|
var sendId = Cookies.get("userId");
|
|
|
@@ -1139,7 +1262,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- workEachTrigger().then(res => {
|
|
|
+ workEachTrigger().then((res) => {
|
|
|
var sendId = Cookies.get("userId");
|
|
|
if (res.code == 200) {
|
|
|
if (res.workEach != 0) {
|
|
|
@@ -1150,7 +1273,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- workTrigger().then(res => {
|
|
|
+ workTrigger().then((res) => {
|
|
|
// var sendId = Cookies.get("userId");
|
|
|
if (res.code == 200) {
|
|
|
if (res.workRequest != 0) {
|
|
|
@@ -1159,7 +1282,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- getInfoD().then(res => {
|
|
|
+ getInfoD().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
if (res.data != 0) {
|
|
|
this.opentitel7 = res.data;
|
|
|
@@ -1201,8 +1324,8 @@ export default {
|
|
|
updateNotice({
|
|
|
noticeId: item.noticeId,
|
|
|
start: 1,
|
|
|
- noticeTitle: item.noticeTitle
|
|
|
- }).then(res => {
|
|
|
+ noticeTitle: item.noticeTitle,
|
|
|
+ }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.getlist();
|
|
|
}
|
|
|
@@ -1214,14 +1337,14 @@ export default {
|
|
|
this.$router
|
|
|
.push({ path: "/workingArrangements/workCalendar" })
|
|
|
.catch(() => {});
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
destroyed() {
|
|
|
clearInterval(this.timer); // 清除定时器
|
|
|
this.timer = null;
|
|
|
clearInterval(this.timer2); // 清除定时器
|
|
|
this.timer2 = null;
|
|
|
- }
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|