瀏覽代碼

feature/bug

dengrui 6 月之前
父節點
當前提交
1668142f3f
共有 2 個文件被更改,包括 11 次插入6 次删除
  1. 4 5
      src/views/base/signature/index.vue
  2. 7 1
      src/views/plan/workOrder/index.vue

+ 4 - 5
src/views/base/signature/index.vue

@@ -66,7 +66,7 @@
     <div id="imgeview">
       <el-image
         style="width: 1px; height: 1px"
-        :src="url"
+        :src="Logo"
         :zoom-rate="1.2"
         :max-scale="7"
         :min-scale="0.2"
@@ -83,6 +83,7 @@
 <script setup>
 import { ref, getCurrentInstance } from "vue";
 import { useCrud } from "@/hooks/userCrud";
+import Logo from "@/assets/logo.png";
 import { useCommonStoreHook, useDictionaryStore } from "@/store";
 import { updateSignature } from "@/api/signature";
 import dictDataUtil from "@/common/configs/dictDataUtil";
@@ -91,14 +92,12 @@ import OpSignature from "./components/opSignature.vue";
 const { isShowTable, tableType } = toRefs(useCommonStoreHook());
 // 数据字典相关
 const { dicts } = useDictionaryStore();
-const url =
-  "https://fuss10.elemecdn.com/a/3f/3302e58f9a181d2509f3dc0fa68b0jpeg.jpeg";
 const downloadUrl = (url) => {
-  return import.meta.env.VITE_APP_UPLOAD_URL + url;
+  return url;
 };
 const toLook = (url) => {
   imgSrcList.value = [];
-  imgSrcList.value.push(import.meta.env.VITE_APP_UPLOAD_URL + url);
+  imgSrcList.value.push(url);
   setTimeout(() => {
     document
       .getElementById("imgeview")

+ 7 - 1
src/views/plan/workOrder/index.vue

@@ -680,7 +680,13 @@ option.value = Object.assign(option.value, {
       prop: "orderType",
       type: "select", //类型为下拉选择框
       width: 100,
-      disabled: true,
+      rules: [
+        {
+          required: true,
+          message: "订单类型不能为空",
+          trigger: "trigger",
+        },
+      ],
       overHidden: true,
       dicUrl: dictDataUtil.request_url + dictDataUtil.TYPE_CODE.plan_order_type,
       props: {