mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
style:table渲染图片 修改弹窗类名
This commit is contained in:
BIN
src/assets/images/taskpage/one.png
Normal file
BIN
src/assets/images/taskpage/one.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
src/assets/images/taskpage/three.png
Normal file
BIN
src/assets/images/taskpage/three.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/assets/images/taskpage/two.png
Normal file
BIN
src/assets/images/taskpage/two.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -95,6 +95,7 @@
|
|||||||
centered="true"
|
centered="true"
|
||||||
v-model:visible="out"
|
v-model:visible="out"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
|
wrapClassName="CreatePath"
|
||||||
>
|
>
|
||||||
<div class="out">
|
<div class="out">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
@@ -534,7 +535,14 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.ant-modal {
|
.clearfix:before,
|
||||||
|
.clearfix:after {
|
||||||
|
content: " ";
|
||||||
|
display: block;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
.CreatePath {
|
||||||
|
.ant-modal {
|
||||||
width: 680px !important;
|
width: 680px !important;
|
||||||
height: 528px !important;
|
height: 528px !important;
|
||||||
.ant-modal-content {
|
.ant-modal-content {
|
||||||
@@ -714,12 +722,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.clearfix:before,
|
|
||||||
.clearfix:after {
|
|
||||||
content: " ";
|
|
||||||
display: block;
|
|
||||||
clear: both;
|
|
||||||
}
|
}
|
||||||
.learningPath {
|
.learningPath {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
centered="true"
|
centered="true"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
:closable="clos"
|
:closable="clos"
|
||||||
|
wrapClassName="AddLevel"
|
||||||
>
|
>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="headmain">
|
<div class="headmain">
|
||||||
@@ -310,7 +311,7 @@
|
|||||||
<div class="draw" style="position: relative">
|
<div class="draw" style="position: relative">
|
||||||
<a-drawer
|
<a-drawer
|
||||||
v-model:visible="visible"
|
v-model:visible="visible"
|
||||||
class="drawerStyle"
|
class="drawerStyle ProjectDrawer"
|
||||||
title="关联项目"
|
title="关联项目"
|
||||||
placement="right"
|
placement="right"
|
||||||
width="80%"
|
width="80%"
|
||||||
@@ -322,7 +323,7 @@
|
|||||||
<img
|
<img
|
||||||
style="width: 29px; height: 29px; cursor: pointer"
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
src="../../assets/images/basicinfo/close.png"
|
src="../../assets/images/basicinfo/close.png"
|
||||||
@click="showDrawer"
|
@click="closeDrawer"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="drawerbox">
|
<div class="drawerbox">
|
||||||
@@ -648,6 +649,9 @@ export default {
|
|||||||
const showDrawer = () => {
|
const showDrawer = () => {
|
||||||
state.visible = true;
|
state.visible = true;
|
||||||
};
|
};
|
||||||
|
const closeDrawer = () => {
|
||||||
|
state.visible = false;
|
||||||
|
};
|
||||||
const showModal = () => {
|
const showModal = () => {
|
||||||
state.modal = true;
|
state.modal = true;
|
||||||
};
|
};
|
||||||
@@ -802,6 +806,7 @@ export default {
|
|||||||
selectProjectName2,
|
selectProjectName2,
|
||||||
tableDataFunc,
|
tableDataFunc,
|
||||||
showDrawer,
|
showDrawer,
|
||||||
|
closeDrawer,
|
||||||
showModal,
|
showModal,
|
||||||
closeModal,
|
closeModal,
|
||||||
afterVisibleChange,
|
afterVisibleChange,
|
||||||
@@ -819,7 +824,8 @@ export default {
|
|||||||
display: block;
|
display: block;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.ant-modal {
|
.AddLevel {
|
||||||
|
.ant-modal {
|
||||||
width: 624px !important;
|
width: 624px !important;
|
||||||
height: 388px !important;
|
height: 388px !important;
|
||||||
.ant-modal-content {
|
.ant-modal-content {
|
||||||
@@ -953,17 +959,18 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.drawerStyle {
|
.ProjectDrawer {
|
||||||
.ant-drawer-content-wrapper {
|
// .ant-drawer-content-wrapper {
|
||||||
// max-width: 1000px;
|
|
||||||
.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: 600px;
|
min-width: 600px;
|
||||||
margin: 0px 32px 0px 32px;
|
margin: 0px 32px 0px 32px;
|
||||||
|
|||||||
@@ -1485,6 +1485,28 @@ export default {
|
|||||||
width: 50,
|
width: 50,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
if (text.record.rank == "1") {
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
style={{
|
||||||
|
width: 24,
|
||||||
|
height: 24,
|
||||||
|
backgroundImage:
|
||||||
|
"url(" +
|
||||||
|
require("../../assets/images/taskpage/one.png") +
|
||||||
|
")",
|
||||||
|
}}
|
||||||
|
>fewfwe</div>
|
||||||
|
);
|
||||||
|
} else if (text.record.rank == "2") {
|
||||||
|
return <div>ggg</div>;
|
||||||
|
} else if (text.record.rank == "3") {
|
||||||
|
return <div>ggg</div>;
|
||||||
|
} else {
|
||||||
|
return <div>{text.record.rank}</div>;
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "名称",
|
title: "名称",
|
||||||
|
|||||||
Reference in New Issue
Block a user