|
@@ -2,7 +2,7 @@
|
|
* @Author : yuanrunwei
|
|
* @Author : yuanrunwei
|
|
* @Date : 2021-12-04 14:23:58
|
|
* @Date : 2021-12-04 14:23:58
|
|
* @LastEditors: Please set LastEditors
|
|
* @LastEditors: Please set LastEditors
|
|
- * @LastEditTime: 2022-02-10 18:12:52
|
|
|
|
|
|
+ * @LastEditTime: 2022-02-10 19:30:09
|
|
* @FilePath : \spfm-market-front\src\pages\main\performance\components\sheet.vue
|
|
* @FilePath : \spfm-market-front\src\pages\main\performance\components\sheet.vue
|
|
-->
|
|
-->
|
|
<template>
|
|
<template>
|
|
@@ -310,11 +310,9 @@ export default {
|
|
// console.log(e,'e');
|
|
// console.log(e,'e');
|
|
// },
|
|
// },
|
|
handleAllow({ row, column }) {
|
|
handleAllow({ row, column }) {
|
|
- let public_permisson = !this.form.permission_type && this.type === "edit";
|
|
|
|
- let editable =
|
|
|
|
- this.row_list.includes(row) && this.column_list.includes(column);
|
|
|
|
- let isId = !this.id;
|
|
|
|
- let totalBoolean = (public_permisson || editable) && !isId;
|
|
|
|
|
|
+ let public_permisson = (!this.form.permission_type||this.status==='2') && this.type === "edit";
|
|
|
|
+ let editable = this.row_list.includes(row) && this.column_list.includes(column);
|
|
|
|
+ let totalBoolean = (public_permisson || editable) && this.id;
|
|
return totalBoolean;
|
|
return totalBoolean;
|
|
},
|
|
},
|
|
async handleQuery() {
|
|
async handleQuery() {
|