Forráskód Böngészése

fix:合同查看权限修改

ly 10 hónapja
szülő
commit
121fec164b

+ 1 - 1
src/views/business/crm/order/index.vue

@@ -112,7 +112,7 @@
       <el-table-column label="操作" fixed="right" align="center" width="130" class-name="small-padding fixed-width">
         <template #default="scope">
           <el-button link type="primary" size="small" @click="handleUpdate(scope.row)"
-            v-hasPermi="['business:archive:order:edit']">查看</el-button>
+            v-hasPermi="['business:archive:order:list']">查看</el-button>
           <el-button link type="danger" size="small" @click="handleDelete(scope.row)"
             v-hasPermi="['business:archive:order:remove']">删除</el-button>
         </template>

+ 1 - 1
src/views/business/financial/collection/form.vue

@@ -123,7 +123,7 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="合同编号:" prop="remark">
-                <el-link v-if="auth.hasPermi('business:archive:order:view')" :underline="false" type="primary" @click="handleContract(form)">{{ form.contractNo }}</el-link>
+                <el-link v-if="auth.hasPermi('business:archive:order:cwview')" :underline="false" type="primary" @click="handleContract(form)">{{ form.contractNo }}</el-link>
                 <span v-else>{{form.contractNo}}</span>
               </el-form-item>
             </el-col>

+ 1 - 1
src/views/business/financial/contract/form.vue

@@ -126,7 +126,7 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="合同编号:" prop="remark">
-                <el-link v-if="auth.hasPermi('business:archive:order:view')" :underline="false" type="primary" @click="handleContract(form)">{{ form.contractNo }}</el-link>
+                <el-link v-if="auth.hasPermi('business:archive:order:cwview')" :underline="false" type="primary" @click="handleContract(form)">{{ form.contractNo }}</el-link>
                 <span v-else>{{form.contractNo}}</span>
               </el-form-item>
             </el-col>