فهرست منبع

修改授权标识

阿伏兔 4 سال پیش
والد
کامیت
7b58692eda

+ 7 - 7
src/api/basicdata/corps.js

@@ -3,7 +3,7 @@ import request from '@/utils/request'
 // 查询客户详情列表
 export function listCorps(query) {
   return request({
-    url: '/basicdata/customerDetails/corps/list',
+    url: '/basicdata/corps/list',
     method: 'get',
     params: query
   })
@@ -12,7 +12,7 @@ export function listCorps(query) {
 // 查询客户详情详细
 export function getCorps(fId) {
   return request({
-    url: '/basicdata/customerDetails/corps/' + fId,
+    url: '/basicdata/corps/' + fId,
     method: 'get'
   })
 }
@@ -20,7 +20,7 @@ export function getCorps(fId) {
 // 新增客户详情
 export function addCorps(data) {
   return request({
-    url: '/basicdata/customerDetails/corps',
+    url: '/basicdata/corps',
     method: 'post',
     data: data
   })
@@ -29,7 +29,7 @@ export function addCorps(data) {
 // 修改客户详情
 export function updateCorps(data) {
   return request({
-    url: '/basicdata/customerDetails/corps',
+    url: '/basicdata/corps',
     method: 'put',
     data: data
   })
@@ -41,7 +41,7 @@ export function changeCorpsStatus(fId, fStatus) {
     fStatus
   }
   return request({
-    url: '/basicdata/customerDetails/corps',
+    url: '/basicdata/corps',
     method: 'put',
     data: data
   })
@@ -50,7 +50,7 @@ export function changeCorpsStatus(fId, fStatus) {
 // 删除客户详情
 export function delCorps(fId) {
   return request({
-    url: '/basicdata/customerDetails/corps/' + fId,
+    url: '/basicdata/corps/' + fId,
     method: 'delete'
   })
 }
@@ -58,7 +58,7 @@ export function delCorps(fId) {
 // 导出客户详情
 export function exportCorps(query) {
   return request({
-    url: '/basicdata/customerDetails/corps/export',
+    url: '/basicdata/corps/export',
     method: 'get',
     params: query
   })

+ 8 - 8
src/views/agreement/agreementTask/index.vue

@@ -97,7 +97,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd()"
-          v-hasPermi="['warehouseBusiness:agreement:add']"
+          v-hasPermi="['agreement:agreementTask:add']"
         >新增
         </el-button>
       </el-col>
@@ -108,7 +108,7 @@
           size="mini"
           :disabled="single"
           @click="handleUpdate"
-          v-hasPermi="['warehouseBusiness:agreement:edit']"
+          v-hasPermi="['agreement:agreementTask:edit']"
         >修改
         </el-button>
       </el-col>
@@ -119,7 +119,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['warehouseBusiness:agreement:remove']"
+          v-hasPermi="['agreement:agreementTask:remove']"
         >删除
         </el-button>
       </el-col>
@@ -129,7 +129,7 @@
           icon="el-icon-download"
           size="mini"
           @click="handleExport"
-          v-hasPermi="['warehouseBusiness:agreement:export']"
+          v-hasPermi="['agreement:agreementTask:export']"
         >导出
         </el-button>
       </el-col>
@@ -180,7 +180,7 @@
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
             v-if="scope.row.fBillstatus <= 3"
-            v-hasPermi="['warehouseBusiness:agreement:edit']"
+            v-hasPermi="['agreement:agreementTask:edit']"
           >修改
           </el-button>
           <el-button
@@ -189,7 +189,7 @@
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
             v-if="scope.row.fBillstatus <= 3"
-            v-hasPermi="['warehouseBusiness:agreement:remove']"
+            v-hasPermi="['agreement:agreementTask:remove']"
           >删除
           </el-button>
           <el-button
@@ -198,7 +198,7 @@
             icon="el-icon-delete"
             @click="speed(scope.row,0)"
             v-if="scope.row.fBillstatus == 6"
-            v-hasPermi="['warehouseBusiness:agreement:remove']"
+            v-hasPermi="['agreement:agreementTask:remove']"
           >查看
           </el-button>
           <el-button
@@ -207,7 +207,7 @@
             icon="el-icon-delete"
             @click="speed(scope.row,1)"
             v-if="scope.row.fBillstatus == 4 || scope.row.fBillstatus == 5"
-            v-hasPermi="['warehouseBusiness:agreement:remove']"
+            v-hasPermi="['agreement:agreementTask:remove']"
           >审批进度
           </el-button>
         </template>

+ 6 - 6
src/views/basicdata/corps/index.vue

@@ -70,7 +70,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['basicdata/customerDetails:corps:add']"
+          v-hasPermi="['basicdata:corps:add']"
         >新增</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -80,7 +80,7 @@
           size="mini"
           :disabled="single"
           @click="handleUpdate"
-          v-hasPermi="['basicdata/customerDetails:corps:edit']"
+          v-hasPermi="['basicdata:corps:edit']"
         >修改</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -90,7 +90,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['basicdata/customerDetails:corps:remove']"
+          v-hasPermi="['basicdata:corps:remove']"
         >删除</el-button>
       </el-col>
       <el-col :span="1.5">
@@ -99,7 +99,7 @@
           icon="el-icon-download"
           size="mini"
           @click="handleExport"
-          v-hasPermi="['basicdata/customerDetails:corps:export']"
+          v-hasPermi="['basicdata:corps:export']"
         >导出</el-button>
       </el-col>
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -156,14 +156,14 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['basicdata/customerDetails:corps:edit']"
+            v-hasPermi="['basicdata:corps:edit']"
           >修改</el-button>
           <el-button
             size="mini"
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['basicdata/customerDetails:corps:remove']"
+            v-hasPermi="['basicdata:corps:remove']"
           >删除</el-button>
         </template>
       </el-table-column>

+ 7 - 7
src/views/finance/payment/index.vue

@@ -67,7 +67,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['finance:charge:add']"
+          v-hasPermi="['finance:payment:add']"
         >新增
         </el-button>
       </el-col>
@@ -78,7 +78,7 @@
           size="mini"
           :disabled="single"
           @click="handleUpdate"
-          v-hasPermi="['finance:charge:edit']"
+          v-hasPermi="['finance:payment:edit']"
         >修改
         </el-button>
       </el-col>
@@ -99,7 +99,7 @@
           icon="el-icon-download"
           size="mini"
           @click="handleExport"
-          v-hasPermi="['finance:charge:export']"
+          v-hasPermi="['finance:payment:export']"
         >导出
         </el-button>
       </el-col>
@@ -140,7 +140,7 @@
             type="text"
             icon="el-icon-view"
             @click="check(scope.row,0)"
-            v-hasPermi="['finance:contrast:edit']"
+            v-hasPermi="['finance:payment:edit']"
           >查看</el-button
           >
           <el-button
@@ -148,7 +148,7 @@
             type="text"
             icon="el-icon-view"
             @click="check(scope.row,1)"
-            v-hasPermi="['finance:contrast:edit']"
+            v-hasPermi="['finance:payment:edit']"
             v-if="scope.row.fBillstatus == 4 || scope.row.fBillstatus == 5"
           >审批进度</el-button
           >
@@ -157,7 +157,7 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['finance:charge:edit']"
+            v-hasPermi="['finance:payment:edit']"
             v-if="scope.row.fBillstatus <= 3"
           >修改
           </el-button>
@@ -166,7 +166,7 @@
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['finance:charge:remove']"
+            v-hasPermi="['finance:payment:remove']"
             v-if="scope.row.fBillstatus <= 3"
           >删除
           </el-button>

+ 8 - 8
src/views/warehouseBusiness/agreement/index.vue

@@ -97,7 +97,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd()"
-          v-hasPermi="['warehouseBusiness:agreement:add']"
+          v-hasPermi="['agreement:agreementStorage:add']"
         >新增
         </el-button>
       </el-col>
@@ -108,7 +108,7 @@
           size="mini"
           :disabled="single"
           @click="handleUpdate"
-          v-hasPermi="['warehouseBusiness:agreement:edit']"
+          v-hasPermi="['agreement:agreementStorage:edit']"
           v-if="form.fBillstatus === '2' || form.fBillstatus === '3'"
         >修改
         </el-button>
@@ -120,7 +120,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['warehouseBusiness:agreement:remove']"
+          v-hasPermi="['agreement:agreementStorage:remove']"
         >删除
         </el-button>
       </el-col>
@@ -130,7 +130,7 @@
           icon="el-icon-download"
           size="mini"
           @click="handleExport"
-          v-hasPermi="['warehouseBusiness:agreement:export']"
+          v-hasPermi="['agreement:agreementStorage:export']"
         >导出
         </el-button>
       </el-col>
@@ -181,7 +181,7 @@
             icon="el-icon-view"
             @click="check(scope.row,0)"
             v-if="scope.row.fBillstatus == 6"
-            v-hasPermi="['warehouseBusiness:agreement:edit']"
+            v-hasPermi="['agreement:agreementStorage:edit']"
           >查看
           </el-button>
           <el-button
@@ -189,7 +189,7 @@
             type="text"
             icon="el-icon-view"
             @click="check(scope.row,1)"
-            v-hasPermi="['finance:contrast:edit']"
+            v-hasPermi="['agreement:agreementStorage:edit']"
             v-if="scope.row.fBillstatus == 4 || scope.row.fBillstatus == 5"
           >审批进度
           </el-button>
@@ -199,7 +199,7 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['warehouseBusiness:agreement:edit']"
+            v-hasPermi="['agreement:agreementStorage:edit']"
           >修改
           </el-button>
           <el-button
@@ -207,7 +207,7 @@
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['warehouseBusiness:agreement:remove']"
+            v-hasPermi="['agreement:agreementStorage:remove']"
           >删除
           </el-button>
         </template>