Pārlūkot izejas kodu

【UI】修改系统名称

AA 5 mēneši atpakaļ
vecāks
revīzija
3ad061dc6d

+ 2 - 2
ruoyi-ui/.env.development

@@ -1,10 +1,10 @@
 # 页面标题
-VUE_APP_TITLE = 智慧政工系统
+VUE_APP_TITLE = 政工e站
 
 # 开发环境配置
 ENV = 'development'
 
-# 智慧政工系统/开发环境
+# 政工e站/开发环境
 VUE_APP_BASE_API = '/dev-api'
 
 # 路由懒加载

+ 2 - 2
ruoyi-ui/.env.production

@@ -1,8 +1,8 @@
 # 页面标题
-VUE_APP_TITLE = 智慧政工系统
+VUE_APP_TITLE = 政工e站
 
 # 生产环境配置
 ENV = 'production'
 
-# 智慧政工系统/生产环境
+# 政工e站/生产环境
 VUE_APP_BASE_API = '/prod-api'

+ 2 - 2
ruoyi-ui/.env.staging

@@ -1,10 +1,10 @@
 # 页面标题
-VUE_APP_TITLE = 智慧政工系统
+VUE_APP_TITLE = 政工e站
 
 NODE_ENV = production
 
 # 测试环境配置
 ENV = 'staging'
 
-# 智慧政工系统/测试环境
+# 政工e站/测试环境
 VUE_APP_BASE_API = '/stage-api'

+ 1 - 1
ruoyi-ui/package.json

@@ -1,7 +1,7 @@
 {
   "name": "ruoyi",
   "version": "3.8.8",
-  "description": "智慧政工系统",
+  "description": "政工e站",
   "author": "",
   "license": "MIT",
   "scripts": {

+ 8 - 0
ruoyi-ui/src/api/business/regulations.js

@@ -9,6 +9,14 @@ export function list(data) {
   })
 }
 
+export function batchDelete(data) {
+  return request({
+    url: '/api/zdcx/delete',
+    method: 'post',
+    data: data
+  })
+}
+
 // 查询
 export function getConfig(configId) {
   return request({

+ 14 - 13
ruoyi-ui/src/views/business/regulations/index.vue

@@ -10,7 +10,7 @@
           @keyup.enter.native="handleQuery"
         />
       </el-form-item>
-      
+
       <el-form-item label="制定单位" prop="publishDept">
         <!-- <el-select v-model="queryParams.publishDept" placeholder="制定单位" clearable>
           <el-option
@@ -29,7 +29,7 @@
         />
       </el-form-item>
       <el-form-item label="发布时间" prop="configKey">
-        
+
         <el-date-picker
           v-model="dateRange"
           style="width: 340px"
@@ -40,7 +40,7 @@
           start-placeholder="开始日期"
           end-placeholder="结束日期"
         ></el-date-picker>
-       
+
       </el-form-item>
       <el-form-item label="文号">
         <el-input
@@ -100,7 +100,7 @@
           v-hasPermi="['system:config:export']"
         >导出</el-button>
       </el-col> -->
-      
+
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
 
@@ -109,7 +109,7 @@
       <el-table-column label="题目" align="center" prop="title" width="220"/>
       <el-table-column label="制定单位" align="center" prop="publishDept" width="180"/>
       <el-table-column label="文号" align="center" prop="docId" width="120" />
-      
+
       <el-table-column label="内容" align="left" prop="content">
         <template slot-scope="scope">
           <el-popover placement="top-start" title="" width="100%" trigger="hover" popper-class="workorder-problem-desc" v-if="deleteTag(scope.row.content).length>20">
@@ -182,13 +182,13 @@
             value-format="yyyy-MM-dd HH:mm:ss"
             placeholder="请选择发布时间"
           ></el-date-picker>
-        
+
         </el-form-item> -->
-        
-        
-        
+
+
+
         <el-form-item label="内容" prop="content">
-          
+
           <editor v-model="form.content" :min-height="192"/>
         </el-form-item>
       </el-form>
@@ -201,7 +201,7 @@
 </template>
 
 <script>
-import { list, getConfig, delConfig, add, update, refreshCache } from "@/api/business/regulations";
+import { list, batchDelete, getConfig, delConfig, add, update, refreshCache ,} from "@/api/business/regulations";
 
 export default {
   name: "Config",
@@ -366,9 +366,10 @@ export default {
     },
     /** 删除按钮操作 */
     handleDelete(row) {
-      const configIds = row.configId || this.ids;
+      debugger
+      const docIds = row.docId || this.ids;
       this.$modal.confirm('是否确认删除该条记录?').then(function() {
-          return delConfig(configIds);
+          return batchDelete({'docIds': docIds});
         }).then(() => {
           this.getList();
           this.$modal.msgSuccess("删除成功");

+ 1 - 1
ruoyi-ui/src/views/index.vue

@@ -2,7 +2,7 @@
   <div class="app-container home">
     <el-row :gutter="20">
       <el-col :sm="24" :lg="12" style="padding-left: 20px">
-        <h2>智慧政工系统</h2>
+        <h2>政工e站</h2>
       </el-col>
     </el-row>
   </div>

+ 2 - 3
ruoyi-ui/src/views/login.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="login">
     <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
-      <h3 class="title">若依后台管理系统</h3>
+      <h3 class="title">政工e站</h3>
       <el-form-item prop="username">
         <el-input
           v-model="loginForm.username"
@@ -56,7 +56,6 @@
     </el-form>
     <!--  底部  -->
     <div class="el-login-footer">
-      <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>
     </div>
   </div>
 </template>
@@ -128,7 +127,7 @@ export default {
       };
     },
     handleLogin() {
-      
+
       // this.$store.dispatch("Login", this.loginForm).then(() => {
       //     this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
       //   }).catch(() => {

+ 0 - 1
ruoyi-ui/src/views/register.vue

@@ -61,7 +61,6 @@
     </el-form>
     <!--  底部  -->
     <div class="el-register-footer">
-      <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>
     </div>
   </div>
 </template>

+ 1 - 1
ruoyi-ui/vue.config.js

@@ -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 || '政工e站' // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 80 // 端口