1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528 |
- <template>
- <div class="header">
- <!-- 大盒子 -->
- <div class="box">
- <!-- 头部区域 -->
- <div class="tou">
- <span style="color: #00ccff; font-size: 1.2vw">{{ times }}</span>
- <!-- <img class="liuxian" src="../assets/images/流线.gif" alt />
- <img class="img-left" src="../assets/images/闪烁GIF-慢.gif" alt /> -->
- </div>
- <!-- 主体区域 -->
- <div class="centen">
- <!-- 左面盒子 -->
- <div class="boxx">
- <ul class="ul">
- <li>
- <div class="demo-box">
- <div class="demo active" v-on:click="doThis">
- <img src="../images/dj.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">基 层 登 记</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- id="a1"
- v-on:click="wenyinfun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/dy.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">集 中 文 印</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="gongzuofun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/gz.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">工 作 安 排</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="guizhangfun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/zd.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">规 章 制 度</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="taishifun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/fx.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">态 势 分 析</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- id="q1"
- class="demo active"
- v-on:click="tongzhifun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../assets/images/通知公告1.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">通 知 公 告</a>
- </div>
- </li>
- <img src="../assets/images/椭圆 513 (2).png" class="li-img" alt />
- </ul>
- <hr />
- <ul class="ul">
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="zhanbeifun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/zb.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">战备值班</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="jianchafun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/jc.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">检查督导</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="renyuanfun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/ry.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">人员进出</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div class="demo active" data-url="/diary?ref=addtabs">
- <img src="../images/af.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">安防监控</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="mengangfun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/ag.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">门岗管理</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div class="demo active" id="a2" data-url="/diary?ref=addtabs">
- <img src="../images/mj.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">门禁管理</a>
- </div>
- </li>
- <img src="../assets/images/椭圆 513 (2).png" class="li-img" alt />
- </ul>
- <hr />
- <ul class="ul">
- <li>
- <div class="demo-box">
- <div class="demo active" data-url="/diary?ref=addtabs">
- <img src="../images/sx.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">思想政治教育</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="renlifun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/rl.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">人力资源</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="xitongfun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/xt.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">系统管理</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="gongju"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/xt.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">系统工具</a>
- </div>
- </li>
- <img src="../assets/images/椭圆 513 (2).png" class="li-img" alt />
- </ul>
- <hr />
- <ul class="ul">
- <li>
- <div class="demo-box">
- <div class="demo active" id="a3" v-on:click="junchefun">
- <img src="../images/cart.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">车辆管理</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="yingfangfun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/git.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">营房管理</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="yingjufun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/gl.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">营具管理</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="yiliaofun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../images/yl.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">医疗卫生管理</a>
- </div>
- </li>
- <li>
- <div class="demo-box">
- <div
- class="demo active"
- v-on:click="baomifun"
- data-url="/diary?ref=addtabs"
- >
- <img src="../assets/images/保密协议.png" alt />
- </div>
- </div>
- <div class="demo-a">
- <a href="#" class="a">涉密载体</a>
- </div>
- </li>
- </ul>
- </div>
- <!-- 右面盒子 -->
- <div class="rigin">
- <div class="num1">
- <div class="num2">
- <img src="../images/db.png" alt />
- <span>待办事项</span>
- </div>
- <ul class="num1-ul">
- <div class="num2-ul-title">
- <div class="num2-ul-title-l">代办事项</div>
- <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"
- >
- <div class="num2-ul-li-l">{{ item.taskName }}</div>
- <div class="num2-ul-li-c">工作</div>
- <div class="num2-ul-li-r">{{ item.peopleName }}</div>
- </li>
- </ul>
- </div>
- <div class="num1">
- <div class="num2">
- <img src="../assets/images/通知公告.png" alt />
- <span>通知公告</span>
- </div>
- <span class="addspan" @click="tiaddfun">更多</span>
- <div class="num1-box">
- <div
- class="num1-box-div"
- v-for="item in noticeList"
- :key="item.noticeId"
- @click="tzggfun(item)"
- >
- <div class="num1-box-l">{{ 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
- />
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="tkbox2" v-if="open2">
- <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="showfun2" />
- </div>
- </div>
- <div class="tkbox-main">
- <p>
- <img src="../assets/images/警示.png" alt />
- <span>{{ title2 }}</span>
- </p>
- </div>
- <div class="tkbox-footer">
- <button @click="quchulifun2">去处理</button>
- </div>
- </div>
- <div class="tkbox" v-if="open">
- <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="showfun" />
- </div>
- </div>
- <div class="tkbox-main">
- <p>
- <img src="../assets/images/警示.png" alt />
- <span>{{ title }}</span>
- </p>
- </div>
- <div class="tkbox-footer">
- <button @click="quchulifun">去处理</button>
- </div>
- </div>
- <div class="tkbox3" v-if="open3">
- <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="showfun3" />
- </div>
- </div>
- <div class="tkbox-main">
- <p>
- <img src="../assets/images/警示.png" alt />
- <span>{{ title3 }}</span>
- </p>
- </div>
- <div class="tkbox-footer">
- <button @click="quchulifun3">去处理</button>
- </div>
- </div>
- <div class="tkbox4" v-if="open4">
- <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="showfun4" />
- </div>
- </div>
- <div class="tkbox-main">
- <p>
- <img src="../assets/images/警示.png" alt />
- <span>{{ title4 }}</span>
- </p>
- </div>
- <div class="tkbox-footer">
- <button @click="quchulifun4">去处理</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">
- <el-form-item label="通知公告标题" prop>
- <el-input value placeholder="请输入通知公告标题" />
- </el-form-item>
- <el-form-item label="通知公告内容">
- <el-input value type="textarea" placeholder="请输入通知公告内容" />
- <el-input value type="textarea" placeholder="请输入通知公告内容" />
- </el-form-item>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button type="primary" style="width:55px;height:25px;" @click="submitForm">确 定</el-button>
- <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
- >
- <div class="jiben">基本信息</div>
- <el-form ref="form" :model="form" :rules="rules" :inline="true">
- <el-row>
- <el-col :span="12">
- <p
- style="
- width: 100%;
- height: 30px;
- line-height: 30px;
- color: #fff;
- fontsize: 16px;
- "
- v-if="!ggflg"
- >
- 公告标题:<span style="margin-left: 10px; fontsize: 14px">{{
- form.noticeTitle
- }}</span>
- </p>
- <el-form-item label="公告标题" v-if="ggflg" prop="noticeTitle">
- <el-input
- v-model="form.noticeTitle"
- placeholder="请输入公告标题"
- />
- </el-form-item>
- <!-- <el-form-item label="公告标题" prop="noticeTitle">
- <el-input
- v-model="form.noticeTitle"
- placeholder="请输入公告标题"
- style="width: 300px"
- />
- </el-form-item> -->
- </el-col>
- <el-col :span="12" v-if="ggflg">
- <el-form-item label="公告类型" prop="noticeType">
- <el-select v-model="form.noticeType" placeholder="请选择">
- <el-option
- v-for="dict in dict.type.sys_notice_type"
- :key="dict.value"
- :label="dict.label"
- :value="dict.value"
- ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <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
- v-for="dict in dict.type.sys_notice_status"
- :key="dict.value"
- :label="dict.value"
- style="margin-right: 20px"
- >{{ dict.label }}</el-radio
- >
- </el-radio-group>
- </el-form-item>
- </el-col>
- </el-row>
- <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-form-item>
- </el-col>
- <el-col :span="12" v-if="!ggflg">
- <el-form-item label="附件" label-width="0px" prop="filename">
- <a :href="'http://192.168.2.250:8089'+form.filename" target="_blank" download style="display:inline-block;width:90px;height:30px;background-color:#409EFF;border:none;border-radus:3px;color:#fff;line-height:30px;text-align: center;">下载附件</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>
- </el-col>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <button class="button1" v-if="ggflg" @click="submitForm">确 定</button>
- <button @click="cancel" >取 消</button>
- </div>
- </el-dialog>
- </div>
- </template>
- <script>
- import {
- printTrigger,
- printTriggerClear,
- printPeople,
- printEachTrigger,
- } from "@/api/PrintsManage/manage";
- import {
- workEachTrigger,
- workTrigger,
- addNotice,
- listNotice,
- updateNotice,
- getWorkTask,
- } from "@/api/pt";
- import Cookies from "js-cookie";
- export default {
- dicts: ["sys_notice_status", "sys_notice_type"],
- data() {
- return {
- times: null,
- timer: null,
- open: false,
- open2: false,
- open3: false,
- open4: false,
- timer2: null,
- open5: false,
- ggflg: false,
- form: "",
- rules: "",
- title: "",
- title2: "",
- title3: "",
- title4: "",
- rules: {
- noticeTitle: [
- { required: true, message: "公告标题不能为空", trigger: "blur" },
- ],
- noticeType: [
- { required: true, message: "公告类型不能为空", trigger: "change" },
- ],
- },
- // 表单参数
- form: {},
- noticeList: [],
- worklist: [],
- };
- },
- created() {
- this.timer = null;
- this.startTime();
- this.timer2 = null;
- this.startTime2();
- },
- mounted() {
- if (this.$route.params.name) {
- this.$modal.msgSuccess(this.$route.params.name);
- }
- this.getlist();
- this.getworklist();
- // console.log(this.$route.params.name)
- },
- methods: {
- getlist() {
- listNotice().then((res) => {
- this.noticeList = res.data;
- });
- },
- getworklist() {
- getWorkTask().then((res) => {
- console.log(res);
- this.worklist = res.data;
- });
- },
- // 表单重置
- reset() {
- this.form = {
- noticeId: undefined,
- noticeTitle: undefined,
- noticeType: undefined,
- noticeContent: undefined,
- status: "0",
- };
- this.resetForm("form");
- },
- startTime() {
- this.timer = setInterval(() => {
- var today = new Date();
- var y = today.getFullYear();
- var M = today.getMonth() + 1;
- var d = today.getDate();
- var h = today.getHours();
- var m = today.getMinutes();
- var s = today.getSeconds();
- var w = today.getDay();
- if (M < 10) {
- M = "0" + M;
- }
- if (d < 10) {
- d = "0" + d;
- }
- if (h < 10) {
- h = "0" + h;
- }
- if (m < 10) {
- m = "0" + m;
- }
- if (s < 10) {
- s = "0" + s;
- }
- this.times = y + "-" + M + "-" + d + " " + h + ":" + m + ":" + s;
- }, 500); /* 每500毫秒执行一次,实现动态显示时间效果 */
- },
- doThis() {
- this.$router
- .push({ path: "/index", query: { name: "/grassrootsregistration" } })
- .catch(() => {});
- },
- zhanbeifun() {
- this.$router
- .push({ path: "/index", query: { name: "/combatduty" } })
- .catch(() => {});
- },
- renlifun() {
- this.$router
- .push({ path: "/index", query: { name: "/peopleManage" } })
- .catch(() => {});
- },
- renyuanfun() {
- this.$router
- .push({ path: "/index", query: { name: "/peopleChuRu" } })
- .catch(() => {});
- },
- yingfangfun() {
- this.$router
- .push({ path: "/index", query: { name: "/barracksManagement" } })
- .catch(() => {});
- },
- junchefun() {
- this.$router
- .push({ path: "/index", query: { name: "/militaryvehicleManagement" } })
- .catch(() => {});
- },
- gongzuofun() {
- this.$router
- .push({ path: "/index", query: { name: "/workingArrangements" } })
- .catch(() => {});
- },
- guizhangfun() {
- this.$router
- .push({ path: "/index", query: { name: "/regulations" } })
- .catch(() => {});
- },
- yiliaofun() {
- this.$router
- .push({ path: "/index", query: { name: "/medicalhealth" } })
- .catch(() => {});
- },
- jianchafun() {
- this.$router
- .push({ path: "/index", query: { name: "/bdglregular" } })
- .catch(() => {});
- },
- mengangfun() {
- this.$router
- .push({ path: "/index", query: { name: "/doormanManage" } })
- .catch(() => {});
- },
- yingjufun() {
- this.$router
- .push({ path: "/index", query: { name: "/materialManagement" } })
- .catch(() => {});
- },
- xitongfun() {
- this.$router
- .push({ path: "/index", query: { name: "/system" } })
- .catch(() => {});
- },
- gongju() {
- this.$router
- .push({ path: "/index", query: { name: "/tool" } })
- .catch(() => {});
- },
- wenyinfun() {
- this.$router
- .push({ path: "/index", query: { name: "/print" } })
- .catch(() => {});
- },
- taishifun() {
- this.$router.push({ path: "/taishi" }).catch(() => {});
- // window.open(`/taishi`,'_self');
- },
- baomifun() {
- this.$router
- .push({ path: "/index", query: { name: "/bdglSecret" } })
- .catch(() => {});
- },
- showfun() {
- this.open = false;
- printTriggerClear().then((res) => {
- // console.log(res)
- });
- },
- showfun2() {
- this.open2 = false;
- printTriggerClear().then((res) => {
- // console.log(res)
- });
- },
- showfun3() {
- this.open3 = false;
- printTriggerClear().then((res) => {
- // console.log(res)
- });
- },
- showfun4() {
- this.open4 = false;
- printTriggerClear().then((res) => {
- // console.log(res)
- });
- },
- quchulifun() {
- printTriggerClear().then((res) => {
- if (res.code == 200) {
- this.open = true;
- window.open(`/print/manage`, "_self");
- }
- });
- },
- quchulifun2() {
- printTriggerClear().then((res) => {
- if (res.code == 200) {
- this.open = false;
- window.open(`/print/manage`, "_self");
- }
- });
- },
- quchulifun3() {
- printTriggerClear().then((res) => {
- if (res.code == 200) {
- this.open3 = false;
- window.open(`/workingArrangements/workTask`, "_self");
- }
- });
- },
- quchulifun4() {
- printTriggerClear().then((res) => {
- if (res.code == 200) {
- this.open4 = false;
- window.open(`/workingArrangements/workTask`, "_self");
- }
- });
- },
- startTime2() {
- this.timer = setInterval(() => {
- printTrigger().then((res) => {
- if (res.code == 200) {
- if (res.print == "print") {
- if (res.numb != 0) {
- this.title2 = "您有打印文件需要处理,请尽快处理";
- this.open2 = true;
- }
- }
- }
- });
- printEachTrigger().then((res) => {
- if (res.code == 200) {
- if (res.print == "printUserInfo") {
- var sendId = Cookies.get("userId");
- if (res.printUserInfo == sendId) {
- if (res.numb != 0) {
- this.title = res.msg;
- this.open = true;
- }
- }
- }
- }
- });
- workEachTrigger().then((res) => {
- var sendId = Cookies.get("userId");
- if (res.code == 200) {
- if (res.workEach != 0) {
- if (res.workUserid == sendId) {
- this.title3 = res.msg;
- this.open3 = true;
- }
- }
- }
- });
- workTrigger().then((res) => {
- // var sendId = Cookies.get("userId");
- if (res.code == 200) {
- if (res.workRequest != 0) {
- this.title4 = res.msg;
- this.open4 = true;
- }
- }
- });
- }, 10000); /* 每500毫秒执行一次,实现动态显示时间效果 */
- },
- tongzhifun() {
- // this.title = "添加通知通告";
- // this.open5 = true;
- // this.ggflg = true;
- // this.reset();
- this.$router.push({ path: "/system/notice" }).catch(() => {});
- },
- submitForm() {
- // addNotice(this.form).then((response) => {
- // this.$modal.msgSuccess("新增成功");
- // this.open5 = false;
- // this.ggflg = false;
- // this.getlist();
- // });
- },
- cancel() {
- this.open5 = false;
- this.ggflg = false;
- this.getlist();
- },
- tiaddfun() {
- this.$router.push({ path: "/system/notice" }).catch(() => {});
- },
- tzggfun(item) {
- // console.log(item);
- // item.start = 1;
- this.reset();
- this.form = item;
- updateNotice({
- noticeId: item.noticeId,
- start: 1,
- noticeTitle: item.noticeTitle,
- }).then((res) => {
- if (res.code == 200) {
- this.getlist();
- }
- });
- this.open5 = true;
- this.ggflg = false;
- },
- dbsxfun() {
- this.$router
- .push({ path: "/workingArrangements/workTask" })
- .catch(() => {});
- },
- },
- destroyed() {
- clearInterval(this.timer); // 清除定时器
- this.timer = null;
- clearInterval(this.timer2); // 清除定时器
- this.timer2 = null;
- },
- };
- </script>
- <style scoped>
- .el-dialog {
- margin-top: 500px;
- }
- * {
- margin: 0;
- padding: 0;
- }
- body,
- html {
- height: 100%;
- width: 100%;
- }
- li {
- list-style: none;
- }
- .header {
- height: 100%;
- width: 100%;
- overflow: auto;
- background: url("../images/背景1.png") no-repeat center;
- background-size: 100% 100%;
- position: relative;
- }
- .tou {
- color: #fff;
- position: relative;
- height: 120px;
- background: url("../assets/images/首页顶部1.gif") no-repeat center;
- background-size: cover;
- }
- .tou span {
- position: absolute;
- right: 100px;
- top: 33px;
- }
- .liuxian {
- position: absolute;
- top: -7px;
- }
- .in1 {
- padding: 0 84px;
- }
- .demo {
- color: #fff;
- width: 107px;
- height: 90%;
- background: url("../images/tx.png") no-repeat;
- text-align: center;
- margin-top: 10%;
- /* margin: 0 80px; */
- }
- .demo img {
- margin-top: 35px;
- }
- #q1 img {
- margin-top: 42px;
- }
- .demo-box {
- width: 100%;
- height: 70%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .demo-a {
- width: 100%;
- height: 30%;
- font-size: 1rem;
- color: #fff;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .ul {
- /* margin-bottom: 7vh; */
- height: 23%;
- display: flex;
- flex-flow: wrap;
- }
- .ul li {
- /* margin: 0 48px; */
- cursor: pointer;
- width: 16.5%;
- height: 100%;
- display: inline-block;
- }
- .li-img {
- width: 100%;
- }
- .boxx {
- padding: 0 0 0 80px;
- flex: 2.2;
- }
- .img-left {
- position: absolute;
- top: -8px;
- }
- hr {
- height: 2px;
- background-color: #06668a;
- border: none;
- margin-bottom: 20px;
- }
- .centen {
- display: flex;
- height: 85vh;
- }
- .num1 {
- color: #fff;
- width: 529px;
- height: 41.5vh;
- background: url("../images/rd.png") no-repeat;
- margin-bottom: 20px;
- padding: 30px 20px 0px 20px;
- background-size: 100% 100%;
- }
- .num1 img {
- /* width: 20px;
- height: 20px; */
- vertical-align: bottom;
- margin-right: 10px;
- }
- .rigin {
- flex: 1;
- margin-left: 52px;
- }
- .table {
- margin-top: 20px;
- width: 492px;
- height: 80%;
- /* height: 182px; */
- /* 去除中间的线 */
- border-collapse: collapse;
- border-spacing: 0;
- }
- .table tr td {
- height: 28px;
- text-align: center;
- }
- .table tr:nth-child(even) {
- background-color: rgba(39, 104, 136, 0.2);
- }
- .table tr:hover {
- background: rgba(0, 246, 255, 0.3);
- }
- #a2 img {
- margin-top: 40px;
- }
- #a1 img {
- margin-top: 40px;
- }
- #a3 img {
- margin-top: 43px;
- }
- .num1-box {
- width: 100%;
- height: 86%;
- margin-top: 10%;
- }
- .num1-box .num1-box-div {
- width: 100%;
- height: 36px;
- display: flex;
- flex-direction: row;
- font-size: 14px;
- color: #fff;
- line-height: 36px;
- }
- .num1-box-div:nth-child(odd) {
- background-color: rgba(39, 104, 136, 0.2);
- }
- .num1-box-div:hover {
- background: rgba(0, 246, 255, 0.3);
- }
- .num1-box-l {
- flex: 7;
- height: 100%;
- text-align: left;
- margin-left: 10px;
- text-overflow: ellipsis;
- }
- .num1-box-r {
- flex: 3;
- height: 100%;
- text-align: right;
- margin-right: 10px;
- line-height: 30px;
- }
- .num1-ul {
- width: 100%;
- height: 86%;
- margin-top: 5%;
- }
- .num1-ul-li {
- width: 100%;
- height: 36px;
- display: flex;
- flex-direction: row;
- font-size: 14px;
- color: #fff;
- line-height: 36px;
- }
- .num1-ul-li:nth-child(even) {
- background-color: rgba(39, 104, 136, 0.2);
- }
- .num1-ul-li:hover {
- background: rgba(0, 246, 255, 0.3);
- }
- .num1-ul-li-l {
- flex: 7;
- height: 100%;
- text-align: center;
- }
- .num1-ul-li-r {
- flex: 3;
- height: 100%;
- text-align: center;
- }
- .num2-ul-li {
- width: 100%;
- height: 36px;
- display: flex;
- flex-direction: row;
- font-size: 14px;
- color: #fff;
- line-height: 36px;
- }
- .num2-ul-li:nth-child(even) {
- background-color: rgba(39, 104, 136, 0.2);
- }
- .num2-ul-li:hover {
- background: rgba(0, 246, 255, 0.3);
- }
- .num2-ul-li-l {
- flex: 6;
- height: 100%;
- text-align: left;
- margin-left: 10px;
- }
- .num2-ul-li-c {
- flex: 3;
- height: 100%;
- text-align: center;
- }
- .num2-ul-li-r {
- flex: 3;
- height: 100%;
- text-align: center;
- }
- .num1-ul-title {
- width: 100%;
- height: 45px;
- display: flex;
- flex-direction: row;
- font-size: 16px;
- color: #fff;
- line-height: 45px;
- }
- .num1-ul-title-l {
- flex: 7;
- height: 100%;
- text-align: center;
- }
- .num1-ul-title-r {
- flex: 3;
- height: 100%;
- text-align: center;
- }
- .num2-ul-title {
- width: 100%;
- height: 45px;
- display: flex;
- flex-direction: row;
- font-size: 16px;
- color: #fff;
- line-height: 45px;
- }
- .num2-ul-title-l {
- flex: 6;
- height: 100%;
- text-align: left;
- margin-left: 10px;
- }
- .num2-ul-title-c {
- flex: 3;
- height: 100%;
- text-align: center;
- }
- .num2-ul-title-r {
- flex: 3;
- height: 100%;
- text-align: center;
- }
- .num1 {
- position: relative;
- }
- .num1 .addspan {
- width: 50px;
- height: 25px;
- display: inline-block;
- background-color: #1c86e1;
- line-height: 25px;
- text-align: center;
- font-size: 16px;
- cursor: pointer;
- /* margin-left: 851px; */
- position: absolute;
- right: 4%;
- top: 9%;
- }
- ::v-deep .el-dialog {
- background-color: #004d86;
- }
- ::v-deep .el-dialog__header {
- border-bottom: 1px solid #718a9d;
- }
- ::v-deep .el-dialog__title {
- color: #fff;
- font: 18px;
- }
- ::v-deep .el-dialog__headerbtn .el-dialog__close {
- color: #fff;
- }
- .el-form-item ::v-deep .el-input__inner {
- width: 355px;
- height: 36px;
- background: #004d86;
- color: #fff;
- border: 1px solid #fff !important;
- }
- ::v-deep .el-textarea__inner {
- width: 450px;
- height: 104px;
- margin-left: 25px;
- }
- /* 通知 */
- ::v-deep .el-tag.el-tag--success {
- background-color: #e7faf0;
- border-color: #d0f5e0;
- color: #13ce66;
- }
- /* 公告 */
- ::v-deep .el-tag.el-tag--warning {
- background-color: #fff8e6;
- border-color: #fff1cc;
- color: #ffba00;
- }
- /* 对话框背景颜色 */
- ::v-deep .el-dialog {
- background: #004d86 !important;
- }
- ::v-deep .el-textarea__inner {
- width: 760px;
- height: 104px;
- margin: auto !important;
- }
- ::v-deep .el-dialog__header {
- border-bottom: 1px solid #718a9d;
- }
- ::v-deep .el-dialog__title {
- color: #fff;
- font: 18px;
- }
- ::v-deep .el-dialog__headerbtn .el-dialog__close {
- color: #fff;
- }
- ::v-deep .el-form-item__label {
- font: 16px;
- color: #fff;
- width: auto !important;
- }
- ::v-deep .el-input__inner {
- width: 250px !important;
- height: 36px;
- background: transparent;
- color: #fff;
- }
- /* 单位框背景颜色 */
- ::v-deep .vue-treeselect__control {
- background: #004d86 !important;
- }
- /* 基本信息背景 */
- .jiben {
- width: 760px;
- height: 32px;
- background-image: url("../images/小标题底.png");
- margin-bottom: 25px;
- color: #fff;
- padding-left: 16px;
- line-height: 32px;
- margin-top: 10px;
- }
- /*调整表单间距 */
- ::v-deep .el-form-item__content {
- width: 200px;
- }
- .contents {
- padding: 0px 40px !important;
- }
- /* 单位框背景颜色 */
- ::v-deep .vue-treeselect__control {
- background: #004d86 !important;
- color: #fff;
- }
- /* 备注输入框 */
- .textareas ::v-deep .el-form-item__content {
- width: 100%;
- }
- /* 状态 */
- .el-radio {
- color: rgb(204, 198, 198);
- }
- /* 备注输入框 */
- .textareas ::v-deep .el-form-item__content {
- width: 100%;
- }
- /* 富文本 */
- ::v-deep .ql-snow .ql-fill,
- .ql-snow .ql-stroke.ql-fill {
- fill: #fff !important;
- }
- ::v-deep .ql-snow .ql-stroke {
- stroke: #fff !important;
- }
- ::v-deep .ql-snow .ql-picker {
- color: #fff !important;
- }
- ::v-deep .ql-editor ql-blank {
- color: #fff !important;
- }
- /* 分页按钮 */
- ::v-deep .el-pagination.is-background .el-pager li {
- background-color: #004d86;
- color: #fff;
- }
- ::v-deep .el-pagination.is-background .btn-next {
- background-color: #004d86;
- color: #fff;
- }
- ::v-deep .el-pagination.is-background .btn-prev,
- .el-pagination.is-background .btn-next,
- .el-pagination.is-background .el-pager li {
- background: #004d86 !important;
- color: #fff !important;
- }
- .el-select-dropdown__item {
- left: 10px !important;
- }
- ::v-deep .el-upload__tip {
- display: none;
- }
- </style>
- <style lang="scss" scoped>
- .tkbox {
- width: 500px;
- height: 220px;
- background-image: url("../assets/images/框.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- position: absolute;
- left: 20%;
- top: 30%;
- }
- .tkbox2 {
- width: 500px;
- height: 220px;
- background-image: url("../assets/images/框.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- position: absolute;
- right: 26%;
- top: 30%;
- }
- .tkbox3 {
- width: 500px;
- height: 220px;
- background-image: url("../assets/images/框.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- position: absolute;
- left: 20%;
- top: 38%;
- }
- .tkbox4 {
- width: 500px;
- height: 220px;
- background-image: url("../assets/images/框.png");
- background-size: 100% 100%;
- background-repeat: no-repeat;
- position: absolute;
- right: 26%;
- top: 38%;
- }
- .tkbox-title {
- width: 100%;
- height: 90px;
- }
- .tkbox-title-left {
- width: 90%;
- display: inline-block;
- line-height: 90px;
- position: relative;
- }
- .tkbox-title-left img {
- position: absolute;
- left: 35px;
- top: 30px;
- }
- .tkbox-title-left span {
- color: #fff;
- line-height: 95px;
- margin-left: 75px;
- }
- .tkbox-title-right {
- width: 10%;
- text-align: right;
- display: inline-block;
- }
- .tkbox-title-right img {
- text-align: right;
- margin-right: 30px;
- }
- .tkbox-main {
- width: 100%;
- height: 60px;
- }
- .tkbox-main p {
- width: 90%;
- height: auto;
- margin: 0 auto;
- color: #fff;
- font-size: 14px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .tkbox-main p span {
- margin-left: 10px;
- }
- .tkbox-footer {
- width: 100%;
- height: 30px;
- margin-bottom: 30px;
- text-align: center;
- }
- .fixed-header + .app-main {
- padding-top: 50px;
- }
- .hasTagsView {
- .app-main {
- /* 84 = navbar + tags-view = 50 + 34 */
- min-height: calc(100vh - 84px);
- }
- .fixed-header + .app-main {
- padding-top: 84px;
- }
- }
- .tkbox-footer button {
- width: 60px;
- height: 25px;
- text-align: center;
- line-height: 21px;
- background-color: #409eff;
- color: #fff;
- border-radius: 6px;
- border: none;
- }
- .dialog-footer button {
- width: 60px;
- height: 30px;
- text-align: center;
- line-height: 21px;
- color: #fff;
- border-radius: 3px;
- border: none;
- background-color: #196299;
- margin-top: 20px;
- }
- .dialog-footer .button1 {
- background-color: #409eff;
- margin-right: 10px;
- }
- </style>
|