Procházet zdrojové kódy

feat(融资管理):下载权限

sufan před 7 měsíci
rodič
revize
9b46f28b47
1 změnil soubory, kde provedl 7 přidání a 7 odebrání
  1. 7 7
      src/views/financingManage/index.vue

+ 7 - 7
src/views/financingManage/index.vue

@@ -183,7 +183,7 @@ export default {
               {
                 msg: '支用文件下载',
                 icon: 'iconfont icon-xiazai',
-                power: '',
+                power: 'quotaDisburseFileDownload',
                 tabPower: ['all'],
                 rowPower: ['支用审核', '合同制作', '合同签署', '合同审核', '付款申请', '付款审核', null],
                 category: 'click',
@@ -196,7 +196,7 @@ export default {
               {
                 msg: '付款文件下载',
                 icon: 'iconfont icon-xiazai',
-                power: '',
+                power: 'paymentFileDownload',
                 tabPower: ['all'],
                 rowPower: ['付款申请', '付款审核', null],
                 category: 'click',
@@ -209,7 +209,7 @@ export default {
               {
                 msg: '合同文件下载',
                 icon: 'iconfont icon-xiazai',
-                power: '',
+                power: 'contractFileDownload',
                 tabPower: ['all'],
                 rowPower: ['合同签署', '合同审核', '付款申请', '付款审核', null],
                 category: 'click',
@@ -222,7 +222,7 @@ export default {
               {
                 msg: '合同出证文件下载',
                 icon: 'iconfont icon-xiazai',
-                power: '',
+                power: 'contractFileDownload',
                 tabPower: ['all'],
                 rowPower: ['合同审核', '付款申请', '付款审核', null],
                 category: 'click',
@@ -235,7 +235,7 @@ export default {
               {
                 msg: '重新下载合同签署文件',
                 icon: 'iconfont icon-xiazai',
-                power: '',
+                power: 'reDownloadContractSignFile',
                 tabPower: ['all'],
                 rowPower: ['合同审核', '付款申请', '付款审核', null],
                 category: 'click',
@@ -248,7 +248,7 @@ export default {
               {
                 msg: '生成新的合同链接',
                 icon: 'iconfont icon-shuaxin',
-                power: '',
+                power: 'generateContractSignLink',
                 tabPower: ['all'],
                 rowPower: ['合同签署'],
                 category: 'click',
@@ -263,7 +263,7 @@ export default {
               return (
                 this.tablePower({ item, tab: this.activeName, row }) &&
                 <el-tooltip class='item' effect='dark' content={item.msg} placement='top' >
-                  <span class='table-icon-box'>
+                  <span class='table-icon-box' v-power={item.power}>
                     <i class={item.icon} onClick={() => { this.handlerOperate(item.category, row, item) }}></i>
                   </span>
                 </el-tooltip>