소스 검색

Merge remote-tracking branch 'origin/master'

jzh 11 달 전
부모
커밋
2f0e959645

+ 1 - 1
client/.env.dev

@@ -13,7 +13,7 @@ VITE_BASE_URL='http://10.10.10.7:18080'
 VITE_UPLOAD_URL='/infra/file/upload'
 
 # 上传配置对应的编号ID
-VITE_UPLOAD_CLIENT_ID=5
+VITE_UPLOAD_CLIENT_ID=20
 
 # File上传路径
 VITE_FILE_BASE_URI='/infra/file'

+ 1 - 1
client/.env.pro

@@ -9,7 +9,7 @@ VITE_BASE_URL='https://oa.zjugis.com:28080'
 # 上传路径
 VITE_UPLOAD_URL='/infra/file/upload'
 # 上传配置对应的编号ID
-VITE_UPLOAD_CLIENT_ID=5
+VITE_UPLOAD_CLIENT_ID=20
 
 # File上传路径
 VITE_FILE_BASE_URI='/infra/file'

+ 10 - 3
client/src/views/OaSystem/marketCenter/contractSubOut/applyIndex.vue

@@ -128,8 +128,8 @@
               scope.row.contractSubFlowStatus != 90 && isSignType[scope.row.isSign] === '是'
                 ? '未签'
                 : scope.row.contractAmount - (scope.row.payAmount ?? 0) === 0
-                  ? '已付清'
-                  : '未付清'
+                ? '已付清'
+                : '未付清'
             }}</template>
           </el-table-column>
           <el-table-column label="操作" fixed="right" align="center" width="200">
@@ -283,7 +283,10 @@ const currentProcess = ref<{
   supplierId?: string
 } | null>(null)
 const handleSelectionChange = (arrs) => {
-  if (arrs.length === 0) return
+  if (arrs.length === 0) {
+    currentProcess.value = null
+    return
+  }
   const item = arrs[arrs.length - 1]
   currentProcess.value = {
     id: item.id,
@@ -298,6 +301,10 @@ const handleSelectionChange = (arrs) => {
 }
 const processSubmit = async (): Promise<void> => {
   let urlApi: string = ''
+  if (!currentProcess.value) {
+    ElMessage.warning('请至少选择一条数据!')
+    return
+  }
   if (currentProcess.value?.applyType === null) {
     ElMessage.warning('该合同合同类型不能为null!')
     return

+ 2 - 2
client/src/views/OaSystem/marketCenter/khglPage/CustomerTable.vue

@@ -142,8 +142,8 @@ const newCustomer = (isAdd: boolean, row?) => {
   const params = !isAdd
     ? `/editCustomer?id=${row.id}&edit=true`
     : row
-      ? `/newCustomer?id=${row.id}`
-      : '/newCustomer'
+    ? `/newCustomer?id=${row.id}`
+    : '/newCustomer'
   push(params)
 }
 // 查看客户详情

+ 9 - 2
client/src/views/OaSystem/projectCenter/projectDetail/components/xmht/ContractMilestone.vue

@@ -11,8 +11,15 @@ const props = defineProps<{
 }>()
 watch(
   () => props.contractId,
-  () => {
-    getContractMilestoneListMutate(props.contractId as string)
+  (nVal) => {
+    if (nVal) {
+      nextTick(() => {
+        getContractMilestoneListMutate(nVal as string)
+      })
+    }
+  },
+  {
+    immediate: true
   }
 )
 const contractMilestoneList = ref<any>()

+ 9 - 2
client/src/views/OaSystem/projectCenter/projectDetail/components/xmht/ContractReturnedMoney.vue

@@ -13,8 +13,15 @@ const props = defineProps<{
 
 watch(
   () => props.contractId,
-  () => {
-    getContractReturnedMoneyListMutate(props.contractId as string)
+  (nVal) => {
+    if (nVal) {
+      nextTick(() => {
+        getContractReturnedMoneyListMutate(nVal as string)
+      })
+    }
+  },
+  {
+    immediate: true
   }
 )
 const contractRMoneyList = ref<any>()

+ 2 - 0
client/src/views/OaSystem/projectCenter/projectDetail/components/xmht/index.vue

@@ -797,6 +797,8 @@ const { refetch } = useQuery(
       }
       mContractDetails.value = tData
       mContractDetail.value = tData[0] //初始化主合同
+      console.log('mContractDetail------------------------------')
+      console.log(mContractDetail)
     }
   }
 )

+ 4 - 4
client/src/views/OaSystem/projectCenter/projectDetail/projectDetail.vue

@@ -289,10 +289,10 @@ const { mutate: startProjectStatusAndProcess } = useMutation(projectStatusAndPro
       sfysType.value === 'ys'
         ? '验收'
         : sfysType.value === 'jx'
-          ? '结项'
-          : sfysType.value === 'zz'
-            ? '中止'
-            : ''
+        ? '结项'
+        : sfysType.value === 'zz'
+        ? '中止'
+        : ''
     openFlow(router, data, `项目${subTitle}`)
   }
 })

BIN
client_h5/src/assets/images/bjzx_icon.png


BIN
client_h5/src/assets/images/ccsq_icon.png


BIN
client_h5/src/assets/images/jksq_icon.png


BIN
client_h5/src/assets/images/kqsmt_icon.png


BIN
client_h5/src/assets/images/qjsq_icon.png


BIN
client_h5/src/assets/images/rztx_icon.png


BIN
client_h5/src/assets/images/wdrz_icon.png


BIN
client_h5/src/assets/images/wsdrz_icon.png


BIN
client_h5/src/assets/images/zbtx_icon.png


BIN
client_h5/src/assets/images/蒙版组 49.png


+ 22 - 17
client_h5/src/pages/home/index.scss

@@ -40,13 +40,14 @@
           >img {
             display: block;
             margin: auto;
-            width: 14vw;
-            height: 14vw;
+            width: 60px;
+            height: 60px;
           }
           >p {
-            margin: 5px 0px;
+            margin-top: 0px;
+            margin-bottom: 5px;
             color: $font_color;
-            font-size: 15px;
+            font-size: 14px;
           }
           >.corner {
             display: block;
@@ -63,10 +64,11 @@
           >li {
             box-shadow: 0px 4px 20px 0px #EAEDF2;
             border-radius: $card_radius;
-            padding: 25px 20px;
+            padding: 10px 15px;
             position: relative;
             background-repeat: no-repeat;
             background-size: 100% 100%;
+            height: 70px;
             &:nth-child(1) {
               background-image: url("../../assets/images/qjsq_icon.png");
             }
@@ -113,13 +115,15 @@
         >ul {
           display: grid;
           grid-template-columns: repeat(4, 1fr);
+          background-color: #fff;
+          border-radius: 5px;
           >li {
             flex: 1;
             text-align: center;
             position: relative;
-            background: rgba(255,255,255,0.5);
+            // background: rgba(255,255,255,0.5);
             border-radius: 8px;
-            padding: 12px 8px;
+            padding: 8px;
             &:not(:first-child) {
               margin-left: 10px;
             }
@@ -127,16 +131,15 @@
               display: block;
               margin: auto;
               background: #FFFFFF;
-              box-shadow: 0px 4px 20px 0px #EAEDF2;
-              border-radius: $card_radius + 2;
-              padding: 10px;
+              // box-shadow: 0px 4px 20px 0px #EAEDF2;
+              // border-radius: $card_radius + 2;
               width: 10vw;
               height: 10vw;
             }
             >.title {
               display: block;
               margin-top: 5px;
-              font-size: 15px;
+              font-size: 14px;
               color: $font_color;
               white-space: nowrap;
             }
@@ -154,16 +157,18 @@
   .corner {
     position: absolute;
     display: block;
-    width: 22px;
-    height: 16px;
-    line-height: 16px;
+    width: 20px;
+    height: 20px;
+    line-height: 20px;
     font-size: 13px;
-    background-color: #F23C3C;
+    background-color: #FA513B;
     color: #fff;
     border-radius: $corner_radius;
     text-align: center;
-    right: 5px;
-    top: 5px;
+    right: 10px;
+    top: 0px;
+    border: 1px solid #FFFFFF;
+    font-size: 12px;
   }
   .card_title {
     font-size: 17px;

+ 11 - 3
client_h5/src/pages/home/index.vue

@@ -41,7 +41,7 @@ const navMenus = reactive<MenuItem[]>([
   },
   {
     title: "我收到的",
-    icon: "../assets/images/zbtx_icon.png",
+    icon: "../assets/images/wsdrz_icon.png",
     path: "myReceive",
   },
 ]);
@@ -99,7 +99,11 @@ const initAttendCount = async () => {
     isMobile: true,
   });
   if (result) {
-    navMenus[0]["corner"] = result?.data;
+    if (result?.data >= 100) {
+      navMenus[0]["corner"] = 99;
+    } else {
+      navMenus[0]["corner"] = result?.data;
+    }
   }
 };
 initAttendCount();
@@ -109,7 +113,11 @@ initAttendCount();
 async function queryNoticeAndLearnCount() {
   const urlApi = `/admin-api/adm/noticeAndLearn/readNo/count?type=1`;
   const result = await request.get(urlApi);
-  personMenus[1]["corner"] = result?.data;
+  if (result?.data >= 100) {
+    personMenus[1]["corner"] = 99;
+  } else {
+    personMenus[1]["corner"] = result?.data;
+  }
 }
 queryNoticeAndLearnCount();
 const toPageHandle = (path: string) => {