提交 0281eb69 authored 作者: jyl's avatar jyl

合并分支 'jyl' 到 'master'

new 查看合并请求 !1
...@@ -49,7 +49,6 @@ const routes = [ ...@@ -49,7 +49,6 @@ const routes = [
children: [ children: [
{ {
path: "sureSecret", path: "sureSecret",
name: "sureSecret",
meta: { meta: {
title: "国家秘密", title: "国家秘密",
}, },
...@@ -57,7 +56,6 @@ const routes = [ ...@@ -57,7 +56,6 @@ const routes = [
children: [ children: [
{ {
path: "/", path: "/",
name: "sureSecret",
component: () => import("../views/countrySecret/sure/list.vue"), component: () => import("../views/countrySecret/sure/list.vue"),
meta: { meta: {
title: "确定", title: "确定",
...@@ -65,7 +63,6 @@ const routes = [ ...@@ -65,7 +63,6 @@ const routes = [
}, },
{ {
path: "increased", path: "increased",
name: "increased",
meta: { meta: {
title: "新增", title: "新增",
isShow: true, isShow: true,
...@@ -74,7 +71,6 @@ const routes = [ ...@@ -74,7 +71,6 @@ const routes = [
}, },
{ {
path: "edit", path: "edit",
name: "edit",
meta: { meta: {
title: "编辑", title: "编辑",
isShow: true, isShow: true,
...@@ -86,7 +82,6 @@ const routes = [ ...@@ -86,7 +82,6 @@ const routes = [
// 国家秘密 // 国家秘密
{ {
path: "changeSecret", path: "changeSecret",
name: "changeSecret",
meta: { meta: {
title: "国家秘密", title: "国家秘密",
}, },
...@@ -102,7 +97,6 @@ const routes = [ ...@@ -102,7 +97,6 @@ const routes = [
}, },
{ {
path: "increased", path: "increased",
name: "increased",
component: () => import("../views/countrySecret/change/increased.vue"), component: () => import("../views/countrySecret/change/increased.vue"),
meta: { meta: {
title: "变更", title: "变更",
...@@ -111,7 +105,6 @@ const routes = [ ...@@ -111,7 +105,6 @@ const routes = [
}, },
{ {
path: "check", path: "check",
name: "check",
component: () => import("../views/countrySecret/chakan.vue"), component: () => import("../views/countrySecret/chakan.vue"),
meta: { meta: {
title: "查看", title: "查看",
...@@ -123,7 +116,6 @@ const routes = [ ...@@ -123,7 +116,6 @@ const routes = [
//国家秘密 //国家秘密
{ {
path: "deleteSecret", path: "deleteSecret",
name: "deleteSecret",
meta: { meta: {
title: "国家秘密", title: "国家秘密",
}, },
...@@ -139,7 +131,6 @@ const routes = [ ...@@ -139,7 +131,6 @@ const routes = [
}, },
{ {
path: "open", path: "open",
name: "open",
meta: { meta: {
title: "公开", title: "公开",
isShow: true, isShow: true,
...@@ -166,7 +157,6 @@ const routes = [ ...@@ -166,7 +157,6 @@ const routes = [
}, },
{ {
path: "check", path: "check",
name: "check",
component: () => import("../views/countrySecret/chakan.vue"), component: () => import("../views/countrySecret/chakan.vue"),
meta: { meta: {
title: "查看", title: "查看",
...@@ -177,7 +167,6 @@ const routes = [ ...@@ -177,7 +167,6 @@ const routes = [
}, },
{ {
path: "allMatters", path: "allMatters",
name: "allMatters",
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
meta: { meta: {
title: "所有事项", title: "所有事项",
...@@ -190,7 +179,6 @@ const routes = [ ...@@ -190,7 +179,6 @@ const routes = [
}, },
{ {
path: "check", path: "check",
name: "check",
component: () => import("../views/countrySecret/chakan.vue"), component: () => import("../views/countrySecret/chakan.vue"),
meta: { meta: {
title: "查看", title: "查看",
...@@ -199,7 +187,6 @@ const routes = [ ...@@ -199,7 +187,6 @@ const routes = [
}, },
{ {
path: "editWorkSecret", path: "editWorkSecret",
name: "editWorkSecret",
meta: { meta: {
title: "编辑", title: "编辑",
isShow: true, isShow: true,
...@@ -208,7 +195,6 @@ const routes = [ ...@@ -208,7 +195,6 @@ const routes = [
}, },
{ {
path: "edit", path: "edit",
name: "edit",
meta: { meta: {
title: "编辑", title: "编辑",
isShow: true, isShow: true,
...@@ -235,7 +221,6 @@ const routes = [ ...@@ -235,7 +221,6 @@ const routes = [
}, },
{ {
path: "check1", path: "check1",
name: "check1",
meta: { meta: {
title: "查看", title: "查看",
isShow: true, isShow: true,
...@@ -244,7 +229,6 @@ const routes = [ ...@@ -244,7 +229,6 @@ const routes = [
}, },
{ {
path: "open", path: "open",
name: "open",
meta: { meta: {
title: "公开", title: "公开",
isShow: true, isShow: true,
...@@ -253,7 +237,6 @@ const routes = [ ...@@ -253,7 +237,6 @@ const routes = [
}, },
{ {
path: "decrypting", path: "decrypting",
name: "decrypting",
meta: { meta: {
title: "解除", title: "解除",
isShow: true, isShow: true,
...@@ -264,7 +247,6 @@ const routes = [ ...@@ -264,7 +247,6 @@ const routes = [
}, },
{ {
path: 'classifiedPerson', path: 'classifiedPerson',
name: 'classifiedPerson',
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
meta: { meta: {
title: '定密责任人管理' title: '定密责任人管理'
...@@ -272,7 +254,6 @@ const routes = [ ...@@ -272,7 +254,6 @@ const routes = [
children: [ children: [
{ {
path: '/', path: '/',
name:'classifiedPerson',
component: () => import('../views/list/classifiedPerson.vue'), component: () => import('../views/list/classifiedPerson.vue'),
}, },
...@@ -280,7 +261,6 @@ const routes = [ ...@@ -280,7 +261,6 @@ const routes = [
}, },
{ {
path: 'classifiedEmpower', path: 'classifiedEmpower',
name: 'classifiedEmpower',
meta: { meta: {
title: '定密授权管理' title: '定密授权管理'
}, },
...@@ -288,7 +268,6 @@ const routes = [ ...@@ -288,7 +268,6 @@ const routes = [
children: [ children: [
{ {
path: '/', path: '/',
name:'classifiedEmpower',
component: () => import('../views/list/classifiedEmpower.vue'), component: () => import('../views/list/classifiedEmpower.vue'),
}, },
...@@ -296,7 +275,6 @@ const routes = [ ...@@ -296,7 +275,6 @@ const routes = [
}, },
{ {
path: 'classifiedSystem', path: 'classifiedSystem',
name: 'classifiedSystem',
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
meta: { meta: {
title: '定密制度管理' title: '定密制度管理'
...@@ -304,7 +282,6 @@ const routes = [ ...@@ -304,7 +282,6 @@ const routes = [
children: [ children: [
{ {
path: '/', path: '/',
name:'classifiedSystem',
component: () => import('../views/list/classifiedSystem.vue'), component: () => import('../views/list/classifiedSystem.vue'),
}, },
...@@ -312,7 +289,6 @@ const routes = [ ...@@ -312,7 +289,6 @@ const routes = [
}, },
{ {
path: 'classifiedTraining', path: 'classifiedTraining',
name: 'classifiedTraining',
meta: { meta: {
title: '定密培训管理' title: '定密培训管理'
}, },
...@@ -320,7 +296,6 @@ const routes = [ ...@@ -320,7 +296,6 @@ const routes = [
children: [ children: [
{ {
path: '/', path: '/',
name: 'classifiedTraining',
component: () => import('../views/list/classifiedTraining.vue'), component: () => import('../views/list/classifiedTraining.vue'),
}, },
...@@ -328,7 +303,6 @@ const routes = [ ...@@ -328,7 +303,6 @@ const routes = [
}, },
{ {
path: 'uncertaintyList', path: 'uncertaintyList',
name: 'uncertaintyList',
meta: { meta: {
title: '不确定事项管理' title: '不确定事项管理'
}, },
...@@ -336,7 +310,6 @@ const routes = [ ...@@ -336,7 +310,6 @@ const routes = [
children: [ children: [
{ {
path: '/', path: '/',
name: 'uncertaintyList',
component: () => import('../views/list/uncertaintyList.vue'), component: () => import('../views/list/uncertaintyList.vue'),
}, },
...@@ -344,7 +317,6 @@ const routes = [ ...@@ -344,7 +317,6 @@ const routes = [
}, },
{ {
path: 'personal', path: 'personal',
name: 'personal',
meta: { meta: {
title: "人员配置", title: "人员配置",
}, },
...@@ -352,7 +324,6 @@ const routes = [ ...@@ -352,7 +324,6 @@ const routes = [
children: [ children: [
{ {
path: "/", path: "/",
name: "personal",
component: () => import("../views/countrySecret/personal.vue"), component: () => import("../views/countrySecret/personal.vue"),
}, },
...@@ -360,7 +331,6 @@ const routes = [ ...@@ -360,7 +331,6 @@ const routes = [
}, },
{ {
path: 'according', path: 'according',
name: 'according',
meta: { meta: {
title: "依据查看", title: "依据查看",
}, },
...@@ -368,7 +338,6 @@ const routes = [ ...@@ -368,7 +338,6 @@ const routes = [
children: [ children: [
{ {
path: "/", path: "/",
name: "according",
component: () => import("../views/countrySecret/according.vue"), component: () => import("../views/countrySecret/according.vue"),
}, },
...@@ -396,12 +365,10 @@ const routes = [ ...@@ -396,12 +365,10 @@ const routes = [
children: [ children: [
{ {
path: "determine", path: "determine",
name: "determine",
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
children: [ children: [
{ {
path: "/", path: "/",
name: "determine",
component: () => import("../views/workSecret/determine/determineList.vue"), component: () => import("../views/workSecret/determine/determineList.vue"),
meta: { meta: {
title: "确定", title: "确定",
...@@ -418,7 +385,6 @@ const routes = [ ...@@ -418,7 +385,6 @@ const routes = [
}, },
{ {
path: "editWorkSecret", path: "editWorkSecret",
name: "editWorkSecret",
meta: { meta: {
title: "编辑", title: "编辑",
isShow: true, isShow: true,
...@@ -429,7 +395,6 @@ const routes = [ ...@@ -429,7 +395,6 @@ const routes = [
}, },
{ {
path: "decrypt", path: "decrypt",
name: "decrypt",
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
children: [ children: [
{ {
...@@ -442,7 +407,6 @@ const routes = [ ...@@ -442,7 +407,6 @@ const routes = [
}, },
{ {
path: "check", path: "check",
name: "check",
meta: { meta: {
title: "查看", title: "查看",
isShow: true, isShow: true,
...@@ -451,7 +415,6 @@ const routes = [ ...@@ -451,7 +415,6 @@ const routes = [
}, },
{ {
path: "decrypting", path: "decrypting",
name: "decrypting",
meta: { meta: {
title: "解密", title: "解密",
isShow: true, isShow: true,
...@@ -460,7 +423,6 @@ const routes = [ ...@@ -460,7 +423,6 @@ const routes = [
}, },
{ {
path: "open", path: "open",
name: "open",
meta: { meta: {
title: "公开", title: "公开",
isShow: true, isShow: true,
...@@ -523,7 +485,6 @@ const routes = [ ...@@ -523,7 +485,6 @@ const routes = [
{ {
path: 'parameter', path: 'parameter',
name: 'parameter',
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
children: [ children: [
{ {
...@@ -599,12 +560,10 @@ const routes = [ ...@@ -599,12 +560,10 @@ const routes = [
// }, // },
{ {
path: 'uncertaintyList', path: 'uncertaintyList',
name: 'uncertaintyList',
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
children: [ children: [
{ {
path: '/', path: '/',
name: 'uncertaintyList',
component: () => import('../views/list/uncertaintyList.vue'), component: () => import('../views/list/uncertaintyList.vue'),
meta: { meta: {
title: '不确定事项管理' title: '不确定事项管理'
...@@ -614,7 +573,6 @@ const routes = [ ...@@ -614,7 +573,6 @@ const routes = [
}, },
{ {
path: 'unitAndPersonnelSet', path: 'unitAndPersonnelSet',
name: 'unitAndPersonnelSet',
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
children: [ children: [
{ {
...@@ -629,12 +587,10 @@ const routes = [ ...@@ -629,12 +587,10 @@ const routes = [
}, },
{ {
path: 'bassisManage', path: 'bassisManage',
name: 'bassisManage',
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
children: [ children: [
{ {
path: '/', path: '/',
name: 'bassisManage',
component: () => import('../views/configuration/bassisManage.vue'), component: () => import('../views/configuration/bassisManage.vue'),
meta: { meta: {
title: '依据管理' title: '依据管理'
...@@ -644,12 +600,10 @@ const routes = [ ...@@ -644,12 +600,10 @@ const routes = [
}, },
{ {
path: 'unitBasisConfig', path: 'unitBasisConfig',
name: 'unitBasisConfig',
component: () => import("../components/routerChild.vue"), component: () => import("../components/routerChild.vue"),
children: [ children: [
{ {
path: '/', path: '/',
name: 'bassisManage',
component: () => import('../views/configuration/unitBasisConfig.vue'), component: () => import('../views/configuration/unitBasisConfig.vue'),
meta: { meta: {
title: '单位的依据配置' title: '单位的依据配置'
......
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
</div> </div>
<div class="status" :class="getClass()"></div> <div class="status" :class="getClass()"></div>
</div> </div>
<div class>{{ ruleForm.issueDate }}{{ ruleForm.classifiedExpire }}</div> <div class>
{{ ruleForm.issueDate }}{{ ruleForm.classifiedExpire }}
</div>
</div> </div>
</div> </div>
...@@ -23,14 +25,18 @@ ...@@ -23,14 +25,18 @@
<el-collapse-item name="1"> <el-collapse-item name="1">
<template slot="title"> <template slot="title">
<div class="edit_baseDetail_title"> <div class="edit_baseDetail_title">
<div class="border"></div>基本信息 <div class="border"></div>
基本信息
<div class="title_one_right"> <div class="title_one_right">
<img <img
v-show="className.indexOf('1') == -1" v-show="className.indexOf('1') == -1"
src="../../../assets/images/hide.png" src="../../../assets/images/hide.png"
alt alt
/> />
<img v-show="className.indexOf('1') != -1" src="../../../assets/images/show.png" /> <img
v-show="className.indexOf('1') != -1"
src="../../../assets/images/show.png"
/>
</div> </div>
</div> </div>
</template> </template>
...@@ -57,20 +63,26 @@ ...@@ -57,20 +63,26 @@
<div class="edit_detail" v-if="ruleForm.type == 1"> <div class="edit_detail" v-if="ruleForm.type == 1">
<div class="titles">增加审批环节:</div> <div class="titles">增加审批环节:</div>
<div> <div>
<div <div v-show="ruleForm.approverName">
v-show="ruleForm.approverName" {{ ruleForm.approverName }}({{ ruleForm.approverUnit }})
>{{ ruleForm.approverName }}({{ ruleForm.approverUnit }})</div> </div>
<div>{{ ruleForm.approverOpinionContent }}</div> <div>{{ ruleForm.approverOpinionContent }}</div>
</div> </div>
</div> </div>
<div class="edit_detail"> <div class="edit_detail">
<div class="titles">承办人:</div> <div class="titles">承办人:</div>
<div>{{ ruleForm.undertakerName }}({{ ruleForm.undertakerPhone }})</div> <div>
{{ ruleForm.undertakerName }}({{ ruleForm.undertakerPhone }})
</div>
</div> </div>
<div class="edit_detail"> <div class="edit_detail">
<div class="titles">发文机关:</div> <div class="titles">发文机关:</div>
<div v-if="ruleForm.undertakerUnit">{{ ruleForm.undertakerUnit }}</div> <div v-if="ruleForm.undertakerUnit">
<div v-if="ruleForm.undertakerUnitTwo">{{ ruleForm.undertakerUnitTwo }}</div> {{ ruleForm.undertakerUnit }}
</div>
<div v-if="ruleForm.undertakerUnitTwo">
{{ ruleForm.undertakerUnitTwo }}
</div>
</div> </div>
<div class="edit_detail"> <div class="edit_detail">
<div class="titles">定密依据:</div> <div class="titles">定密依据:</div>
...@@ -135,7 +147,9 @@ ...@@ -135,7 +147,9 @@
</div> </div>
<div class="edit_detail" v-if="ruleForm.type == 2"> <div class="edit_detail" v-if="ruleForm.type == 2">
<div class="titles">项目备案表:</div> <div class="titles">项目备案表:</div>
<div style="color: blue; cursor: pointer" @click="toYuLan()">点击预览文件</div> <div style="color: blue; cursor: pointer" @click="toYuLan()">
点击预览文件
</div>
</div> </div>
<!-- <div class="edit_detail" v-if="ruleForm.type == 2"> <!-- <div class="edit_detail" v-if="ruleForm.type == 2">
<div class="titles">采购项目名称:</div> <div class="titles">采购项目名称:</div>
...@@ -172,7 +186,8 @@ ...@@ -172,7 +186,8 @@
<el-collapse-item name="2"> <el-collapse-item name="2">
<template slot="title"> <template slot="title">
<div class="edit_baseDetail_title"> <div class="edit_baseDetail_title">
<div class="border"></div>事项解密 <div class="border"></div>
事项解密
<div class="btn"> <div class="btn">
<!-- <el-button <!-- <el-button
type="primary" type="primary"
...@@ -190,7 +205,10 @@ ...@@ -190,7 +205,10 @@
src="../../../assets/images/hide.png" src="../../../assets/images/hide.png"
alt alt
/> />
<img v-show="className.indexOf('2') != -1" src="../../../assets/images/show.png" /> <img
v-show="className.indexOf('2') != -1"
src="../../../assets/images/show.png"
/>
</div> </div>
</div> </div>
</div> </div>
...@@ -289,7 +307,12 @@ ...@@ -289,7 +307,12 @@
<div class="right_row">{{ item.decryptTime }}</div> <div class="right_row">{{ item.decryptTime }}</div>
</div> </div>
<div class="btns"> <div class="btns">
<el-button type="primary" v-if="item.decryptAuditStatus == 0" @click="updata(item)">编辑</el-button> <el-button
type="primary"
v-if="item.decryptAuditStatus == 0"
@click="updata(item)"
>编辑</el-button
>
</div> </div>
</div> </div>
</el-collapse-item> </el-collapse-item>
...@@ -316,7 +339,10 @@ ...@@ -316,7 +339,10 @@
label-width="125px" label-width="125px"
> >
<el-form-item label="选择类型:" prop="decryptType"> <el-form-item label="选择类型:" prop="decryptType">
<el-radio-group v-model="dialogForm.decryptType" @change="typeChange"> <el-radio-group
v-model="dialogForm.decryptType"
@change="typeChange"
>
<el-radio :label="3">解密</el-radio> <el-radio :label="3">解密</el-radio>
<el-radio :label="2">变更</el-radio> <el-radio :label="2">变更</el-radio>
<el-radio :label="1">维持原定密决定</el-radio> <el-radio :label="1">维持原定密决定</el-radio>
...@@ -331,26 +357,55 @@ ...@@ -331,26 +357,55 @@
<el-select <el-select
v-model="dialogForm.secrecyTermBasisType" v-model="dialogForm.secrecyTermBasisType"
placeholder="请选择依据" placeholder="请选择依据"
:disabled="dialogForm.basisType!=1" :disabled="dialogForm.basisType != 1"
@change="jijuChange(dialogForm.secrecyTermBasisType)" @change="jijuChange(dialogForm.secrecyTermBasisType)"
> >
<el-option <el-option
v-for="item in confClassifiedBasisList" v-for="item in confClassifiedBasisList"
:key="item.id" :key="item.id"
:label="item.catalogueName+'第'+item.serialNo+'条'" :label="item.catalogueName + '第' + item.serialNo + '条'"
:value="item.id" :value="item.id"
class="select_option" class="select_option"
> >
<el-tooltip placement="right" effect="light" :enterable="false"> <el-tooltip
<div slot="content" class="hoverContent" style="text-align:left"> placement="right"
effect="light"
:enterable="false"
>
<div
slot="content"
class="hoverContent"
style="text-align: left"
>
<!-- <span>目录:{{item.catalogueName}}</span> <!-- <span>目录:{{item.catalogueName}}</span>
<div>序号:{{item.serialNo}}</div>--> <div>序号:{{item.serialNo}}</div>-->
<div>密级:{{item.classification==2?'秘密':item.classification==3?'机密':''}}</div> <div>
<div>保密期限:{{item.secrecyTermContent}}{{item.secrecyTermType==1?'年':item.secrecyTermType==2?'月':item.secrecyTermType==3?'日':''}}</div> 密级:{{
<div class="basisName">内容:{{item.basisName}}</div> item.classification == 2
<div>知悉范围:{{item.range}}</div> ? "秘密"
: item.classification == 3
? "机密"
: ""
}}
</div>
<div>
保密期限:{{ item.secrecyTermContent
}}{{
item.secrecyTermType == 1
? "年"
: item.secrecyTermType == 2
? "月"
: item.secrecyTermType == 3
? "日"
: ""
}}
</div>
<div class="basisName">内容:{{ item.basisName }}</div>
<div>知悉范围:{{ item.range }}</div>
</div>
<div class="iclass-text-ellipsis">
{{ item.catalogueName }}第{{ item.serialNo }}条
</div> </div>
<div class="iclass-text-ellipsis">{{item.catalogueName}}第{{ item.serialNo }}条</div>
</el-tooltip> </el-tooltip>
</el-option> </el-option>
</el-select> </el-select>
...@@ -360,7 +415,7 @@ ...@@ -360,7 +415,7 @@
v-model="dialogForm.secrecyTermBasisContent" v-model="dialogForm.secrecyTermBasisContent"
type="textarea" type="textarea"
placeholder="请输入" placeholder="请输入"
:disabled="dialogForm.basisType!=2" :disabled="dialogForm.basisType != 2"
></el-input> ></el-input>
</el-radio> </el-radio>
</el-radio-group> </el-radio-group>
...@@ -371,7 +426,7 @@ ...@@ -371,7 +426,7 @@
v-if="dialogForm.decryptType == 2" v-if="dialogForm.decryptType == 2"
class="changeDetailBox" class="changeDetailBox"
> >
<div :class="dialogForm.basisType==1?'box':''"></div> <div :class="dialogForm.basisType == 1 ? 'box' : ''"></div>
<div class="changeDetail"> <div class="changeDetail">
<div class="detail"> <div class="detail">
<div class="title">变更前</div> <div class="title">变更前</div>
...@@ -400,8 +455,8 @@ ...@@ -400,8 +455,8 @@
</div> </div>
<div class="img"> <div class="img">
<div <div
:class="dialogForm.basisType == 1?'biangen2':'biangen1'" :class="dialogForm.basisType == 1 ? 'biangen2' : 'biangen1'"
@click="dialogForm.basisType != 1? changeDate():''" @click="dialogForm.basisType != 1 ? changeDate() : ''"
></div> ></div>
</div> </div>
<div class="detail"> <div class="detail">
...@@ -456,7 +511,11 @@ ...@@ -456,7 +511,11 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="定密责任人意见:" prop="classifiedPerson" class="classifiedPerson"> <el-form-item
label="定密责任人意见:"
prop="classifiedPerson"
class="classifiedPerson"
>
<el-select <el-select
v-model="dialogForm.classifiedPerson" v-model="dialogForm.classifiedPerson"
placeholder="请选择定密责任人" placeholder="请选择定密责任人"
...@@ -480,14 +539,20 @@ ...@@ -480,14 +539,20 @@
></el-input> ></el-input>
<div class="commonWordsList"> <div class="commonWordsList">
<div <div
v-for="(item,index) in dmzrrList" v-for="(item, index) in dmzrrList"
:key="index" :key="index"
class="minbox" class="minbox"
@click="selectcommonWord(item.manageOptions)" @click="selectcommonWord(item.manageOptions)"
>{{item.manageOptions}}</div> >
{{ item.manageOptions }}
</div>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="建议变更时间:" v-if="dialogForm.decryptType == 2" prop="decryptTime"> <el-form-item
label="建议变更时间:"
v-if="dialogForm.decryptType == 2"
prop="decryptTime"
>
<el-date-picker <el-date-picker
v-model="dialogForm.decryptTime" v-model="dialogForm.decryptTime"
type="date" type="date"
...@@ -497,7 +562,11 @@ ...@@ -497,7 +562,11 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="建议解密时间:" v-if="dialogForm.decryptType == 3" prop="decryptTime"> <el-form-item
label="建议解密时间:"
v-if="dialogForm.decryptType == 3"
prop="decryptTime"
>
<el-date-picker <el-date-picker
v-model="dialogForm.decryptTime" v-model="dialogForm.decryptTime"
type="date" type="date"
...@@ -532,7 +601,10 @@ ...@@ -532,7 +601,10 @@
label-width="125px" label-width="125px"
> >
<el-form-item label="密级:" prop="purchaseItemName"> <el-form-item label="密级:" prop="purchaseItemName">
<el-select v-model="formData.classification" placeholder="请选择密级"> <el-select
v-model="formData.classification"
placeholder="请选择密级"
>
<el-option <el-option
v-for="item in mainData.classificationList" v-for="item in mainData.classificationList"
:key="item.id" :key="item.id"
...@@ -541,35 +613,64 @@ ...@@ -541,35 +613,64 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="保密期限:" prop="purchasingUnit" class="secretTime"> <el-form-item
<el-radio v-model="radios" :label="1" @change="changeQixian()">保密期限</el-radio> label="保密期限:"
<el-radio-group v-model="formData.secrecyTermType" @change="changeSecrecyTermType()"> prop="purchasingUnit"
class="secretTime"
>
<el-radio v-model="radios" :label="1" @change="changeQixian()"
>保密期限</el-radio
>
<el-radio-group
v-model="formData.secrecyTermType"
@change="changeSecrecyTermType()"
>
<div class="rightRadio"> <div class="rightRadio">
<el-radio :label="1" :disabled="radios != 1"> <el-radio :label="1" :disabled="radios != 1">
<el-input <el-input
type="number" type="number"
v-model="formData.qixian1" v-model="formData.qixian1"
:disabled="formData.secrecyTermType != '1'" :disabled="formData.secrecyTermType != '1'"
:onkeyup="formData.qixian1=formData.qixian1.replace(/[^0-9]/g,'')" :onkeyup="
></el-input> (formData.qixian1 = formData.qixian1.replace(
/[^0-9]/g,
''
))
"
></el-input
>
</el-radio> </el-radio>
<el-radio :label="2" :disabled="radios != 1"> <el-radio :label="2" :disabled="radios != 1">
<el-input <el-input
type="number" type="number"
v-model="formData.qixian2" v-model="formData.qixian2"
:disabled="formData.secrecyTermType != '2'" :disabled="formData.secrecyTermType != '2'"
:onkeyup="formData.qixian2=formData.qixian2.replace(/[^0-9]/g,'')" :onkeyup="
></el-input> (formData.qixian2 = formData.qixian2.replace(
/[^0-9]/g,
''
))
"
></el-input
>
</el-radio> </el-radio>
<el-radio :label="3" class="inputs" :disabled="radios != 1"> <el-radio :label="3" class="inputs" :disabled="radios != 1">
<el-input <el-input
type="number" type="number"
v-model="formData.qixian3" v-model="formData.qixian3"
:disabled="formData.secrecyTermType != '3'" :disabled="formData.secrecyTermType != '3'"
:onkeyup="formData.qixian3=formData.qixian3.replace(/[^0-9]/g,'')" :onkeyup="
></el-input> (formData.qixian3 = formData.qixian3.replace(
/[^0-9]/g,
''
))
"
></el-input
>
</el-radio> </el-radio>
<el-radio :label="4" class="inputs" :disabled="radios != 1">长期</el-radio> <el-radio :label="4" class="inputs" :disabled="radios != 1"
>长期</el-radio
>
</div> </div>
<div class="bottomRadio"> <div class="bottomRadio">
<el-radio :label="5"> <el-radio :label="5">
...@@ -597,7 +698,11 @@ ...@@ -597,7 +698,11 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="知悉范围:" prop="projectContent"> <el-form-item label="知悉范围:" prop="projectContent">
<el-input placeholder="请输入" type="textarea" v-model="formData.range"></el-input> <el-input
placeholder="请输入"
type="textarea"
v-model="formData.range"
></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
...@@ -621,11 +726,11 @@ export default { ...@@ -621,11 +726,11 @@ export default {
// ) // )
//console.log(this.ruleForm.reviewer); //console.log(this.ruleForm.reviewer);
if (value == 1) { if (value == 1) {
console.log(this.dialogForm.secrecyTermBasisType) console.log(this.dialogForm.secrecyTermBasisType);
if (!this.dialogForm.secrecyTermBasisType) { if (!this.dialogForm.secrecyTermBasisType) {
callback('请选择解密依据') callback("请选择解密依据");
} else { } else {
callback() callback();
} }
} else { } else {
if (!this.dialogForm.secrecyTermBasisContent.trim()) { if (!this.dialogForm.secrecyTermBasisContent.trim()) {
...@@ -634,66 +739,66 @@ export default { ...@@ -634,66 +739,66 @@ export default {
// }else{ // }else{
// callback() // callback()
// } // }
callback('请填写解密理由') callback("请填写解密理由");
} else { } else {
callback() callback();
}
} }
} }
};
return { return {
dmzrrList: [], dmzrrList: [],
uIndex: 0, uIndex: 0,
confClassifiedBasisList: [], confClassifiedBasisList: [],
className: ['2'], className: ["2"],
dialogVisible: false, dialogVisible: false,
dialogVisibles: false, dialogVisibles: false,
radios: '', radios: "",
formData: { formData: {
secrecyTermType: 1, secrecyTermType: 1,
classification: '', classification: "",
range: '', range: "",
qixian1: '', qixian1: "",
qixian2: '', qixian2: "",
qixian3: '', qixian3: "",
qixian4: '', qixian4: "",
qixian5: '', qixian5: "",
}, },
ruleForm: { ruleForm: {
afterSecrecyTermContent: '请选择', afterSecrecyTermContent: "请选择",
}, },
dataList: [], dataList: [],
ruled: {}, ruled: {},
rulesd: { rulesd: {
afterRange: [ afterRange: [
{ required: true, message: '请选择密级', trigger: 'blur' }, { required: true, message: "请选择密级", trigger: "blur" },
], ],
afterSecrecyTermContent: [ afterSecrecyTermContent: [
{ required: true, message: '请选择密级', trigger: 'blur' }, { required: true, message: "请选择密级", trigger: "blur" },
], ],
afterClassification: [ afterClassification: [
{ required: true, message: '请选择密级', trigger: 'blur' }, { required: true, message: "请选择密级", trigger: "blur" },
], ],
decryptType: [ decryptType: [
{ required: true, message: '请选择类型', trigger: 'blur' }, { required: true, message: "请选择类型", trigger: "blur" },
], ],
decryptMethod: [ decryptMethod: [
{ required: true, message: '请选择类型', trigger: 'blur' }, { required: true, message: "请选择类型", trigger: "blur" },
], ],
basisType: [ basisType: [
{ {
required: true, required: true,
validator: checkundertakerBasis, validator: checkundertakerBasis,
trigger: 'change', trigger: "change",
}, },
], ],
undertaker: [ undertaker: [
{ required: true, message: '请选择承办人', trigger: 'blur' }, { required: true, message: "请选择承办人", trigger: "blur" },
], ],
classifiedPerson: [ classifiedPerson: [
{ required: true, message: '请选择定密责任人', trigger: 'blur' }, { required: true, message: "请选择定密责任人", trigger: "blur" },
], ],
decryptTime: [ decryptTime: [
{ required: true, message: '请选择时间', trigger: 'blur' }, { required: true, message: "请选择时间", trigger: "blur" },
], ],
}, },
mainData: [], mainData: [],
...@@ -708,105 +813,105 @@ export default { ...@@ -708,105 +813,105 @@ export default {
page: 1, page: 1,
}, },
dialogForm: { dialogForm: {
basisType: '1', basisType: "1",
afterClassification: '', afterClassification: "",
afterRange: '', afterRange: "",
afterSecrecyTermContent: '', afterSecrecyTermContent: "",
afterSecrecyTermType: 1, afterSecrecyTermType: 1,
beforeClassification: '', beforeClassification: "",
beforeRange: '', beforeRange: "",
beforeSecrecyTermContent: '', beforeSecrecyTermContent: "",
beforeSecrecyTermType: 1, beforeSecrecyTermType: 1,
classifiedId: '', classifiedId: "",
classifiedPerson: '', classifiedPerson: "",
classifiedPersonOpinion: '', classifiedPersonOpinion: "",
createTime: '', createTime: "",
decryptAuditStatus: 1, decryptAuditStatus: 1,
decryptExecutionStatus: 1, decryptExecutionStatus: 1,
decryptMethod: 1, decryptMethod: 1,
decryptTime: '', decryptTime: "",
decryptType: 3, decryptType: 3,
id: '', id: "",
secrecyTermBasisContent: '', secrecyTermBasisContent: "",
secrecyTermBasisType: '', secrecyTermBasisType: "",
undertaker: '', undertaker: "",
undertakerOpinion: '', undertakerOpinion: "",
}, },
dialogForms: { dialogForms: {
secrecyTermType: 1, secrecyTermType: 1,
qixian1: '', qixian1: "",
qixian2: '', qixian2: "",
qixian3: '', qixian3: "",
}, },
} };
}, },
directives: { directives: {
'el-select-lazyloading': { "el-select-lazyloading": {
bind(el, binding) { bind(el, binding) {
let SELECT_DOM = el.querySelector( let SELECT_DOM = el.querySelector(
'.el-select-dropdown .el-select-dropdown__wrap' ".el-select-dropdown .el-select-dropdown__wrap"
) );
// console.log(SELECT_DOM); // console.log(SELECT_DOM);
SELECT_DOM.addEventListener('scroll', function () { SELECT_DOM.addEventListener("scroll", function () {
let condition = let condition =
this.scrollHeight - this.scrollTop <= this.clientHeight + 10 this.scrollHeight - this.scrollTop <= this.clientHeight + 10;
if (condition) { if (condition) {
binding.value() binding.value();
} }
}) });
}, },
}, },
}, },
mounted() { mounted() {
sessionStorage.setItem('msgInfo', true) sessionStorage.setItem("msgInfo", true);
}, },
created() { created() {
//常用语列表 //常用语列表
this.$axios.getOption().then((res) => { this.$axios.getOption().then((res) => {
console.log('常用语', res) // console.log("常用语", res);
this.dmzrrList = res.data.data.dmzrrList this.dmzrrList = res.data.data.dmzrrList;
}) });
let params = { let params = {
editUnitId: this.$route.operatorUnit, editUnitId: this.$route.operatorUnit,
secretType: 3, secretType: 3,
type: 0, type: 0,
} };
this.$axios this.$axios
.getSelectVal(params) .getSelectVal(params)
.then((res) => { .then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.mainData = res.data.data this.mainData = res.data.data;
} else { } else {
this.$message.error(res.data.data) this.$message.error(res.data.data);
} }
}) })
.then((res) => { .then((res) => {
this.getData() this.getData();
}) });
}, },
methods: { methods: {
selectcommonWord(val) { selectcommonWord(val) {
this.dialogForm.classifiedPersonOpinion = val this.dialogForm.classifiedPersonOpinion = val;
}, },
jijuChange(val) { jijuChange(val) {
for (let i in this.confClassifiedBasisList) { for (let i in this.confClassifiedBasisList) {
if (val == this.confClassifiedBasisList[i].id) { if (val == this.confClassifiedBasisList[i].id) {
console.log(this.confClassifiedBasisList[i]) // console.log(this.confClassifiedBasisList[i]);
this.dialogForm.afterClassification = this.dialogForm.afterClassification =
this.confClassifiedBasisList[i].classification this.confClassifiedBasisList[i].classification;
this.dialogForm.afterRange = this.confClassifiedBasisList[i].range this.dialogForm.afterRange = this.confClassifiedBasisList[i].range;
this.dialogForm.afterSecrecyTermType = this.dialogForm.afterSecrecyTermType =
this.confClassifiedBasisList[i].secrecyTermType this.confClassifiedBasisList[i].secrecyTermType;
this.dialogForm.afterSecrecyTermContent = this.dialogForm.afterSecrecyTermContent =
this.confClassifiedBasisList[i].secrecyTermContent this.confClassifiedBasisList[i].secrecyTermContent;
} }
} }
}, },
bassisTypeChange(value) { bassisTypeChange(value) {
console.log(value) console.log(value);
if (value == 1) { if (value == 1) {
this.$set(this.dialogForm, 'secrecyTermBasisContent', '') this.$set(this.dialogForm, "secrecyTermBasisContent", "");
// this.dialogForm.secrecyTermBasisType = '' // this.dialogForm.secrecyTermBasisType = ''
} else { } else {
// this.$set(this.dialogForm, 'secrecyTermBasisType', '') // this.$set(this.dialogForm, 'secrecyTermBasisType', '')
...@@ -816,29 +921,21 @@ export default { ...@@ -816,29 +921,21 @@ export default {
// console.log(value) // console.log(value)
}, },
getYiju(val) { getYiju(val) {
// if (val == 1) { this.confClassifiedBasisList = [];
// // this.dialogForm.secrecyTermBasisType = '' let arr = [];
// } if (this.ruleForm.type == 1 || this.ruleForm.type == 2) {
this.confClassifiedBasisList = [] arr = this.mainData.confClassifiedList;
for (let i = 0; i < this.mainData.confClassifiedBasisList.length; i++) { } else {
console.log('11111111', this.dialogForm.afterClassification) arr = this.mainData.confClassifiedBasisList;
}
for (let i = 0; i < arr.length; i++) {
if (this.dialogForm.afterClassification) { if (this.dialogForm.afterClassification) {
if ( if (arr[i].classification == this.dialogForm.afterClassification) {
this.mainData.confClassifiedBasisList[i].classification == this.confClassifiedBasisList.push(arr[i]);
this.dialogForm.afterClassification
) {
this.confClassifiedBasisList.push(
this.mainData.confClassifiedBasisList[i]
)
} }
} else { } else {
if ( if (arr[i].classification == this.ruleForm.classification) {
this.mainData.confClassifiedBasisList[i].classification == this.confClassifiedBasisList.push(arr[i]);
this.ruleForm.classification
) {
this.confClassifiedBasisList.push(
this.mainData.confClassifiedBasisList[i]
)
} }
} }
} }
...@@ -858,14 +955,14 @@ export default { ...@@ -858,14 +955,14 @@ export default {
undertaker: this.dialogForm.undertaker, undertaker: this.dialogForm.undertaker,
unitReviewer: this.ruleForm.unitReviewer, unitReviewer: this.ruleForm.unitReviewer,
editUnitId: this.$route.query.operatorUnit, editUnitId: this.$route.query.operatorUnit,
} };
this.$axios.getSelectEmployeeThree(data).then((res) => { this.$axios.getSelectEmployeeThree(data).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.ems4 = res.data.data this.ems4 = res.data.data;
this.getDetails4() this.getDetails4();
} else { } else {
} }
}) });
}, },
getEmPerson4() { getEmPerson4() {
// console.log(this.dialogForm); // console.log(this.dialogForm);
...@@ -881,14 +978,14 @@ export default { ...@@ -881,14 +978,14 @@ export default {
unitReviewer: this.ruleForm.unitReviewer, unitReviewer: this.ruleForm.unitReviewer,
editUnitId: this.$route.query.operatorUnit, editUnitId: this.$route.query.operatorUnit,
type: this.ruleForm.type, type: this.ruleForm.type,
} };
this.$axios.getSelectEmployeeFour(data).then((res) => { this.$axios.getSelectEmployeeFour(data).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.ems1 = res.data.data this.ems1 = res.data.data;
this.getDetails1() this.getDetails1();
} else { } else {
} }
}) });
}, },
getEmPerson5() { getEmPerson5() {
// console.log(this.dialogForm); // console.log(this.dialogForm);
...@@ -903,203 +1000,202 @@ export default { ...@@ -903,203 +1000,202 @@ export default {
undertaker: this.ruleForm.undertaker, undertaker: this.ruleForm.undertaker,
unitReviewer: this.ruleForm.unitReviewer, unitReviewer: this.ruleForm.unitReviewer,
editUnitId: this.$route.query.operatorUnit, editUnitId: this.$route.query.operatorUnit,
} };
this.$axios.getSelectEmployeeSix(data).then((res) => { this.$axios.getSelectEmployeeSix(data).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.ems5 = res.data.data this.ems5 = res.data.data;
this.getDetails5() this.getDetails5();
} else { } else {
} }
}) });
}, },
searchPeople1(query) { searchPeople1(query) {
this.listData.page = 1 this.listData.page = 1;
this.listData.limit = 8 this.listData.limit = 8;
this.selectVal = query this.selectVal = query;
if (query) { if (query) {
let num = this.listData.page * this.listData.limit let num = this.listData.page * this.listData.limit;
let em = [] let em = [];
em = this.ems1.filter((item) => { em = this.ems1.filter((item) => {
if (item.personName.indexOf(query) != -1) { if (item.personName.indexOf(query) != -1) {
//这里匹配的是选项的value,也可以改成label //这里匹配的是选项的value,也可以改成label
return true return true;
} }
}) });
this.em1 = em.filter((item, index, arr) => { this.em1 = em.filter((item, index, arr) => {
return index < num return index < num;
}) });
} else { } else {
this.getDetails1() this.getDetails1();
} }
}, },
searchPeople4(query) { searchPeople4(query) {
this.listData.page = 1 this.listData.page = 1;
this.listData.limit = 8 this.listData.limit = 8;
this.selectVal = query this.selectVal = query;
if (query) { if (query) {
let num = this.listData.page * this.listData.limit let num = this.listData.page * this.listData.limit;
let em = [] let em = [];
em = this.ems4.filter((item) => { em = this.ems4.filter((item) => {
if (item.personName.indexOf(query) != -1) { if (item.personName.indexOf(query) != -1) {
//这里匹配的是选项的value,也可以改成label //这里匹配的是选项的value,也可以改成label
return true return true;
} }
}) });
this.em4 = em.filter((item, index, arr) => { this.em4 = em.filter((item, index, arr) => {
return index < num return index < num;
}) });
} else { } else {
this.getDetails4() this.getDetails4();
} }
}, },
searchPeople5(query) { searchPeople5(query) {
this.listData.page = 1 this.listData.page = 1;
this.listData.limit = 8 this.listData.limit = 8;
this.selectVal = query this.selectVal = query;
if (query) { if (query) {
let num = this.listData.page * this.listData.limit let num = this.listData.page * this.listData.limit;
let em = [] let em = [];
em = this.ems5.filter((item) => { em = this.ems5.filter((item) => {
if (item.personName.indexOf(query) != -1) { if (item.personName.indexOf(query) != -1) {
//这里匹配的是选项的value,也可以改成label //这里匹配的是选项的value,也可以改成label
return true return true;
} }
}) });
this.em5 = em.filter((item, index, arr) => { this.em5 = em.filter((item, index, arr) => {
return index < num return index < num;
}) });
} else { } else {
this.getDetails4() this.getDetails4();
} }
}, },
handleFocus5() { handleFocus5() {
// console.log(123211); // console.log(123211);
this.listData.page = 1 this.listData.page = 1;
this.listData.limit = 8 this.listData.limit = 8;
this.getDetails5() this.getDetails5();
}, },
handleFocus4() { handleFocus4() {
// console.log(123211); // console.log(123211);
this.listData.page = 1 this.listData.page = 1;
this.listData.limit = 8 this.listData.limit = 8;
this.getDetails4() this.getDetails4();
}, },
handleFocus1() { handleFocus1() {
// console.log(123211); // console.log(123211);
this.listData.page = 1 this.listData.page = 1;
this.listData.limit = 8 this.listData.limit = 8;
this.getDetails1() this.getDetails1();
}, },
lazyloading1() { lazyloading1() {
this.listData.page++ this.listData.page++;
this.getDetails1() this.getDetails1();
}, },
lazyloading4() { lazyloading4() {
this.listData.page++ this.listData.page++;
this.getDetails4() this.getDetails4();
}, },
getDetails1() { getDetails1() {
let num = this.listData.page * this.listData.limit let num = this.listData.page * this.listData.limit;
this.em1 = this.ems1.filter((item, index, arr) => { this.em1 = this.ems1.filter((item, index, arr) => {
return index < num //这里默认allData已经取到了数据,就不把获取allData数据的方法放上来了 return index < num; //这里默认allData已经取到了数据,就不把获取allData数据的方法放上来了
}) });
}, },
getDetails4() { getDetails4() {
let num = this.listData.page * this.listData.limit let num = this.listData.page * this.listData.limit;
this.em4 = this.ems4.filter((item, index, arr) => { this.em4 = this.ems4.filter((item, index, arr) => {
return index < num //这里默认allData已经取到了数据,就不把获取allData数据的方法放上来了 return index < num; //这里默认allData已经取到了数据,就不把获取allData数据的方法放上来了
}) });
}, },
getDetails5() { getDetails5() {
let num = this.listData.page * this.listData.limit let num = this.listData.page * this.listData.limit;
this.em5 = this.ems5.filter((item, index, arr) => { this.em5 = this.ems5.filter((item, index, arr) => {
return index < num //这里默认allData已经取到了数据,就不把获取allData数据的方法放上来了 return index < num; //这里默认allData已经取到了数据,就不把获取allData数据的方法放上来了
}) });
}, },
//打开二次弹框 //打开二次弹框
changeDate() { changeDate() {
console.log(this.ruleForm) console.log("二次", JSON.parse(JSON.stringify(this.dialogForm)));
console.log('二次', JSON.parse(JSON.stringify(this.dialogForm)))
if (this.dialogForm.afterClassification) { if (this.dialogForm.afterClassification) {
//变更过 //变更过
this.formData.classification = this.dialogForm.afterClassification this.formData.classification = this.dialogForm.afterClassification;
if (this.dialogForm.afterRange) { if (this.dialogForm.afterRange) {
this.formData.range = this.dialogForm.afterRange this.formData.range = this.dialogForm.afterRange;
} }
if (!this.dialogForm.afterSecrecyTermType) { if (!this.dialogForm.afterSecrecyTermType) {
this.radios = 1 this.radios = 1;
this.formData.secrecyTermType = 1 this.formData.secrecyTermType = 1;
} else { } else {
this.formData.secrecyTermType = this.dialogForm.afterSecrecyTermType this.formData.secrecyTermType = this.dialogForm.afterSecrecyTermType;
if ( if (
this.formData.secrecyTermType == '5' || this.formData.secrecyTermType == "5" ||
this.formData.secrecyTermType == '6' this.formData.secrecyTermType == "6"
) { ) {
this.radios = '' this.radios = "";
} else { } else {
this.radios = 1 this.radios = 1;
} }
if (this.formData.secrecyTermType == 1) { if (this.formData.secrecyTermType == 1) {
this.formData.qixian1 = this.dialogForm.afterSecrecyTermContent this.formData.qixian1 = this.dialogForm.afterSecrecyTermContent;
} }
if (this.formData.secrecyTermType == 2) { if (this.formData.secrecyTermType == 2) {
this.formData.qixian2 = this.dialogForm.afterSecrecyTermContent this.formData.qixian2 = this.dialogForm.afterSecrecyTermContent;
} }
if (this.formData.secrecyTermType == 3) { if (this.formData.secrecyTermType == 3) {
this.formData.qixian3 = this.dialogForm.afterSecrecyTermContent this.formData.qixian3 = this.dialogForm.afterSecrecyTermContent;
} }
if (this.formData.secrecyTermType == 5) { if (this.formData.secrecyTermType == 5) {
this.formData.qixian4 = this.dialogForm.afterSecrecyTermContent this.formData.qixian4 = this.dialogForm.afterSecrecyTermContent;
} }
if (this.formData.secrecyTermType == 6) { if (this.formData.secrecyTermType == 6) {
this.formData.qixian5 = this.dialogForm.afterSecrecyTermContent this.formData.qixian5 = this.dialogForm.afterSecrecyTermContent;
} }
} }
} else { } else {
//未变更过 //未变更过
this.formData.classification = this.ruleForm.classification this.formData.classification = this.ruleForm.classification;
this.formData.range = this.ruleForm.range this.formData.range = this.ruleForm.range;
if (this.ruleForm.secrecyTermType == 1) { if (this.ruleForm.secrecyTermType == 1) {
this.radios = 1 this.radios = 1;
this.formData.secrecyTermType = 1 this.formData.secrecyTermType = 1;
} else { } else {
console.log('ruleForm.secrecyTermType') console.log("ruleForm.secrecyTermType");
// this.formData.secrecyTermType = this.ruleForm.secrecyTermType // this.formData.secrecyTermType = this.ruleForm.secrecyTermType
this.$set( this.$set(
this.formData, this.formData,
'secrecyTermType', "secrecyTermType",
Number(this.ruleForm.secrecyTermType) Number(this.ruleForm.secrecyTermType)
) );
console.log( console.log(
this.formData.secrecyTermType, this.formData.secrecyTermType,
typeof this.formData.secrecyTermType typeof this.formData.secrecyTermType
) );
if ( if (
this.ruleForm.secrecyTermType == 5 || this.ruleForm.secrecyTermType == 5 ||
this.ruleForm.secrecyTermType == 6 this.ruleForm.secrecyTermType == 6
) { ) {
this.radios = '' this.radios = "";
} else { } else {
this.radios = 1 this.radios = 1;
} }
// console.log(this.ruleForm.secrecyTermType) // console.log(this.ruleForm.secrecyTermType)
if (this.ruleForm.secrecyTermType == 1) { if (this.ruleForm.secrecyTermType == 1) {
this.formData.secrecyTermType = 1 this.formData.secrecyTermType = 1;
this.formData.qixian1 = this.ruleForm.secrecyTermContent this.formData.qixian1 = this.ruleForm.secrecyTermContent;
} }
if (this.ruleForm.secrecyTermType == 2) { if (this.ruleForm.secrecyTermType == 2) {
this.formData.secrecyTermType = 2 this.formData.secrecyTermType = 2;
this.formData.qixian2 = this.ruleForm.secrecyTermContent this.formData.qixian2 = this.ruleForm.secrecyTermContent;
} }
if (this.ruleForm.secrecyTermType == 3) { if (this.ruleForm.secrecyTermType == 3) {
this.formData.qixian3 = this.ruleForm.secrecyTermContent this.formData.qixian3 = this.ruleForm.secrecyTermContent;
} }
if (this.ruleForm.secrecyTermType == 5) { if (this.ruleForm.secrecyTermType == 5) {
this.formData.qixian4 = this.ruleForm.secrecyTermContent this.formData.qixian4 = this.ruleForm.secrecyTermContent;
} }
if (this.ruleForm.secrecyTermType == 6) { if (this.ruleForm.secrecyTermType == 6) {
this.formData.qixian5 = this.ruleForm.secrecyTermContent this.formData.qixian5 = this.ruleForm.secrecyTermContent;
} }
} }
} }
...@@ -1141,119 +1237,117 @@ export default { ...@@ -1141,119 +1237,117 @@ export default {
// } // }
// } // }
this.dialogVisibles = true this.dialogVisibles = true;
}, },
changeQixian() { changeQixian() {
// if()
if (this.radios) { if (this.radios) {
this.formData.secrecyTermType = 1 this.formData.secrecyTermType = 1;
} }
this.formData.qixian1 = '' this.formData.qixian1 = "";
this.formData.qixian2 = '' this.formData.qixian2 = "";
this.formData.qixian3 = '' this.formData.qixian3 = "";
this.formData.qixian4 = '' this.formData.qixian4 = "";
this.formData.qixian5 = '' this.formData.qixian5 = "";
this.$nextTick(() => { this.$nextTick(() => {
this.$forceUpdate() this.$forceUpdate();
}) });
}, },
getClass() { getClass() {
console.log(this.ruleForm)
if (this.ruleForm.changeStatus == 1) { if (this.ruleForm.changeStatus == 1) {
return 'ddm' return "ddm";
} }
if (this.ruleForm.changeStatus == 2) { if (this.ruleForm.changeStatus == 2) {
return 'bmz' return "bmz";
} }
if (this.ruleForm.changeStatus == 3) { if (this.ruleForm.changeStatus == 3) {
return 'bfjm' return "bfjm";
} }
if (this.ruleForm.changeStatus == 4) { if (this.ruleForm.changeStatus == 4) {
return 'ggmm' return "ggmm";
} }
if (this.ruleForm.changeStatus == 5) { if (this.ruleForm.changeStatus == 5) {
return 'ygk' return "ygk";
} }
if (this.ruleForm.changeStatus == 6) { if (this.ruleForm.changeStatus == 6) {
return 'bgz' return "bgz";
} }
if (this.ruleForm.changeStatus == 7) { if (this.ruleForm.changeStatus == 7) {
return 'jmz' return "jmz";
} }
if (this.ruleForm.changeStatus == 8) { if (this.ruleForm.changeStatus == 8) {
return 'gkz' return "gkz";
} }
}, },
//保密期限切换清空选项数据 //保密期限切换清空选项数据
changeSecrecyTermType() { changeSecrecyTermType() {
if ( if (
this.formData.secrecyTermType == '5' || this.formData.secrecyTermType == "5" ||
this.formData.secrecyTermType == '6' this.formData.secrecyTermType == "6"
) { ) {
this.radios = '' this.radios = "";
} }
this.formData.qixian1 = '' this.formData.qixian1 = "";
this.formData.qixian2 = '' this.formData.qixian2 = "";
this.formData.qixian3 = '' this.formData.qixian3 = "";
this.formData.qixian4 = '' this.formData.qixian4 = "";
this.formData.qixian5 = '' this.formData.qixian5 = "";
this.$forceUpdate() this.$forceUpdate();
}, },
toYuLan() { toYuLan() {
this.$axios.caigouPreview(this.ruleForm).then((res) => { this.$axios.caigouPreview(this.ruleForm).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
window.open(urlConfig.production_https + res.data.data) window.open(urlConfig.production_https + res.data.data);
} }
}) });
}, },
showUnit(row) { showUnit(row) {
if (row && this.mainData.newPurchasingUnitList) { if (row && this.mainData.newPurchasingUnitList) {
let index = this.mainData.newPurchasingUnitList.findIndex((item) => { let index = this.mainData.newPurchasingUnitList.findIndex((item) => {
return item.id == row return item.id == row;
}) });
if (index != -1) { if (index != -1) {
if (this.mainData.newPurchasingUnitList[index].manageOptions) { if (this.mainData.newPurchasingUnitList[index].manageOptions) {
return this.mainData.newPurchasingUnitList[index].manageOptions return this.mainData.newPurchasingUnitList[index].manageOptions;
} }
} }
} }
}, },
showJieMi(item) { showJieMi(item) {
if (item == 1) { if (item == 1) {
return '解密并公开' return "解密并公开";
} }
if (item == 2) { if (item == 2) {
return '解密后内部使用' return "解密后内部使用";
} }
if (item == 3) { if (item == 3) {
return '部分解密' return "部分解密";
} }
}, },
showStatus(item) { showStatus(item) {
if (item == 1) { if (item == 1) {
return '待定密' return "待定密";
} }
if (item == 2) { if (item == 2) {
return '保密中' return "保密中";
} }
if (item == 3) { if (item == 3) {
return '部分解密' return "部分解密";
} }
if (item == 4) { if (item == 4) {
return '工作秘密' return "工作秘密";
} }
if (item == 5) { if (item == 5) {
return '已公开' return "已公开";
} }
}, },
showChengdu(row) { showChengdu(row) {
if (row && this.mainData.urgencyList) { if (row && this.mainData.urgencyList) {
let index = this.mainData.urgencyList.findIndex((item) => { let index = this.mainData.urgencyList.findIndex((item) => {
return item.id == row return item.id == row;
}) });
if (index != -1) { if (index != -1) {
if (this.mainData.urgencyList[index].manageOptions) { if (this.mainData.urgencyList[index].manageOptions) {
return this.mainData.urgencyList[index].manageOptions return this.mainData.urgencyList[index].manageOptions;
} }
} }
} }
...@@ -1261,11 +1355,11 @@ export default { ...@@ -1261,11 +1355,11 @@ export default {
showQiTaPerson(row) { showQiTaPerson(row) {
if (row && this.mainData.employeeList) { if (row && this.mainData.employeeList) {
let index = this.mainData.employeeList.findIndex((item) => { let index = this.mainData.employeeList.findIndex((item) => {
return item.personId == row return item.personId == row;
}) });
if (index != -1) { if (index != -1) {
if (this.mainData.employeeList[index].personName) { if (this.mainData.employeeList[index].personName) {
return this.mainData.employeeList[index].personName return this.mainData.employeeList[index].personName;
} }
} }
} }
...@@ -1274,12 +1368,12 @@ export default { ...@@ -1274,12 +1368,12 @@ export default {
if (row && this.mainData.specifyClassifiedResponsibleList) { if (row && this.mainData.specifyClassifiedResponsibleList) {
let index = this.mainData.specifyClassifiedResponsibleList.findIndex( let index = this.mainData.specifyClassifiedResponsibleList.findIndex(
(item) => { (item) => {
return item.personId == row return item.personId == row;
} }
) );
if (this.mainData.specifyClassifiedResponsibleList[index].personName) { if (this.mainData.specifyClassifiedResponsibleList[index].personName) {
return this.mainData.specifyClassifiedResponsibleList[index] return this.mainData.specifyClassifiedResponsibleList[index]
.personName .personName;
} }
} }
}, },
...@@ -1287,12 +1381,12 @@ export default { ...@@ -1287,12 +1381,12 @@ export default {
if (row && this.mainData.legalClassifiedResponsibleList) { if (row && this.mainData.legalClassifiedResponsibleList) {
let index = this.mainData.legalClassifiedResponsibleList.findIndex( let index = this.mainData.legalClassifiedResponsibleList.findIndex(
(item) => { (item) => {
return item.personId == row return item.personId == row;
} }
) );
if (this.mainData.legalClassifiedResponsibleList[index].personName) { if (this.mainData.legalClassifiedResponsibleList[index].personName) {
return this.mainData.legalClassifiedResponsibleList[index].personName return this.mainData.legalClassifiedResponsibleList[index].personName;
} }
} }
}, },
...@@ -1300,44 +1394,44 @@ export default { ...@@ -1300,44 +1394,44 @@ export default {
if (row) { if (row) {
if (content) { if (content) {
if (row == 1) { if (row == 1) {
return content + '年' return content + "年";
} }
if (row == 2) { if (row == 2) {
return content + '月' return content + "月";
} }
if (row == 3) { if (row == 3) {
return content + '日' return content + "日";
} }
if (row == 4) { if (row == 4) {
// console.log("row"); // console.log("row");
return '长期' return "长期";
} }
return content return content;
} }
} }
}, },
showYiJu(row) { showYiJu(row) {
if (row && this.mainData.confClassifiedBasisList) { if (row && this.mainData.confClassifiedBasisList) {
let index = this.mainData.confClassifiedBasisList.findIndex((item) => { let index = this.mainData.confClassifiedBasisList.findIndex((item) => {
return item.id == row return item.id == row;
}) });
if ((index || index == 0) && index != -1) { if ((index || index == 0) && index != -1) {
// console.log(this.mainData.confClassifiedBasisList[index].basisName); // console.log(this.mainData.confClassifiedBasisList[index].basisName);
if (this.mainData.confClassifiedBasisList[index].basisName) { if (this.mainData.confClassifiedBasisList[index].basisName) {
return this.mainData.confClassifiedBasisList[index].basisName return this.mainData.confClassifiedBasisList[index].basisName;
} }
} else { } else {
return row return row;
} }
} }
}, },
showMiJi(row) { showMiJi(row) {
if (row && this.mainData.classificationList) { if (row && this.mainData.classificationList) {
let index = this.mainData.classificationList.findIndex((item) => { let index = this.mainData.classificationList.findIndex((item) => {
return item.id == row + '' return item.id == row + "";
}) });
if (this.mainData.classificationList[index].manageOptions) { if (this.mainData.classificationList[index].manageOptions) {
return this.mainData.classificationList[index].manageOptions return this.mainData.classificationList[index].manageOptions;
} }
// console.log("miji", row); // console.log("miji", row);
} }
...@@ -1345,217 +1439,216 @@ export default { ...@@ -1345,217 +1439,216 @@ export default {
showTypeName(item) { showTypeName(item) {
if (item == 1) { if (item == 1) {
return '发文拟稿' return "发文拟稿";
} }
if (item == 2) { if (item == 2) {
return '涉密采购' return "涉密采购";
} }
if (item == 3) { if (item == 3) {
return '涉密事项' return "涉密事项";
} }
}, },
//修改解密 //修改解密
updata(item) { updata(item) {
this.dialogForm = item this.dialogForm = item;
this.getEmPerson3() this.getEmPerson3();
this.getEmPerson4() this.getEmPerson4();
this.dialogForm.beforeClassification = this.ruleForm.classification this.dialogForm.beforeClassification = this.ruleForm.classification;
this.dialogForm.beforeRange = this.ruleForm.range this.dialogForm.beforeRange = this.ruleForm.range;
this.dialogForm.beforeSecrecyTermType = this.ruleForm.secrecyTermType this.dialogForm.beforeSecrecyTermType = this.ruleForm.secrecyTermType;
this.dialogForm.beforeSecrecyTermContent = this.dialogForm.beforeSecrecyTermContent =
this.ruleForm.secrecyTermContent this.ruleForm.secrecyTermContent;
console.log(
this.dialogForm.beforeSecrecyTermType,
this.dialogForm.beforeSecrecyTermContent
)
if (this.dialogForm.secrecyTermBasisType) { if (this.dialogForm.secrecyTermBasisType) {
this.dialogForm.basisType = '1' this.dialogForm.basisType = "1";
console.log(1)
} else if (this.dialogForm.secrecyTermBasisContent) { } else if (this.dialogForm.secrecyTermBasisContent) {
this.dialogForm.basisType = '2' this.dialogForm.basisType = "2";
console.log(2)
} }
this.dialogForm.classifiedId = this.$route.query.id this.dialogForm.classifiedId = this.$route.query.id;
if (!this.dialogForm.afterSecrecyTermContent) { if (!this.dialogForm.afterSecrecyTermContent) {
this.dialogForm.afterSecrecyTermContent = '请选择' this.dialogForm.afterSecrecyTermContent = "请选择";
} }
this.getYiju(2) this.getYiju(2);
this.dialogVisible = true this.dialogVisible = true;
}, },
//获取数据 //获取数据
getData() { getData() {
this.$axios.getRemoveDetail(this.$route.query.id).then((res) => { this.$axios.getRemoveDetail(this.$route.query.id).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.ruleForm = res.data.data.confClassifiedAndDetailsVo console.log(
this.dataList = res.data.data.confClassifiedDecryptVoList "依据id获取数据",
res.data.data.confClassifiedAndDetailsVo,
this.mainData
);
this.ruleForm = res.data.data.confClassifiedAndDetailsVo;
this.dataList = res.data.data.confClassifiedDecryptVoList;
} else { } else {
this.$message.error(res.data.data) this.$message.error(res.data.data);
} }
}) });
}, },
//审核操作 //审核操作
sureShen() { sureShen() {
for (let i = 0; i < this.ems1.length; i++) { for (let i = 0; i < this.ems1.length; i++) {
if (this.ems1[i].personId == this.dialogForm.undertaker) { if (this.ems1[i].personId == this.dialogForm.undertaker) {
this.dialogForm.undertakerName = this.ems1[i].personName this.dialogForm.undertakerName = this.ems1[i].personName;
} }
if (this.ems1[i].personId == this.dialogForm.classifiedPerson) { if (this.ems1[i].personId == this.dialogForm.classifiedPerson) {
this.dialogForm.classifiedPersonName = this.ems1[i].personName this.dialogForm.classifiedPersonName = this.ems1[i].personName;
} }
} }
this.$refs['ruleForm'].validate((valid) => { this.$refs["ruleForm"].validate((valid) => {
if (valid) { if (valid) {
if (this.dialogForm.decryptType != 2) { if (this.dialogForm.decryptType != 2) {
this.dialogForm.afterSecrecyTermContent = '' this.dialogForm.afterSecrecyTermContent = "";
this.dialogForm.afterSecrecyTermType = null this.dialogForm.afterSecrecyTermType = null;
} }
this.dialogForm.beforeClassification = this.ruleForm.classification this.dialogForm.beforeClassification = this.ruleForm.classification;
this.dialogForm.beforeRange = this.ruleForm.range this.dialogForm.beforeRange = this.ruleForm.range;
this.dialogForm.beforeSecrecyTermType = this.ruleForm.secrecyTermType this.dialogForm.beforeSecrecyTermType = this.ruleForm.secrecyTermType;
this.dialogForm.beforeSecrecyTermContent = this.dialogForm.beforeSecrecyTermContent =
this.ruleForm.secrecyTermContent this.ruleForm.secrecyTermContent;
this.$axios.decryptAuditPass(this.dialogForm).then((res) => { this.$axios.decryptAuditPass(this.dialogForm).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.$message.success('操作成功!') this.$message.success("操作成功!");
this.getData() this.getData();
this.handleClose() this.handleClose();
} else { } else {
this.$message.error(res.data.data) this.$message.error(res.data.data);
} }
}) });
} else { } else {
this.$message.error('请先填写完表单!') this.$message.error("请先填写完表单!");
} }
}) });
}, },
//预览操作 //预览操作
yulans() { yulans() {
for (let i = 0; i < this.ems1.length; i++) { for (let i = 0; i < this.ems1.length; i++) {
if (this.ems1[i].personId == this.dialogForm.undertaker) { if (this.ems1[i].personId == this.dialogForm.undertaker) {
this.dialogForm.undertakerName = this.ems1[i].personName this.dialogForm.undertakerName = this.ems1[i].personName;
} }
if (this.ems1[i].personId == this.dialogForm.classifiedPerson) { if (this.ems1[i].personId == this.dialogForm.classifiedPerson) {
this.dialogForm.classifiedPersonName = this.ems1[i].personName this.dialogForm.classifiedPersonName = this.ems1[i].personName;
} }
} }
this.$refs['ruleForm'].validate((valid) => { this.$refs["ruleForm"].validate((valid) => {
if (valid) { if (valid) {
if (this.dialogForm.decryptType != 2) { if (this.dialogForm.decryptType != 2) {
this.dialogForm.afterSecrecyTermContent = '' this.dialogForm.afterSecrecyTermContent = "";
this.dialogForm.afterSecrecyTermType = null this.dialogForm.afterSecrecyTermType = null;
} }
this.dialogForm.beforeClassification = this.ruleForm.classification this.dialogForm.beforeClassification = this.ruleForm.classification;
this.dialogForm.beforeRange = this.ruleForm.range this.dialogForm.beforeRange = this.ruleForm.range;
this.dialogForm.beforeSecrecyTermType = this.ruleForm.secrecyTermType this.dialogForm.beforeSecrecyTermType = this.ruleForm.secrecyTermType;
this.dialogForm.beforeSecrecyTermContent = this.dialogForm.beforeSecrecyTermContent =
this.ruleForm.secrecyTermContent this.ruleForm.secrecyTermContent;
let data = this.dialogForm let data = this.dialogForm;
data.documentNumContent = this.ruleForm.documentNumContent data.documentNumContent = this.ruleForm.documentNumContent;
data.issueDate = this.ruleForm.issueDate data.issueDate = this.ruleForm.issueDate;
data.itemName = this.ruleForm.itemName data.itemName = this.ruleForm.itemName;
data.undertaker = this.ruleForm.undertaker data.undertaker = this.ruleForm.undertaker;
data.undertakerOpinion = this.ruleForm.undertakerOpinion data.undertakerOpinion = this.ruleForm.undertakerOpinion;
this.$axios.decrypPreview(data).then((res) => { this.$axios.decrypPreview(data).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
window.open(urlConfig.production_https + res.data.data) window.open(urlConfig.production_https + res.data.data);
} else { } else {
this.$message.error(res.data.data) this.$message.error(res.data.data);
} }
}) });
} else { } else {
this.$message.error('请先填写完表单!') this.$message.error("请先填写完表单!");
} }
}) });
}, },
//保存解密操作 //保存解密操作
sureSave() { sureSave() {
for (let i = 0; i < this.ems1.length; i++) { for (let i = 0; i < this.ems1.length; i++) {
if (this.ems1[i].personId == this.dialogForm.undertaker) { if (this.ems1[i].personId == this.dialogForm.undertaker) {
this.dialogForm.undertakerName = this.ems1[i].personName this.dialogForm.undertakerName = this.ems1[i].personName;
} }
if (this.ems1[i].personId == this.dialogForm.classifiedPerson) { if (this.ems1[i].personId == this.dialogForm.classifiedPerson) {
this.dialogForm.classifiedPersonName = this.ems1[i].personName this.dialogForm.classifiedPersonName = this.ems1[i].personName;
} }
} }
this.$refs['ruleForm'].validate((valid) => { this.$refs["ruleForm"].validate((valid) => {
if (valid) { if (valid) {
this.dialogForm.beforeClassification = this.ruleForm.classification this.dialogForm.beforeClassification = this.ruleForm.classification;
this.dialogForm.beforeRange = this.ruleForm.range this.dialogForm.beforeRange = this.ruleForm.range;
this.dialogForm.beforeSecrecyTermType = this.ruleForm.secrecyTermType this.dialogForm.beforeSecrecyTermType = this.ruleForm.secrecyTermType;
this.dialogForm.beforeSecrecyTermContent = this.dialogForm.beforeSecrecyTermContent =
this.ruleForm.secrecyTermContent this.ruleForm.secrecyTermContent;
if (this.dialogForm.decryptType != 2) { if (this.dialogForm.decryptType != 2) {
this.dialogForm.afterSecrecyTermContent = '' this.dialogForm.afterSecrecyTermContent = "";
this.dialogForm.afterSecrecyTermType = null this.dialogForm.afterSecrecyTermType = null;
} }
// console.log(typeof this.dialogForm.decryptTime); // console.log(typeof this.dialogForm.decryptTime);
// console.log(this.dialogForm); // console.log(this.dialogForm);
this.$axios.newDecryptionOperation(this.dialogForm).then((res) => { this.$axios.newDecryptionOperation(this.dialogForm).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.$message.success('操作成功!') this.$message.success("操作成功!");
this.getData() this.getData();
this.handleClose() this.handleClose();
} else { } else {
this.$message.error(res.data.data) this.$message.error(res.data.data);
} }
}) });
} else { } else {
this.$message.error('请先填写完表单!') this.$message.error("请先填写完表单!");
} }
}) });
}, },
//新增解密操作 //新增解密操作
insert() { insert() {
this.$axios.decryptNew(this.$route.query.id).then((res) => { this.$axios.decryptNew(this.$route.query.id).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.dialogForm.classifiedId = this.$route.query.id this.dialogForm.classifiedId = this.$route.query.id;
this.dialogForm.undertaker = this.ruleForm.undertaker this.dialogForm.undertaker = this.ruleForm.undertaker;
this.dialogForm.secrecyTermBasisType = this.dialogForm.secrecyTermBasisType =
this.ruleForm.classifiedBasisContent this.ruleForm.classifiedBasisContent;
// this.dialogForm.basisType = Number(this.ruleForm.classifiedBasisType) // this.dialogForm.basisType = Number(this.ruleForm.classifiedBasisType)
// this.dialogForm.basisType = this.ruleForm.classifiedBasisContent // this.dialogForm.basisType = this.ruleForm.classifiedBasisContent
if (this.ruleForm.type == 1) { if (this.ruleForm.type == 1) {
if (this.ruleForm.legalClassifiedResponsible) { if (this.ruleForm.legalClassifiedResponsible) {
this.dialogForm.classifiedPerson = this.dialogForm.classifiedPerson =
this.ruleForm.legalClassifiedResponsible this.ruleForm.legalClassifiedResponsible;
} else { } else {
this.dialogForm.classifiedPerson = this.dialogForm.classifiedPerson =
this.ruleForm.specifyClassifiedResponsible this.ruleForm.specifyClassifiedResponsible;
} }
} else { } else {
this.dialogForm.classifiedPerson = this.ruleForm.classifiedReviewer this.dialogForm.classifiedPerson = this.ruleForm.classifiedReviewer;
} }
this.dialogForm.classifiedPersonOpinion = this.dialogForm.classifiedPersonOpinion =
this.ruleForm.classifiedOpinionContent this.ruleForm.classifiedOpinionContent;
if (!this.dialogForm.afterSecrecyTermContent) { if (!this.dialogForm.afterSecrecyTermContent) {
this.dialogForm.afterSecrecyTermContent = '请选择' this.dialogForm.afterSecrecyTermContent = "请选择";
} }
this.getEmPerson3() this.getEmPerson3();
this.getEmPerson4() this.getEmPerson4();
this.getYiju(2) this.getYiju(2);
this.dialogVisible = true this.dialogVisible = true;
this.$forceUpdate() this.$forceUpdate();
} else { } else {
this.$message.error(res.data.data) this.$message.error(res.data.data);
} }
}) });
}, },
//处理解密类型 //处理解密类型
getLeixing(val) { getLeixing(val) {
if (val == 1) { if (val == 1) {
return '维持原定密决定' return "维持原定密决定";
} }
if (val == 2) { if (val == 2) {
return '变更' return "变更";
} }
if (val == 3) { if (val == 3) {
return '解密' return "解密";
} }
}, },
quxiao() { quxiao() {
this.handleClose(1) this.handleClose(1);
}, },
//确定保密期限 //确定保密期限
surechange() { surechange() {
...@@ -1569,122 +1662,121 @@ export default { ...@@ -1569,122 +1662,121 @@ export default {
this.formData.qixian5 this.formData.qixian5
) { ) {
if (this.formData.classification) { if (this.formData.classification) {
this.dialogForm.afterClassification = this.formData.classification this.dialogForm.afterClassification = this.formData.classification;
this.getYiju(1) this.getYiju(1);
} }
if (this.formData.range) { if (this.formData.range) {
this.dialogForm.afterRange = this.formData.range this.dialogForm.afterRange = this.formData.range;
} }
this.dialogForm.afterSecrecyTermType = this.formData.secrecyTermType this.dialogForm.afterSecrecyTermType = this.formData.secrecyTermType;
if (this.dialogForm.afterSecrecyTermType == 1) { if (this.dialogForm.afterSecrecyTermType == 1) {
this.dialogForm.afterSecrecyTermContent = this.formData.qixian1 this.dialogForm.afterSecrecyTermContent = this.formData.qixian1;
} }
if (this.dialogForm.afterSecrecyTermType == 2) { if (this.dialogForm.afterSecrecyTermType == 2) {
this.dialogForm.afterSecrecyTermContent = this.formData.qixian2 this.dialogForm.afterSecrecyTermContent = this.formData.qixian2;
} }
if (this.dialogForm.afterSecrecyTermType == 3) { if (this.dialogForm.afterSecrecyTermType == 3) {
this.dialogForm.afterSecrecyTermContent = this.formData.qixian3 this.dialogForm.afterSecrecyTermContent = this.formData.qixian3;
} }
if (this.dialogForm.afterSecrecyTermType == 5) { if (this.dialogForm.afterSecrecyTermType == 5) {
this.dialogForm.afterSecrecyTermContent = this.formData.qixian4 this.dialogForm.afterSecrecyTermContent = this.formData.qixian4;
} }
if (this.dialogForm.afterSecrecyTermType == 6) { if (this.dialogForm.afterSecrecyTermType == 6) {
this.dialogForm.afterSecrecyTermContent = this.formData.qixian5 this.dialogForm.afterSecrecyTermContent = this.formData.qixian5;
} }
if (!this.dialogForm.afterSecrecyTermContent) { if (!this.dialogForm.afterSecrecyTermContent) {
this.dialogForm.afterSecrecyTermType = '' this.dialogForm.afterSecrecyTermType = "";
} }
this.handleClose(1) this.handleClose(1);
} else { } else {
this.$message.error('请先填写需要修改的内容!') this.$message.error("请先填写需要修改的内容!");
} }
}, },
//切换解密类型清空数据 //切换解密类型清空数据
typeChange() { typeChange() {
console.log(123) console.log(JSON.parse(JSON.stringify(this.dialogForm)));
console.log(JSON.parse(JSON.stringify(this.dialogForm))) this.uIndex = this.dialogForm.decryptType;
this.uIndex = this.dialogForm.decryptType
this.dialogForm = { this.dialogForm = {
afterClassification: '', afterClassification: "",
afterRange: '', afterRange: "",
afterSecrecyTermContent: '', afterSecrecyTermContent: "",
afterSecrecyTermType: '', afterSecrecyTermType: "",
beforeClassification: '', beforeClassification: "",
beforeRange: '', beforeRange: "",
beforeSecrecyTermContent: '', beforeSecrecyTermContent: "",
beforeSecrecyTermType: 1, beforeSecrecyTermType: 1,
classifiedId: this.$route.query.id, classifiedId: this.$route.query.id,
classifiedPerson: this.dialogForm.classifiedPerson, classifiedPerson: this.dialogForm.classifiedPerson,
classifiedPersonOpinion: this.dialogForm.classifiedPersonOpinion, classifiedPersonOpinion: this.dialogForm.classifiedPersonOpinion,
createTime: '', createTime: "",
decryptAuditStatus: 1, decryptAuditStatus: 1,
decryptExecutionStatus: 1, decryptExecutionStatus: 1,
decryptMethod: 1, decryptMethod: 1,
decryptTime: '', decryptTime: "",
decryptType: this.dialogForm.decryptType, decryptType: this.dialogForm.decryptType,
id: this.dialogForm.id, id: this.dialogForm.id,
secrecyTermBasisContent: '', secrecyTermBasisContent: "",
secrecyTermBasisType: '', secrecyTermBasisType: "",
undertaker: this.dialogForm.undertaker, undertaker: this.dialogForm.undertaker,
undertakerOpinion: '', undertakerOpinion: "",
basisType: '1', basisType: "1",
} };
this.$set( this.$set(
this.dialogForm, this.dialogForm,
'secrecyTermBasisType', "secrecyTermBasisType",
this.ruleForm.classifiedBasisContent this.ruleForm.classifiedBasisContent
) );
console.log('dislogForm', JSON.parse(JSON.stringify(this.dialogForm))) console.log("dislogForm", JSON.parse(JSON.stringify(this.dialogForm)));
console.log(this.dialogForm) console.log(this.dialogForm);
// this.dialogForm.secrecyTermBasisType = this.$set(this.ruleForm,''classifiedBasisContent) // this.dialogForm.secrecyTermBasisType = this.$set(this.ruleForm,''classifiedBasisContent)
this.$refs.ruleForm.clearValidate() this.$refs.ruleForm.clearValidate();
this.getYiju(1) this.getYiju(1);
}, },
//dialog的关闭方法 //dialog的关闭方法
handleClose(val) { handleClose(val) {
if (val != 1) { if (val != 1) {
this.dialogVisible = false this.dialogVisible = false;
this.dialogForm = { this.dialogForm = {
afterClassification: '', afterClassification: "",
afterRange: '', afterRange: "",
afterSecrecyTermContent: '', afterSecrecyTermContent: "",
afterSecrecyTermType: '', afterSecrecyTermType: "",
beforeClassification: '', beforeClassification: "",
beforeRange: '', beforeRange: "",
beforeSecrecyTermContent: '', beforeSecrecyTermContent: "",
beforeSecrecyTermType: 1, beforeSecrecyTermType: 1,
classifiedId: '', classifiedId: "",
classifiedPerson: '', classifiedPerson: "",
classifiedPersonOpinion: '', classifiedPersonOpinion: "",
createTime: '', createTime: "",
decryptAuditStatus: 1, decryptAuditStatus: 1,
decryptExecutionStatus: 1, decryptExecutionStatus: 1,
decryptMethod: 1, decryptMethod: 1,
decryptTime: '', decryptTime: "",
decryptType: 3, decryptType: 3,
id: '', id: "",
secrecyTermBasisContent: '', secrecyTermBasisContent: "",
secrecyTermBasisType: '', secrecyTermBasisType: "",
undertaker: '', undertaker: "",
undertakerOpinion: '', undertakerOpinion: "",
} };
} }
this.formData = { this.formData = {
secrecyTermType: 1, secrecyTermType: 1,
classification: '', classification: "",
range: '', range: "",
qixian1: '', qixian1: "",
qixian2: '', qixian2: "",
qixian3: '', qixian3: "",
qixian4: '', qixian4: "",
qixian5: '', qixian5: "",
} };
this.dialogVisibles = false this.dialogVisibles = false;
}, },
}, },
} };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
...@@ -1692,7 +1784,7 @@ export default { ...@@ -1692,7 +1784,7 @@ export default {
::v-deep input::-webkit-inner-spin-button { ::v-deep input::-webkit-inner-spin-button {
-webkit-appearance: none !important; -webkit-appearance: none !important;
} }
::v-deep input[type='number'] { ::v-deep input[type="number"] {
line-height: 1; line-height: 1;
-moz-appearance: textfield !important; -moz-appearance: textfield !important;
} }
...@@ -1827,7 +1919,7 @@ export default { ...@@ -1827,7 +1919,7 @@ export default {
.biangen1 { .biangen1 {
width: 24px; width: 24px;
height: 24px; height: 24px;
background: url('../../../assets/images/biangen1.png'); background: url("../../../assets/images/biangen1.png");
background-repeat: no-repeat; background-repeat: no-repeat;
cursor: pointer; cursor: pointer;
// position: absolute; // position: absolute;
...@@ -1837,7 +1929,7 @@ export default { ...@@ -1837,7 +1929,7 @@ export default {
.biangen2 { .biangen2 {
width: 24px; width: 24px;
height: 24px; height: 24px;
background: url('../../../assets/images/biangen2.png'); background: url("../../../assets/images/biangen2.png");
background-repeat: no-repeat; background-repeat: no-repeat;
} }
} }
...@@ -1915,7 +2007,7 @@ export default { ...@@ -1915,7 +2007,7 @@ export default {
font-size: 28px; font-size: 28px;
letter-spacing: 1px; letter-spacing: 1px;
color: #1a1b27; color: #1a1b27;
font-family: 'SourceHanSansCN-Bold'; font-family: "SourceHanSansCN-Bold";
margin-right: 10px; margin-right: 10px;
margin-top: -13px; margin-top: -13px;
} }
...@@ -1925,42 +2017,42 @@ export default { ...@@ -1925,42 +2017,42 @@ export default {
margin-bottom: 5%; margin-bottom: 5%;
} }
.ddm { .ddm {
background-image: url('../../../assets/public/icon/待定密66_22.png'); background-image: url("../../../assets/public/icon/待定密66_22.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.bmz { .bmz {
background-image: url('../../../assets/public/icon/保密中66_22.png'); background-image: url("../../../assets/public/icon/保密中66_22.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.bfjm { .bfjm {
background-image: url('../../../assets/public/icon/部分解密80_22.png'); background-image: url("../../../assets/public/icon/部分解密80_22.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.ggmm { .ggmm {
background-image: url('../../../assets/public/icon/工作秘密80_22.png'); background-image: url("../../../assets/public/icon/工作秘密80_22.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.ygk { .ygk {
background-image: url('../../../assets/public/icon/已公开66_22.png'); background-image: url("../../../assets/public/icon/已公开66_22.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.bgz { .bgz {
background-image: url('../../../assets/public/icon/biangengzhong.png'); background-image: url("../../../assets/public/icon/biangengzhong.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.jmz { .jmz {
background-image: url('../../../assets/public/icon/jiemizhong.png'); background-image: url("../../../assets/public/icon/jiemizhong.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.gkz { .gkz {
background-image: url('../../../assets/public/icon/gongkaizhong.png'); background-image: url("../../../assets/public/icon/gongkaizhong.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
......
...@@ -2042,6 +2042,13 @@ ...@@ -2042,6 +2042,13 @@
"resolved" "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz" "resolved" "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz"
"version" "2.2.0" "version" "2.2.0"
"bindings@^1.5.0":
"integrity" "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ=="
"resolved" "https://registry.npmmirror.com/bindings/-/bindings-1.5.0.tgz"
"version" "1.5.0"
dependencies:
"file-uri-to-path" "1.0.0"
"bluebird@^3.1.1", "bluebird@^3.5.5": "bluebird@^3.1.1", "bluebird@^3.5.5":
"integrity" "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" "integrity" "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="
"resolved" "https://registry.npmmirror.com/bluebird/-/bluebird-3.7.2.tgz" "resolved" "https://registry.npmmirror.com/bluebird/-/bluebird-3.7.2.tgz"
...@@ -4003,6 +4010,19 @@ ...@@ -4003,6 +4010,19 @@
"resolved" "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz" "resolved" "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz"
"version" "1.0.0" "version" "1.0.0"
"fsevents@^1.2.7":
"integrity" "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw=="
"resolved" "https://registry.npmmirror.com/fsevents/-/fsevents-1.2.13.tgz"
"version" "1.2.13"
dependencies:
"bindings" "^1.5.0"
"nan" "^2.12.1"
"fsevents@~2.3.2":
"integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="
"resolved" "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz"
"version" "2.3.2"
"function-bind@^1.1.1": "function-bind@^1.1.1":
"integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
"resolved" "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz" "resolved" "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz"
...@@ -5634,6 +5654,11 @@ ...@@ -5634,6 +5654,11 @@
"object-assign" "^4.0.1" "object-assign" "^4.0.1"
"thenify-all" "^1.0.0" "thenify-all" "^1.0.0"
"nan@^2.12.1":
"integrity" "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ=="
"resolved" "https://registry.npmmirror.com/nan/-/nan-2.15.0.tgz"
"version" "2.15.0"
"nanomatch@^1.2.9": "nanomatch@^1.2.9":
"integrity" "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==" "integrity" "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA=="
"resolved" "https://registry.npmmirror.com/nanomatch/-/nanomatch-1.2.13.tgz" "resolved" "https://registry.npmmirror.com/nanomatch/-/nanomatch-1.2.13.tgz"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论