|
@@ -21,11 +21,13 @@
|
|
|
top: 8px;
|
|
|
"
|
|
|
></span>
|
|
|
- <span style="color: #00f6ff; font-size: 1vw" class="tiem">{{
|
|
|
+ <span style="color: #00f6ff; font-size: 1vw" class="tiem">
|
|
|
+ {{
|
|
|
times
|
|
|
- }}</span>
|
|
|
+ }}
|
|
|
+ </span>
|
|
|
<!-- <img class="liuxian" src="../assets/images/流线.gif" alt />
|
|
|
- <img class="img-left" src="../assets/images/闪烁GIF-慢.gif" alt /> -->
|
|
|
+ <img class="img-left" src="../assets/images/闪烁GIF-慢.gif" alt />-->
|
|
|
</div>
|
|
|
<!-- 主体区域 -->
|
|
|
<div class="centen">
|
|
@@ -71,11 +73,7 @@
|
|
|
</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>
|
|
@@ -86,11 +84,7 @@
|
|
|
</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>
|
|
@@ -100,11 +94,7 @@
|
|
|
</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>
|
|
@@ -158,11 +148,7 @@
|
|
|
>
|
|
|
<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>
|
|
@@ -172,11 +158,7 @@
|
|
|
</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>
|
|
@@ -187,11 +169,7 @@
|
|
|
</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>
|
|
@@ -201,11 +179,7 @@
|
|
|
</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>
|
|
@@ -215,11 +189,7 @@
|
|
|
</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>
|
|
@@ -244,16 +214,8 @@
|
|
|
</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 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">
|
|
@@ -287,11 +249,7 @@
|
|
|
>
|
|
|
<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>
|
|
@@ -301,11 +259,7 @@
|
|
|
</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>
|
|
@@ -353,11 +307,7 @@
|
|
|
</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>
|
|
@@ -367,11 +317,7 @@
|
|
|
</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>
|
|
@@ -381,11 +327,7 @@
|
|
|
</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>
|
|
@@ -395,11 +337,7 @@
|
|
|
</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>
|
|
@@ -409,11 +347,7 @@
|
|
|
</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>
|
|
@@ -428,9 +362,7 @@
|
|
|
<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">
|
|
@@ -438,16 +370,9 @@
|
|
|
<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>
|
|
@@ -458,9 +383,7 @@
|
|
|
<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">
|
|
@@ -478,21 +401,12 @@
|
|
|
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>
|
|
@@ -601,6 +515,26 @@
|
|
|
<button @click="quchulifun5">去处理</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="tkbox4" v-if="open7">
|
|
|
+ <div class="tkbox-title">
|
|
|
+ <div class="tkbox-title-left">
|
|
|
+ <img src="../assets/images/八一.png" alt />
|
|
|
+ <span>重要消息</span>
|
|
|
+ </div>
|
|
|
+ <div class="tkbox-title-right">
|
|
|
+ <img src="../assets/images/关闭.png" alt @click="showfun7" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="tkbox-main">
|
|
|
+ <p>
|
|
|
+ <img src="../assets/images/警示.png" alt />
|
|
|
+ <span>{{ opentitel7 }}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="tkbox-footer">
|
|
|
+ <button @click="quchulifun7">去处理</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<!-- 添加或修改集中文印记录对话框 -->
|
|
|
<!-- <el-dialog :title="title" style="margin-top: 200px;" :visible.sync="open5" width="565px" append-to-body>
|
|
|
<el-form ref="form" :model="form" :inline="true" :rules="rules" label-width="120px">
|
|
@@ -617,12 +551,7 @@
|
|
|
<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>
|
|
@@ -637,15 +566,15 @@
|
|
|
"
|
|
|
v-if="!ggflg"
|
|
|
>
|
|
|
- 公告标题:<span style="margin-left: 10px; fontsize: 14px">{{
|
|
|
+ 公告标题:
|
|
|
+ <span style="margin-left: 10px; fontsize: 14px">
|
|
|
+ {{
|
|
|
form.noticeTitle
|
|
|
- }}</span>
|
|
|
+ }}
|
|
|
+ </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
|
|
@@ -654,7 +583,7 @@
|
|
|
placeholder="请输入公告标题"
|
|
|
style="width: 300px"
|
|
|
/>
|
|
|
- </el-form-item> -->
|
|
|
+ </el-form-item>-->
|
|
|
</el-col>
|
|
|
<el-col :span="12" v-if="ggflg">
|
|
|
<el-form-item label="公告类型" prop="noticeType">
|
|
@@ -668,11 +597,7 @@
|
|
|
</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
|
|
@@ -680,8 +605,7 @@
|
|
|
: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>
|
|
@@ -689,11 +613,7 @@
|
|
|
<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">
|
|
@@ -713,25 +633,15 @@
|
|
|
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>
|
|
@@ -747,7 +657,7 @@ import {
|
|
|
printTrigger,
|
|
|
printTriggerClear,
|
|
|
printPeople,
|
|
|
- printEachTrigger,
|
|
|
+ printEachTrigger
|
|
|
} from "@/api/PrintsManage/manage";
|
|
|
import {
|
|
|
workEachTrigger,
|
|
@@ -760,6 +670,7 @@ import {
|
|
|
noReminder,
|
|
|
remindPrint,
|
|
|
syTaskView,
|
|
|
+ getInfoD
|
|
|
} from "@/api/pt";
|
|
|
import { getUserProfile } from "@/api/system/user";
|
|
|
import Cookies from "js-cookie";
|
|
@@ -786,11 +697,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: {},
|
|
@@ -808,7 +719,9 @@ export default {
|
|
|
yuStatus2: false,
|
|
|
// 提示打印
|
|
|
open6: false,
|
|
|
- opentitel: null,
|
|
|
+ open7: false,
|
|
|
+ opentitel7: null,
|
|
|
+ opentitel: null
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -819,10 +732,10 @@ export default {
|
|
|
this.startTime2();
|
|
|
this.xianShang();
|
|
|
this.getTiXing();
|
|
|
- getNone().then((res) => {
|
|
|
+ getNone().then(res => {
|
|
|
this.str = res.msg;
|
|
|
});
|
|
|
- noReminder().then((res) => {
|
|
|
+ noReminder().then(res => {
|
|
|
if (res.data[0] != 0) {
|
|
|
this.yuStatus = true;
|
|
|
}
|
|
@@ -844,7 +757,7 @@ export default {
|
|
|
methods: {
|
|
|
// 获取提示信息
|
|
|
getTiXing() {
|
|
|
- remindPrint().then((res) => {
|
|
|
+ remindPrint().then(res => {
|
|
|
this.opentitel = res.msg;
|
|
|
if (res.num == 0) {
|
|
|
this.open6 = false;
|
|
@@ -864,7 +777,7 @@ export default {
|
|
|
this.$confirm("确定注销并退出系统吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
+ type: "warning"
|
|
|
})
|
|
|
.then(() => {
|
|
|
this.$store.dispatch("LogOut").then(() => {
|
|
@@ -880,25 +793,25 @@ export default {
|
|
|
// 线上地址
|
|
|
.post("http://172.4.5.232:12092/wl/api/getAccessToken", {
|
|
|
password: "super123fs456wl",
|
|
|
- username: "admin",
|
|
|
+ username: "admin"
|
|
|
})
|
|
|
- .then((res) => {
|
|
|
+ .then(res => {
|
|
|
Cookies.set("accessToken", res.data.accessToken);
|
|
|
});
|
|
|
},
|
|
|
// 获取登录信息
|
|
|
getUser() {
|
|
|
- getUserProfile().then((response) => {
|
|
|
+ getUserProfile().then(response => {
|
|
|
this.user = response.data;
|
|
|
this.danWie = response.data.dept.deptName;
|
|
|
this.yongHu = response.data.nickName;
|
|
|
});
|
|
|
},
|
|
|
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]);
|
|
@@ -907,7 +820,7 @@ export default {
|
|
|
},
|
|
|
// 获取代办事项
|
|
|
getworklist() {
|
|
|
- syTaskView().then((res) => {
|
|
|
+ syTaskView().then(res => {
|
|
|
this.worklist = res.rows;
|
|
|
});
|
|
|
},
|
|
@@ -918,7 +831,7 @@ export default {
|
|
|
noticeTitle: undefined,
|
|
|
noticeType: undefined,
|
|
|
noticeContent: undefined,
|
|
|
- status: "0",
|
|
|
+ status: "0"
|
|
|
};
|
|
|
this.resetForm("form");
|
|
|
},
|
|
@@ -1074,27 +987,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 => {});
|
|
|
},
|
|
|
-
|
|
|
quchulifun() {
|
|
|
- printTriggerClear().then((res) => {
|
|
|
+ printTriggerClear().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.open = true;
|
|
|
window.open(`/print/manage`, "_self");
|
|
@@ -1102,7 +1018,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
quchulifun2() {
|
|
|
- printTriggerClear().then((res) => {
|
|
|
+ printTriggerClear().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.open = false;
|
|
|
window.open(`/print/manage`, "_self");
|
|
@@ -1110,7 +1026,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
quchulifun3() {
|
|
|
- printTriggerClear().then((res) => {
|
|
|
+ printTriggerClear().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.open3 = false;
|
|
|
window.open(`/#/workingArrangements/workTask`, "_self");
|
|
@@ -1118,7 +1034,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
quchulifun4() {
|
|
|
- printTriggerClear().then((res) => {
|
|
|
+ printTriggerClear().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.open4 = false;
|
|
|
window.open(`/#/workingArrangements/planTask`, "_self");
|
|
@@ -1127,12 +1043,13 @@ export default {
|
|
|
},
|
|
|
quchulifun5() {
|
|
|
Cookies.set("tixing", "false");
|
|
|
- printTriggerClear().then((res) => {
|
|
|
+ printTriggerClear().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
window.open(`/#/print/printlog`, "_self");
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ quchulifun7() {},
|
|
|
startTime2() {
|
|
|
this.timer = setInterval(() => {
|
|
|
// printTrigger().then((res) => {
|
|
@@ -1145,7 +1062,7 @@ export default {
|
|
|
// }
|
|
|
// }
|
|
|
// });
|
|
|
- printEachTrigger().then((res) => {
|
|
|
+ printEachTrigger().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
if (res.print == "printUserInfo") {
|
|
|
var sendId = Cookies.get("userId");
|
|
@@ -1158,7 +1075,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- workEachTrigger().then((res) => {
|
|
|
+ workEachTrigger().then(res => {
|
|
|
var sendId = Cookies.get("userId");
|
|
|
if (res.code == 200) {
|
|
|
if (res.workEach != 0) {
|
|
@@ -1169,7 +1086,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- workTrigger().then((res) => {
|
|
|
+ workTrigger().then(res => {
|
|
|
// var sendId = Cookies.get("userId");
|
|
|
if (res.code == 200) {
|
|
|
if (res.workRequest != 0) {
|
|
@@ -1178,6 +1095,9 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ // getInfoD().then(res => {
|
|
|
+ // console.log(res);
|
|
|
+ // });
|
|
|
}, 10000); /* 每500毫秒执行一次,实现动态显示时间效果 */
|
|
|
},
|
|
|
tongzhifun() {
|
|
@@ -1212,8 +1132,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();
|
|
|
}
|
|
@@ -1225,14 +1145,14 @@ export default {
|
|
|
this.$router
|
|
|
.push({ path: "/workingArrangements/workCalendar" })
|
|
|
.catch(() => {});
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
destroyed() {
|
|
|
clearInterval(this.timer); // 清除定时器
|
|
|
this.timer = null;
|
|
|
clearInterval(this.timer2); // 清除定时器
|
|
|
this.timer2 = null;
|
|
|
- },
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
|
|
@@ -1460,7 +1380,7 @@ hr {
|
|
|
.num1-ul::-webkit-scrollbar {
|
|
|
width: 14px;
|
|
|
/* height: 2px !important; */
|
|
|
- background: #002745;
|
|
|
+ background: #002745;
|
|
|
}
|
|
|
|
|
|
/*定义滑块,内阴影及圆角*/
|