Quellcode durchsuchen

增加厦门火调

bill vor 1 Jahr
Ursprung
Commit
9d833ceff4

+ 1 - 1
package.json

@@ -6,7 +6,7 @@
   "scripts": {
     "dev": "vite",
     "build": "vue-tsc --noEmit && npm run build-quisk",
-    "build-quisk": "vite build ./ fire && vite build ./ criminal && vite build ./ jmfire",
+    "build-quisk": "vite build ./ fire && vite build ./ criminal && vite build ./ xmfire",
     "preview": "vite preview"
   },
   "dependencies": {

+ 8 - 8
src/app/index.ts

@@ -12,11 +12,11 @@ import {
   menuRouteNames as firelMenuRouteNames,
 } from "./fire/routeConfig";
 
-import { appConstant as jmfireConstant } from "./jmfire/constant";
+import { appConstant as xmfireConstant } from "./xmfire/constant";
 import {
-  routes as jmfireRoutes,
-  menuRouteNames as jmfirelMenuRouteNames,
-} from "./jmfire/routeConfig";
+  routes as xmfireRoutes,
+  menuRouteNames as xmfirelMenuRouteNames,
+} from "./xmfire/routeConfig";
 
 export type AppConstant = {
   title: string;
@@ -40,8 +40,8 @@ if (VITE_APP_APP === "fire") {
   appRoutes = cRoutes;
   menuRouteNames = cMenuRouteNames;
   appConstant = criminalConstant;
-} else if (VITE_APP_APP === "jmfire") {
-  appRoutes = jmfireRoutes;
-  menuRouteNames = jmfirelMenuRouteNames;
-  appConstant = jmfireConstant;
+} else if (VITE_APP_APP === "xmfire") {
+  appRoutes = xmfireRoutes;
+  menuRouteNames = xmfirelMenuRouteNames;
+  appConstant = xmfireConstant;
 }

+ 1 - 1
src/app/jmfire/constant.ts

@@ -1,4 +1,4 @@
-import { AppConstant } from "../";
+import { AppConstant } from "..";
 import banner from "@/assets/image/jmfirebg@2x.png";
 import ico from "@/assets/image/jmlogo.png";
 

src/app/jmfire/images/banner@2x.png → src/app/xmfire/images/banner@2x.png


src/app/jmfire/routeConfig.ts → src/app/xmfire/routeConfig.ts


src/app/jmfire/useStyle.scss → src/app/xmfire/useStyle.scss


+ 6 - 2
src/app/jmfire/view/login/index.vue

@@ -4,7 +4,7 @@
       <div class="login-layer">
         <div class="content">
           <div class="info">
-            <img src="@/app/jmfire/images/banner@2x.png" />
+            <img src="@/app/xmfire/images/banner@2x.png" />
             <span>{{ dateFormat(currentDate, "yyyy-MM-dd hh:mm:ss") }}</span>
           </div>
           <el-form class="panel login" :model="form" @submit.stop>
@@ -60,6 +60,9 @@
             <el-form-item class="panel-form-item">
               <el-button type="primary" class="fill" @click="submitClick">登录</el-button>
             </el-form-item>
+            <div class="more">
+              <a @click="$router.push({ name: 'forget' })">忘记密码</a>
+            </div>
           </el-form>
         </div>
       </div>
@@ -192,6 +195,7 @@ const submitClick = async () => {
   flex: none;
   text-align: left;
   position: relative;
+  height: 100%;
   pointer-events: none;
   span {
     position: absolute;
@@ -203,7 +207,7 @@ const submitClick = async () => {
   }
 
   img {
-    height: 541px;
+    height: 562px;
   }
   h1 {
     font-size: 2.8rem;

+ 4 - 0
src/assets/style/public.scss

@@ -547,4 +547,8 @@ html .el-input-group__append button.el-button {
 
 .el-table__empty-block {
   width: 100% !important;
+}
+
+.el-cascader__dropdown {
+  max-width: 100%;
 }

+ 8 - 8
src/view/case/editMenu.vue

@@ -81,14 +81,14 @@ const menus = computed(() => {
         );
       },
     },
-    {
-      key: "sync",
-      label: "带看",
-      onClick: async () => {
-        const href = await getSWKKSyncLink(caseId);
-        window.open(href);
-      },
-    },
+    // {
+    //   key: "sync",
+    //   label: "带看",
+    //   onClick: async () => {
+    //     const href = await getSWKKSyncLink(caseId);
+    //     window.open(href);
+    //   },
+    // },
     {
       key: "share",
       label: "分享",

+ 11 - 8
src/view/user/edit.vue

@@ -56,17 +56,13 @@
             <img
               v-if="plainFlag"
               @click="plainFlag = !plainFlag"
-              style="width: 20px; margin: 10px"
+              style="width: 20px"
               src="@/assets/image/pasword.png"
               alt=""
             />
-            <i
-              v-else
-              class="icon-style el-icon-view"
-              style="font-size: 20px; margin: 10px"
-              size="20"
-              @click="plainFlag = !plainFlag"
-            ></i>
+            <el-icon :size="20" @click="plainFlag = !plainFlag" class="icon-style" v-else>
+              <View />
+            </el-icon>
           </template>
         </el-input>
       </el-form-item>
@@ -139,3 +135,10 @@ defineExpose<QuiskExpose>({
   },
 });
 </script>
+
+<style scoped>
+.icon-style {
+  font-size: 20px;
+  line-height: 50px;
+}
+</style>

+ 3 - 4
src/view/vrmodel/sceneContent.vue

@@ -43,6 +43,7 @@
         编辑
       </span>
       <span
+        v-if="row.type !== SceneType.SWSSMX"
         class="oper-span delBtn"
         v-pdscene="row"
         @click="delSceneHandler(row)"
@@ -63,11 +64,9 @@
 </template>
 
 <script setup lang="ts">
-import { QuoteScene, QuoteSceneStatus, Scene, delQuoteScene } from "@/store/scene";
+import { QuoteScene, QuoteSceneStatus, delQuoteScene, SceneType } from "@/store/scene";
 import { ScenePagging } from "./pagging";
-import { sceneDownload } from "../window";
-import { QuoteSceneStatusDesc, SceneTypePaths } from "@/constant/scene";
-import { transformSWToken } from "@/store/user";
+import { QuoteSceneStatusDesc } from "@/constant/scene";
 import { OpenType, openSceneUrl } from "../case/help";
 import { confirm } from "@/helper/message";
 

+ 1 - 1
vite.config.ts

@@ -3,7 +3,7 @@ import vue from "@vitejs/plugin-vue";
 import { resolve } from "path";
 import ElementPlus from "unplugin-element-plus/vite";
 
-let app = "jmfire";
+let app = "xmfire";
 if (process.argv.length > 3) {
   app = process.argv[process.argv.length - 1].trim();
 }