-- 归属圈不可以取消

This commit is contained in:
yuping
2022-12-05 20:35:30 +08:00
parent 255b8b66c2
commit bf74bfafc6

View File

@@ -134,6 +134,7 @@
import {toRefs, reactive} from "vue"; import {toRefs, reactive} from "vue";
import * as api from "../../api/index1"; import * as api from "../../api/index1";
import {message} from "ant-design-vue"; import {message} from "ant-design-vue";
export default { export default {
name: "ProjPowerList", name: "ProjPowerList",
props: { props: {
@@ -271,9 +272,8 @@ export default {
align: "center", align: "center",
scopedSlots: {customRender: "action"}, //引入的插槽 scopedSlots: {customRender: "action"}, //引入的插槽
customRender: (text) => { customRender: (text) => {
return ( return (text.record.state === '归属权' ? '' : <div
<div className="opa"
class="opa"
onClick={() => { onClick={() => {
console.log("text.record.id", text.record.id); console.log("text.record.id", text.record.id);
showCancelModal(text.record); showCancelModal(text.record);
@@ -430,16 +430,19 @@ export default {
.ant-drawer-header { .ant-drawer-header {
display: none !important; display: none !important;
} }
.ant-drawer-body { .ant-drawer-body {
padding: 0; padding: 0;
} }
} }
.drawerMain { .drawerMain {
min-width: 550px; min-width: 550px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
// overflow-x: auto; // overflow-x: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.header { .header {
height: 73px; height: 73px;
border-bottom: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
@@ -449,6 +452,7 @@ export default {
// background-color: red; // background-color: red;
margin-bottom: 20px; margin-bottom: 20px;
flex-shrink: 0; flex-shrink: 0;
.headerTitle { .headerTitle {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
@@ -457,11 +461,13 @@ export default {
// margin-left: 24px; // margin-left: 24px;
} }
} }
.main { .main {
width: 100%; width: 100%;
height: 100%; height: 100%;
// background-color: #bfa; // background-color: #bfa;
overflow-y: auto; overflow-y: auto;
.search { .search {
width: 100%; width: 100%;
display: flex; display: flex;
@@ -471,14 +477,17 @@ export default {
.leftchoose { .leftchoose {
display: flex; display: flex;
margin-right: 20px; margin-right: 20px;
.namecon { .namecon {
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
margin-bottom: 10px; margin-bottom: 10px;
.name { .name {
margin-top: 8px; margin-top: 8px;
white-space: nowrap; white-space: nowrap;
} }
// .name { // .name {
// margin-top: 8px; // margin-top: 8px;
@@ -501,6 +510,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.img1 { .img1 {
width: 15px; width: 15px;
height: 17px; height: 17px;
@@ -508,6 +518,7 @@ export default {
background-size: 100% 100%; background-size: 100% 100%;
margin-right: 7px; margin-right: 7px;
} }
.img2 { .img2 {
width: 16px; width: 16px;
height: 18px; height: 18px;
@@ -522,6 +533,7 @@ export default {
color: #ffffff; color: #ffffff;
} }
.btn2 { .btn2 {
background: #ffffff; background: #ffffff;
@@ -539,17 +551,21 @@ export default {
// padding-left: 9px !important; // padding-left: 9px !important;
padding-left: 20px !important; padding-left: 20px !important;
} }
.ant-checkbox-wrapper { .ant-checkbox-wrapper {
align-items: center; align-items: center;
margin-top: -2px; margin-top: -2px;
} }
.ant-table-selection-column { .ant-table-selection-column {
padding: 0px !important; padding: 0px !important;
// padding-left: 45px !important; // padding-left: 45px !important;
} }
.ant-table-thead > tr > th { .ant-table-thead > tr > th {
background-color: rgba(239, 244, 252, 1); background-color: rgba(239, 244, 252, 1);
} }
th.h { th.h {
background-color: #eff4fc !important; background-color: #eff4fc !important;
} }
@@ -559,6 +575,7 @@ export default {
> td { > td {
background: #f6f9fd; background: #f6f9fd;
} }
.opa { .opa {
// background-color: #bfa; // background-color: #bfa;
font-size: 14px; font-size: 14px;
@@ -567,6 +584,7 @@ export default {
cursor: pointer; cursor: pointer;
} }
} }
.pa { .pa {
// left: 0; // left: 0;
margin-top: 25px; margin-top: 25px;
@@ -585,6 +603,7 @@ export default {
margin-bottom: 10px; margin-bottom: 10px;
} }
} }
// .tab { // .tab {
// .ant-table-thead > tr > th { // .ant-table-thead > tr > th {
// background-color: rgba(239, 244, 252, 1) !important; // background-color: rgba(239, 244, 252, 1) !important;
@@ -602,6 +621,7 @@ export default {
// } // }
} }
} }
// .botm { // .botm {
// width: 100%; // width: 100%;
// height: 100%; // height: 100%;
@@ -619,6 +639,7 @@ export default {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
.btn1 { .btn1 {
width: 100px; width: 100px;
height: 40px; height: 40px;
@@ -628,6 +649,7 @@ export default {
background-color: #fff; background-color: #fff;
cursor: pointer; cursor: pointer;
} }
.btn2 { .btn2 {
cursor: pointer; cursor: pointer;
width: 100px; width: 100px;