ming 3 tahun lalu
induk
melakukan
c8cd311be5

+ 1 - 1
src/api/platManage/index.js

@@ -1,6 +1,6 @@
 import request from '@/utils/request'
 
-//平台管理-列表查询
+//模板管理-列表查询
 export function getPlatformList(params) {
     return request({
         url: '/sysPlatform/getPlatformList',

+ 1 - 1
src/api/statisManage/loginLog.js

@@ -1,6 +1,6 @@
 import request from '@/utils/request'
 
-//平台管理-列表查询
+//模板管理-列表查询
 export function getLoginLogList(params) {
     return request({
         url: '/sysLoginLog/getLoginLogList',

+ 2 - 0
src/layout/vab-avatar/index.vue

@@ -133,6 +133,8 @@ export default {
         // this.$router.push(`/login?redirect=${fullPath}`)
 
         // this.$store.visitedRoutes=[]
+   
+        this.$store.state.homePageUrl=''
 
         this.closeAllTabs()
 

+ 2 - 2
src/store/modules/routes.js

@@ -130,13 +130,13 @@ const actions = {
             redirect: "/platManage/index",
             component: "Layout",
             meta: {
-                title: "平台管理",
+                title: "模板管理",
                 icon: "platManage",
 
             },
             children: [{
                 meta: {
-                    title: "平台管理",
+                    title: "模板管理",
                     icon: "platManage",
 
                 },

+ 10 - 3
src/views/platManage/index.vue

@@ -4,7 +4,7 @@
     <div class="filter-container mb-10">
       <div class="left">
         <div>
-          <a class="" style="margin-right: 30px">平台管理列表</a>
+          <a class="" style="margin-right: 30px">模板管理列表</a>
           <el-button
             icon="el-icon-plus"
             type="success"
@@ -73,7 +73,15 @@
       <el-table-column
         prop="createTime"
         label="创建时间"
-      ></el-table-column>
+      >
+
+      <template #default="scope">
+         <span>
+           {{scope.row.createTime}}
+         </span>
+        </template>
+      
+      </el-table-column>
      
 
   
@@ -86,7 +94,6 @@
           >
             编辑
           </el-button>
-          
         </template>
       </el-table-column>
     </el-table>

+ 13 - 26
src/views/statisManage/operLog/index.vue

@@ -132,13 +132,14 @@
       <template #default="scope">
           <span>
             {{
-              scope.row.status === '0'
-                ? '其他'
-                : '1'
-                ? '新增'
-                : '2'
-                ? '修改'
-                : '删除'
+           
+                scope.row.businessType == 0
+          ? '其他'
+          : scope.row.businessType == 1
+          ? '新增'
+          : scope.row.businessType == 2
+          ? '修改'
+          : '删除'
             }}
           </span>
         </template>
@@ -170,10 +171,10 @@
         <template #default="scope">
           <span
             :style="{
-              color: scope.row.status == '0' ? '#8DCF6E' : '#FF747B',
+              color: scope.row.status == 0 ? '#8DCF6E' : '#FF747B',
             }"
           >
-            {{ scope.row.status === '0' ? '正常' : '异常' }}
+            {{ scope.row.status ==0 ? '正常' : '异常' }}
           </span>
         </template>
       </el-table-column>
@@ -291,28 +292,14 @@ export default defineComponent({
     }
     // 编辑操作
     const editRow = (row) => {
+      console.log('row')
       console.log(row)
       tableItem.value=row
-      // tableItem.value = {
-      //   id: row.id,
-      //   tenantName: row.tenantName,
-      //   tenantManager: row.tenantManager,
-      //   tenantTerm: row.tenantTerm == '永久有效' ? 3 : 4,
-      //   value1: row.tenantTerm,
-      //   status: Number(row.status),
-      //   geoPosition: row.geoPosition,
-      //   tenantType: Number(row.tenantType),
-      //   phoneNumber: row.phoneNumber,
-      //   systemName: Number(row.systemName),
-      //   email: row.email,
-      //   address: row.address,
-      //   remark: row.remark,
-      //   domain: row.domain,
-      // }
+   
       dialogTitle.value = '操作日志详情'
       showDialog.value = true
 
-      Select(row.operId)
+      // Select(row.operId)
     }
 
     // 关闭操作

+ 2 - 2
src/views/systemManage/userManage/dialogComponent.vue

@@ -306,8 +306,8 @@ export default defineComponent({
         password: [
           { required: true, message: '请输入密码', trigger: 'blur' },
           {
-            min: 3,
-            max: 6,
+            min: 6,
+            max: 25,
             message: '长度在 6 到 25 个字符',
             trigger: 'blur',
           },