浏览代码

fix search

scorpio 2 年之前
父节点
当前提交
5a2d3df74e
共有 3 个文件被更改,包括 16 次插入12 次删除
  1. 11 7
      src/views/contract/index.vue
  2. 3 3
      src/views/user/manage.vue
  3. 2 2
      vite.config.js

+ 11 - 7
src/views/contract/index.vue

@@ -64,7 +64,8 @@
 <route>
 {
 name: '合同管理',
-meta: { layout: 'empty','path':'/resource','title':'资料管理','showMsg' : "请先通过资料管理,在对应的相关合同类别下上传合同文件,系统将自动识别所有相关文件并展示在以下列表中。"}
+meta: { layout: 'empty','path':'/resource','title':'资料管理','showMsg' :
+"请先通过资料管理,在对应的相关合同类别下上传合同文件,系统将自动识别所有相关文件并展示在以下列表中。"}
 }
 </route>
 <script>
@@ -81,7 +82,7 @@ export default {
       option: {
         align: 'center',
         menuAlign: 'center',
-        menuWidth: 180,
+        menuWidth: 100,
         size: 'mini',
         addBtn: false,
         editBtn: false,
@@ -95,7 +96,8 @@ export default {
             label: '合同名称',
             prop: 'title',
             slot: true,
-            width: 200
+            width: 180,
+            fixed: true
           },
           {
             label: '合同编号',
@@ -116,20 +118,22 @@ export default {
           {
             label: '业务联系人',
             prop: 'contacts',
-            width: 160
+            width: 100
           },
           {
             label: '签订乙方',
-            prop: 'partyB'
+            prop: 'partyB',
+            width: 180
           },
           {
             label: '签订日期',
             prop: 'signTime',
-            width: 110
+            width: 100
           },
           {
             label: '合同状态',
             prop: 'contractsStatus',
+            width: 100,
             dicUrl:
               '/api/blade-system/dict-biz/dictionary?code=contract-status',
             props: {
@@ -140,7 +144,7 @@ export default {
           {
             label: '到期日期',
             prop: 'expireTime',
-            width: 110
+            width: 100
           }
         ]
       },

+ 3 - 3
src/views/user/manage.vue

@@ -200,6 +200,7 @@
             size="220"
           />
           <span>- 复制二维码图片,通过微信发送邀请 -</span>
+          {{ qrCodeText }}
         </div>
         <el-empty v-else description="暂无数据" />
       </div>
@@ -551,11 +552,10 @@ export default {
       this.$api.role.invitation({ deptId, type: 4 }).then(res => {
         if (res.code === 200) {
           this.qrCodeText =
-            'https://prod.wutongshucloud.com/apply?id=' +
+            'https://prod.wutongshucloud.com/invite?id=' +
             res.data.id +
             '&deptId=' +
-            deptId +
-            '&roleName=股室'
+            deptId
         }
       })
     },

+ 2 - 2
vite.config.js

@@ -57,8 +57,8 @@ export default defineConfig({
     proxy: {
       '/api': {
         // 正式环境地址
-        // target: 'https://dev.wutongresearch.club/api',
-        target: 'https://prod.wutongshucloud.com/api',
+        target: 'https://dev.wutongresearch.club/api',
+        // target: 'https://prod.wutongshucloud.com/api',
         // target: 'http://192.168.31.181:8110',
         changeOrigin: true,
         rewrite: path => path.replace(/^\/api/, '')