zhangtao
laozt 1 year ago
parent 786d665aaf
commit f44d7022e0

@ -6,12 +6,12 @@
# @FilePath: \suzhouyingjiPC\.env.development
###
# 页面标题
VUE_APP_TITLE = 苏州应急执法计划管理系统
VUE_APP_TITLE = 苏州应急执法计划管理系统
# 开发环境配置
ENV = 'development'
# 苏州应急执法计划管理系统/开发环境
# 苏州应急执法计划管理系统/开发环境
# VUE_APP_BASE_API = 'http://39.101.188.84:9033'
VUE_APP_BASE_API = 'http://localhost:9033'
# VUE_APP_BASE_API = 'http://180.108.205.123:13002'

@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 苏州应急执法计划管理系统
VUE_APP_TITLE = 苏州应急执法计划管理系统
# 生产环境配置
ENV = 'production'
# 苏州应急执法计划管理系统/生产环境
# 苏州应急执法计划管理系统/生产环境
# VUE_APP_BASE_API = 'http://192.168.0.105:9033'
# VUE_APP_BASE_API = 'http://39.101.188.84:9033'
VUE_APP_BASE_API = 'http://180.108.205.123:13002'

@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 苏州应急执法计划管理系统
VUE_APP_TITLE = 苏州应急执法计划管理系统
NODE_ENV = production
# 测试环境配置
ENV = 'staging'
# 苏州应急执法计划管理系统/测试环境
# 苏州应急执法计划管理系统/测试环境
VUE_APP_BASE_API = '/stage-api'

@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.8.6",
"description": "苏州应急执法计划管理系统",
"description": "苏州应急执法计划管理系统",
"author": "若依",
"license": "MIT",
"scripts": {

@ -2,7 +2,7 @@
<div class="login">
<div class="loginTitle">
<div class="lg-img"></div>
<div class="lg-text">苏州应急执法计划管理系统</div>
<div class="lg-text">苏州应急执法计划管理系统</div>
</div>
<div class="lg-centerbox">
<div class="lg-backImg"></div>

@ -6,7 +6,7 @@
:rules="registerRules"
class="register-form"
>
<h3 class="title">苏州应急执法计划管理系统</h3>
<h3 class="title">苏州应急执法计划管理系统</h3>
<el-form-item prop="username">
<el-input
v-model="registerForm.username"

@ -7,7 +7,7 @@
* @LastEditTime: 2023-10-20 09:25:30
-->
<template>
<div class="plan-management">
<div class="plan-management">
<div class="plan-topBox">
<div class="drup-downs">
<div class="year">

@ -174,6 +174,9 @@
</div>
<!-- 发布计划 -->
<add-dialog ref="addDialog" v-on:close="closeAddDialog" />
<!-- 详情对话框 -->
<info-dialog ref="infoDialog" />
</div>
</template>
<script>
@ -185,12 +188,13 @@ import {
updateEnterprise,
} from "@/api/yingji/enterprise";
import AddDialog from "@/views/components/AddDialog/index.vue";
import InfoDialog from "./planmanage/components/infoDialog.vue";
import executive from "./echarts/executive.vue";
import { mapState } from "vuex";
export default {
components: { AddDialog, executive },
components: { AddDialog, InfoDialog, executive },
data() {
return {
lawHierarchys: [
@ -373,7 +377,10 @@ export default {
handleAdd() {
this.$refs.addDialog.openDialog("newlyIncreased", this.dept);
},
/** 详情按钮操作 */ handleInfo() {},
/** 详情按钮操作 */
handleInfo(row) {
this.$refs.infoDialog.openDialog("newlyIncreased", this.dept);
},
/** 修改按钮操作 */
handleUpdate(row) {
// this.reset();

@ -0,0 +1,256 @@
<!--
* @Descripttion:
* @version:
* @Author: JC9527
* @Date: 2023-09-28 11:25:48
* @LastEditors: JC9527
* @LastEditTime: 2023-10-11 11:06:21
-->
<template>
<el-dialog
:visible.sync="dialogVisible"
:show-close="false"
:destroy-on-close="true"
:close-on-click-modal="false"
append-to-body
custom-class="dialog-boxed"
width="50%"
>
<div class="dialog-slot">
<div class="closeClick">
<div class="newplan">
<div class="line"></div>
<div class="span">{{ title }}</div>
</div>
<img src="@/assets/images/close.png" alt="" @click="Close" />
</div>
<div v-loading="loading">
<el-form ref="form" label-width="80px" v-if="idTwo == 1">
<el-form-item label="企业名称:" class="form-input">
<el-input v-model="form.entprName" :disabled="true"></el-input>
</el-form-item>
<el-form-item label="行政区划:" class="form-input">
<el-input v-model="form.district" :disabled="true"></el-input>
</el-form-item>
<el-form-item label="发布时间:" class="form-input">
<el-input v-model="form.createTime" :disabled="true"></el-input>
</el-form-item>
<el-form-item label="计划年月:" class="form-input">
<!-- <el-input v-model="form.plannedYear" :readonly="true"></el-input> -->
<el-date-picker
v-model="form.plannedYear"
type="month"
format="yyyy-MM"
:clearable="false"
:disabled="readonly"
value-format="yyyy-MM"
placeholder="请选择年月">
</el-date-picker>
</el-form-item>
<el-form-item label="计划标题:">
<el-input v-model="form.planName" :readonly="readonly" show-word-limit :maxlength="64"></el-input>
</el-form-item>
<el-form-item label="计划内容:" class="form-textarea">
<el-input
v-model="form.planContent"
type="textarea"
resize="none"
:maxlength="2000"
show-word-limit
:readonly="readonly"
placeholder="请输入计划内容"
></el-input>
</el-form-item>
<el-form-item label="备注:" class="form-textarea">
<el-input
v-model="form.remark"
type="textarea"
resize="none"
:maxlength="2000"
show-word-limit
:readonly="readonly"
placeholder="请输入备注"
></el-input>
</el-form-item>
<el-form-item class="btns">
<el-button type="primary" @click="onSubmit" v-if="!readonly"></el-button>
<el-button @click="Close"></el-button>
</el-form-item>
</el-form>
<el-descriptions :column="2" border v-else>
<el-descriptions-item
:label="item.label"
v-for="(item, index) in listDes"
:key="index"
:span="item.span ? item.span : 1"
>
{{ item.value}}
</el-descriptions-item>
</el-descriptions>
</div>
</div>
</el-dialog>
</template>
<script>
import { Loading } from "element-ui";
export default {
data() {
return {
dialogVisible:false,
mydistrict:'',
form:{
entprName:'',
district:'',
createTime:'',
plannedYear:'',
planName:'',
planContent:'',
remark:''
},
id:'',
idTwo:'',
readonly:false,
loading:true,
title:'查看详情',
listDes:[
{
tag:'entprName',
label:'企业名称',
value:'',
},{
tag:'district',
label:'行政区划',
value:'',
},{
tag:'createTime',
label:'发布时间',
value:'',
},{
tag:'plannedYear',
label:'计划年月',
value:'',
},{
tag:'planName',
label:'计划标题',
value:'',
span:2,
},{
tag:'planContent',
label:'计划内容',
value:'',
span:2,
},{
tag:'remark',
label:'备注',
value:'',
span:2,
},
],
district:[]
}
},
methods:{
//
componendDistrict(district){
let name
this.district.map((item)=>{
if(item.subdistrict == district) {
name = item.institutionName
} else {
item.children.map((itemTwo)=>{
if(itemTwo.subdistrict == district) {
name = item.institutionName + '-' + itemTwo.institutionName
}
})
}
})
return name
},
},
}
</script>
<style lang="scss" scoped>
::v-deep .el-descriptions-row th {
width: 20% !important;
font-size: 14px;
font-family: "Alibaba PuHuiTi";
font-weight: 400;
}
::v-deep .el-descriptions-row td {
width: 30% !important;
font-size: 14px;
font-family: "Alibaba PuHuiTi";
font-weight: 400;
}
.dialog-slot {
.closeClick {
position: absolute;
top: 0;
right: 0;
padding: 10px 20px;
width: 100%;
z-index: 1000;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
background: #f8f9fa;
box-shadow: 0px 1px 0px 0px #dbe0e8;
background-color: #e0eaf8;
img {
width: 18px;
height: 18px;
cursor: pointer;
}
.newplan {
display: flex;
align-items: center;
.line {
margin-right: 10px;
width: 5px;
height: 16px;
background-color: #1e70de;
}
.span {
font-size: 16px;
font-family: "Alibaba PuHuiTi";
font-weight: bold;
color: #1e70de;
}
}
}
.form-input {
display: inline-block;
width: 50%;
}
::v-deep .el-input {
.el-input__inner {
font-size: 15px;
font-family: 'Alibaba PuHuiTi';
font-weight: 400;
color: #525966;
}
}
.form-textarea {
::v-deep .el-textarea {
height: 180px;
.el-textarea__inner {
height: 100%;
font-size: 15px;
font-family: 'Alibaba PuHuiTi';
font-weight: 400;
color: #525966;
}
}
}
.btns {
text-align: right;
::v-deep .el-button {
border-radius: 4px;
}
}
}
::v-deep .el-dialog__body {
padding: 30px 15px;
}
</style>

@ -7,7 +7,7 @@ function resolve(dir) {
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; // 端口

Loading…
Cancel
Save