main
李劲龙 3 weeks ago
parent b09c036da4
commit c4bf469bc0

@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 太仓资产管理系统 VUE_APP_TITLE = 太仓市网络资产核查管理系统
# 开发环境配置 # 开发环境配置
ENV = 'development' ENV = 'development'

@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 太仓资产管理系统 VUE_APP_TITLE = 太仓市网络资产核查管理系统
# 生产环境配置 # 生产环境配置
ENV = 'production' ENV = 'production'

@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 太仓资产管理系统 VUE_APP_TITLE = 太仓市网络资产核查管理系统
NODE_ENV = production NODE_ENV = production

@ -1,7 +1,7 @@
{ {
"name": "ruoyi", "name": "ruoyi",
"version": "3.8.8", "version": "3.8.8",
"description": "太仓资产管理系统", "description": "太仓市网络资产核查管理系统",
"author": "若依", "author": "若依",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {

@ -58,7 +58,7 @@
text-align: center; text-align: center;
font-family: Alimama ShuHeiTi; font-family: Alimama ShuHeiTi;
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 15px;
color: #FFFFFF; color: #FFFFFF;
line-height: 50px; line-height: 50px;
} }

@ -38,7 +38,7 @@ export default {
} }
.fixed-header + .app-main { .fixed-header+.app-main {
padding-top: 50px; padding-top: 50px;
} }
@ -48,7 +48,7 @@ export default {
min-height: calc(100vh - 100px); min-height: calc(100vh - 100px);
} }
.fixed-header + .app-main { .fixed-header+.app-main {
padding-top: 84px; padding-top: 84px;
} }
} }
@ -75,4 +75,5 @@ export default {
background-color: #c0c0c0; background-color: #c0c0c0;
border-radius: 3px; border-radius: 3px;
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<div :class="{'has-logo':showLogo}" :style="{ backgroundColor: settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }"> <div :class="{'has-logo':showLogo}" :style="{ backgroundColor: settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }">
<!-- :collapse="isCollapse" --> <!-- :collapse="isCollapse" -->
<div class="sever-TITLE">太仓资产管理系统</div> <div class="sever-TITLE">太仓市网络资产核查管理系统</div>
<el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper"> <el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper">
<!-- :collapse="isCollapse" --> <!-- :collapse="isCollapse" -->
<el-menu <el-menu

@ -1,16 +1,18 @@
<template> <template>
<!-- :class="classObj" --> <!-- :class="classObj" -->
<div class="app-wrapper" :style="{'--current-color': theme}"> <div class="app-wrapper" :style="{ '--current-color': theme }">
<div v-if="device==='mobile'&&sidebar.opened" class="drawer-bg" @click="handleClickOutside"/> <div v-if="device === 'mobile' && sidebar.opened" class="drawer-bg" @click="handleClickOutside" />
<sidebar v-if="!sidebar.hide" class="sidebar-container"/> <sidebar v-if="!sidebar.hide" class="sidebar-container" />
<div :class="{hasTagsView:needTagsView,sidebarHide:sidebar.hide}" class="main-container"> <div :class="{ hasTagsView: needTagsView, sidebarHide: sidebar.hide }" class="main-container">
<div :class="{'fixed-header':fixedHeader}" class="tags-view-class"> <div :class="{ 'fixed-header': fixedHeader }" class="tags-view-class">
<tags-view v-if="needTagsView"/> <tags-view v-if="needTagsView" />
</div> </div>
<app-main/> <app-main />
<right-panel> <right-panel>
<settings/> <settings />
</right-panel> </right-panel>
<div class="dibutishi"><span>主办单位</span>中共太仓市委网信办 <span class="kongge"></span> <span>技术支持单位</span>杭州安恒信息技术股份有限公司
</div>
</div> </div>
</div> </div>
</template> </template>
@ -71,60 +73,75 @@ export default {
this.$store.dispatch('LogOut').then(() => { this.$store.dispatch('LogOut').then(() => {
location.href = '/index'; location.href = '/index';
}) })
}).catch(() => {}); }).catch(() => { });
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "~@/assets/styles/mixin.scss"; @import "~@/assets/styles/mixin.scss";
@import "~@/assets/styles/variables.scss"; @import "~@/assets/styles/variables.scss";
.app-wrapper {
@include clearfix;
position: relative;
height: 100%;
width: 100%;
&.mobile.openSidebar {
position: fixed;
top: 0;
}
}
.drawer-bg { .app-wrapper {
background: #000; @include clearfix;
opacity: 0.3; position: relative;
width: 100%; height: 100%;
top: 0; width: 100%;
height: 100%;
position: absolute;
z-index: 999;
}
.fixed-header { &.mobile.openSidebar {
position: fixed; position: fixed;
top: 0; top: 0;
right: 0;
z-index: 9;
width: calc(100% - #{$base-sidebar-width});
transition: width 0.28s;
} }
}
.tags-view-class { .drawer-bg {
display: flex; background: #000;
align-items: center; opacity: 0.3;
} width: 100%;
top: 0;
height: 100%;
position: absolute;
z-index: 999;
}
.hideSidebar .fixed-header { .fixed-header {
width: calc(100% - 54px); position: fixed;
} top: 0;
right: 0;
z-index: 9;
width: calc(100% - #{$base-sidebar-width});
transition: width 0.28s;
}
.sidebarHide .fixed-header { .tags-view-class {
width: 100%; display: flex;
align-items: center;
}
.hideSidebar .fixed-header {
width: calc(100% - 54px);
}
.sidebarHide .fixed-header {
width: 100%;
}
.mobile .fixed-header {
width: 100%;
}
.dibutishi {
font-size: 14px;
margin-top: 3px;
color: #909399;
.kongge {
margin: 0 10px;
} }
.mobile .fixed-header { span {
width: 100%; color: #909399;
} }
}
</style> </style>

@ -407,7 +407,6 @@ export default {
console.log(111); console.log(111);
setTimeout(() => { setTimeout(() => {
this.$refs.ruleForm.clearValidate() this.$refs.ruleForm.clearValidate()
}, 100); }, 100);
}) })
}, },

@ -157,7 +157,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="移动应用系统状态" required> <el-form-item label="移动应用系统状态" required>
<el-select v-model="ruleForm.appState" placeholder="请选择移动应用系统状态"> <el-select v-model="ruleForm.appState" prop="appState" placeholder="请选择移动应用系统状态">
<el-option <el-option
v-for="dict in dict.type.gzh_state" v-for="dict in dict.type.gzh_state"
:key="dict.value" :key="dict.value"

File diff suppressed because it is too large Load Diff

@ -13,7 +13,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="系统名称" required :rules="{ <el-form-item label="系统名称" required :rules="{
required: true, message: '请输入', trigger: 'blur' required: true, message: '请输入', trigger: 'blur'
}" prop="xtmc" > }" prop="xtmc">
<el-input v-model="ruleForm.xtmc" disabled></el-input> <el-input v-model="ruleForm.xtmc" disabled></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -67,12 +67,8 @@
required: true, message: '请输入', trigger: 'blur' required: true, message: '请输入', trigger: 'blur'
}" prop="hlwkfyt"> }" prop="hlwkfyt">
<el-select v-model="ruleForm.hlwkfyt" placeholder="请选择互联网开放用途"> <el-select v-model="ruleForm.hlwkfyt" placeholder="请选择互联网开放用途">
<el-option <el-option v-for="dict in dict.type.zc_hlwkfyt" :key="dict.value" :label="dict.label"
v-for="dict in dict.type.zc_hlwkfyt" :value="dict.value" />
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -415,7 +411,13 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="DNS" >
<el-input v-model="ruleForm.dns" style="width: 100%;" placeholder="请输入DNS"></el-input>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12" v-if="ruleForm.xtbsfs == 3"> <el-col :span="12" v-if="ruleForm.xtbsfs == 3">
<el-form-item label="托管单位" required prop="tgdw" :rules="{ <el-form-item label="托管单位" required prop="tgdw" :rules="{
@ -451,7 +453,7 @@
<div v-if="isMore"> <div v-if="isMore">
<!-- 基本信息 --> <!-- 基本信息 -->
<el-row style="margin: 10px 0;"> <el-row style="margin: 10px 0;">
<span class="top-title-box">基本信息</span> <span class="top-title-box">系统防护情况</span>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
@ -1096,120 +1098,122 @@
</el-row> </el-row>
</div> </div>
<!-- 第三方测评 --> <!-- 第三方测评 -->
<el-row style="margin: 10px 0;"> <div v-if="ruleForm.dbxxSfydsfcp == 1">
<span class="top-title-two-box">第三方测评</span> <el-row style="margin: 10px 0;">
</el-row> <span class="top-title-two-box">第三方测评</span>
<el-row style="display: flex;"> </el-row>
<el-col :span="8"> <el-row style="display: flex;">
<el-form-item label="测评机构名称"> <el-col :span="8">
<el-input v-model="ruleForm.sfCpjgmc" style="width: 100%;" placeholder="请输入测评机构名称"></el-input> <el-form-item label="测评机构名称">
</el-form-item> <el-input v-model="ruleForm.sfCpjgmc" style="width: 100%;" placeholder="请输入测评机构名称"></el-input>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="测评机构联系人"> <el-col :span="8">
<el-input v-model="ruleForm.sfCpjglxr" style="width: 100%;" placeholder="请输入测评机构联系人"></el-input> <el-form-item label="测评机构联系人">
</el-form-item> <el-input v-model="ruleForm.sfCpjglxr" style="width: 100%;" placeholder="请输入测评机构联系人"></el-input>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="测评机构地址"> <el-col :span="8">
<el-input v-model="ruleForm.sfCpjgdz" style="width: 100%;" placeholder="请输入测评机构地址"></el-input> <el-form-item label="测评机构地址">
</el-form-item> <el-input v-model="ruleForm.sfCpjgdz" style="width: 100%;" placeholder="请输入测评机构地址"></el-input>
</el-col> </el-form-item>
</el-row> </el-col>
<el-row style="display: flex;"> </el-row>
<el-col :span="8"> <el-row style="display: flex;">
<el-form-item label="测评机构联系人电话" prop="sfCpjglxrdh" :rules="[ <el-col :span="8">
{ <el-form-item label="测评机构联系人电话" prop="sfCpjglxrdh" :rules="[
pattern: /^1[3-9]\d{9}$|^0\d{2,3}-\d{7,8}$/, {
message: '请输入正确的手机号码', pattern: /^1[3-9]\d{9}$|^0\d{2,3}-\d{7,8}$/,
trigger: 'blur' message: '请输入正确的手机号码',
} trigger: 'blur'
]"> }
<el-input v-model="ruleForm.sfCpjglxrdh" style="width: 100%;" placeholder="请输入测评机构联系人电话"></el-input> ]">
</el-form-item> <el-input v-model="ruleForm.sfCpjglxrdh" style="width: 100%;" placeholder="请输入测评机构联系人电话"></el-input>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="测评时联系人"> <el-col :span="8">
<el-input v-model="ruleForm.sfCpslxr" style="width: 100%;" placeholder="请输入测评时联系人"></el-input> <el-form-item label="测评时联系人">
</el-form-item> <el-input v-model="ruleForm.sfCpslxr" style="width: 100%;" placeholder="请输入测评时联系人"></el-input>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="测评师姓名"> <el-col :span="8">
<el-input v-model="ruleForm.sfCpsxm" style="width: 100%;" placeholder="请输入测评师姓名"></el-input> <el-form-item label="测评师姓名">
</el-form-item> <el-input v-model="ruleForm.sfCpsxm" style="width: 100%;" placeholder="请输入测评师姓名"></el-input>
</el-col> </el-form-item>
</el-row> </el-col>
<el-row style="display: flex;"> </el-row>
<el-col :span="8"> <el-row style="display: flex;">
<el-form-item label="测评时联系人电话" prop="sfCpslxrdh" :rules="[ <el-col :span="8">
{ <el-form-item label="测评时联系人电话" prop="sfCpslxrdh" :rules="[
pattern: /^1[3-9]\d{9}$|^0\d{2,3}-\d{7,8}$/, {
message: '请输入正确的手机号码', pattern: /^1[3-9]\d{9}$|^0\d{2,3}-\d{7,8}$/,
trigger: 'blur' message: '请输入正确的手机号码',
} trigger: 'blur'
]"> }
<el-input v-model="ruleForm.sfCpslxrdh" style="width: 100%;" placeholder="请输入测评时联系人电话"></el-input> ]">
</el-form-item> <el-input v-model="ruleForm.sfCpslxrdh" style="width: 100%;" placeholder="请输入测评时联系人电话"></el-input>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="测评师电话" prop="sfCpsdh" :rules="[ <el-col :span="8">
{ <el-form-item label="测评师电话" prop="sfCpsdh" :rules="[
pattern: /^1[3-9]\d{9}$|^0\d{2,3}-\d{7,8}$/, {
message: '请输入正确的手机号码', pattern: /^1[3-9]\d{9}$|^0\d{2,3}-\d{7,8}$/,
trigger: 'blur' message: '请输入正确的手机号码',
} trigger: 'blur'
]"> }
<el-input v-model="ruleForm.sfCpsdh" style="width: 100%;" placeholder="请输入测评师电话"></el-input> ]">
</el-form-item> <el-input v-model="ruleForm.sfCpsdh" style="width: 100%;" placeholder="请输入测评师电话"></el-input>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="推荐等保办"> <el-col :span="8">
<el-input v-model="ruleForm.sfTjdbb" style="width: 100%;" placeholder="请输入推荐等保办"></el-input> <el-form-item label="推荐等保办">
</el-form-item> <el-input v-model="ruleForm.sfTjdbb" style="width: 100%;" placeholder="请输入推荐等保办"></el-input>
</el-col> </el-form-item>
</el-row> </el-col>
<el-row style="display: flex;"> </el-row>
<el-col :span="8"> <el-row style="display: flex;">
<el-form-item label="测评师证书等级"> <el-col :span="8">
<el-select v-model="ruleForm.sfCpszsdj" placeholder="请选择测评师证书等级"> <el-form-item label="测评师证书等级">
<el-option v-for="dict in dict.type.sf_cpszsdj" :key="dict.value" :label="dict.label" <el-select v-model="ruleForm.sfCpszsdj" placeholder="请选择测评师证书等级">
:value="dict.value" /> <el-option v-for="dict in dict.type.sf_cpszsdj" :key="dict.value" :label="dict.label"
</el-select> :value="dict.value" />
</el-form-item> </el-select>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="测评等级"> <el-col :span="8">
<el-select v-model="ruleForm.sfCpdj" placeholder="请选择测评等级"> <el-form-item label="测评等级">
<el-option v-for="dict in dict.type.dbxx_dbdj" :key="dict.value" :label="dict.label" <el-select v-model="ruleForm.sfCpdj" placeholder="请选择测评等级">
:value="dict.value" /> <el-option v-for="dict in dict.type.dbxx_dbdj" :key="dict.value" :label="dict.label"
</el-select> :value="dict.value" />
</el-form-item> </el-select>
</el-col> </el-form-item>
<el-col :span="8"> </el-col>
<el-form-item label="推荐日期"> <el-col :span="8">
<el-date-picker v-model="ruleForm.sfTjrq" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" <el-form-item label="推荐日期">
placeholder="选择日期"> <el-date-picker v-model="ruleForm.sfTjrq" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
</el-date-picker> placeholder="选择日期">
</el-form-item> </el-date-picker>
</el-col> </el-form-item>
</el-row> </el-col>
<el-row style="display: flex;"> </el-row>
<el-col :span="8"> <el-row style="display: flex;">
<el-form-item label="报告日期"> <el-col :span="8">
<el-date-picker v-model="ruleForm.sfBgrq" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" <el-form-item label="报告日期">
placeholder="选择日期"> <el-date-picker v-model="ruleForm.sfBgrq" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
</el-date-picker> placeholder="选择日期">
</el-form-item> </el-date-picker>
</el-col> </el-form-item>
</el-row> </el-col>
<el-row> </el-row>
<el-col :span="24"> <el-row>
<el-form-item label="测评结论"> <el-col :span="24">
<el-input type="textarea" resize="none" placeholder="请输入测评结论" :rows="5" <el-form-item label="测评结论">
v-model="ruleForm.sfCpjl"></el-input> <el-input type="textarea" resize="none" placeholder="请输入测评结论" :rows="5"
</el-form-item> v-model="ruleForm.sfCpjl"></el-input>
</el-col> </el-form-item>
</el-row> </el-col>
</el-row>
</div>
<!-- 密评信息 --> <!-- 密评信息 -->
<el-row style="margin: 10px 0;"> <el-row style="margin: 10px 0;">
<span class="top-title-box">密评信息</span> <span class="top-title-box">密评信息</span>
@ -2676,14 +2680,14 @@
<el-row style="margin: 10px 0;"> <el-row style="margin: 10px 0;">
<span class="top-title-box"> <span class="top-title-box">
<span style="color:#ff4949;font-size: 16px">*</span> <span style="color:#ff4949;font-size: 16px">*</span>
业务系统拓扑图 业务系统拓扑图
<span style="color:#ff4949;font-size: 13px;font-weight: 400;margin-left:10px">提示附件/图片请至少选择一项</span> <span style="color:#ff4949;font-size: 13px;font-weight: 400;margin-left:10px">提示附件/图片请至少选择一项</span>
</span> </span>
</el-row> </el-row>
<span class="guanbixinghao"> <span class="guanbixinghao">
<el-row style="margin: 20px 0;"> <el-row style="margin: 20px 0;">
<el-form-item :required="false" prop="ywxttpwj" label="附件上传"> <el-form-item :required="false" prop="ywxttpwj" label="附件上传">
<myUpload :fileSize="30" :limit="1" :fileType="accept" v-model="ruleForm.ywxttpwj"> <myUpload :fileSize="30" :limit="1" :fileType="accept" v-model="ruleForm.ywxttpwj">

@ -1,7 +1,7 @@
<template> <template>
<div class="register"> <div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form"> <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">太仓资产管理系统</h3> <h3 class="title">太仓市网络资产核查管理系统</h3>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号"> <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin') const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '太仓资产管理系统' // 网页标题 const name = process.env.VUE_APP_TITLE || '太仓市网络资产核查管理系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口 const port = process.env.port || process.env.npm_config_port || 80 // 端口

Loading…
Cancel
Save