-- 审核bug

This commit is contained in:
yuping
2022-11-30 11:45:13 +08:00
parent a565c9916a
commit d83b8668a9
2 changed files with 77 additions and 59 deletions

View File

@@ -135,6 +135,7 @@ import { getTask } from "../../api/indexTaskadd";
import {toDate} from "../../api/method";
import {auditView} from "../../api/indexAudit";
import {message} from "ant-design-vue";
export default {
name: "ProjectAudit",
components: {},
@@ -155,6 +156,10 @@ export default {
type: String,
default: null,
},
finishdFun: {
type: Function,
default: null
}
},
setup(props, ctx) {
@@ -195,6 +200,8 @@ export default {
const closeDrawer = () => {
ctx.emit("update:ProjAuditvisible", false);
console.log(props.finishdFun)
props.finishdFun && props.finishdFun()
state.valueSuggest = null;
state.valuePass = "1";
};
@@ -202,7 +209,7 @@ export default {
//获取项目信息
const getTaskInfo = () => {
getTask({
projectId: props.chooseCreateId,
projectId: props.chooseProject,
}).then((res) => {
console.log("get task", res.data.data);
let info = res.data.data.projectInfo;
@@ -309,6 +316,7 @@ export default {
// overflow-x: auto;
display: flex;
flex-direction: column;
.header {
height: 73px;
border-bottom: 1px solid #e8e8e8;
@@ -318,6 +326,7 @@ export default {
// background-color: red;
margin-bottom: 20px;
flex-shrink: 0;
.headerTitle {
font-size: 18px;
font-weight: 600;
@@ -327,12 +336,14 @@ export default {
// margin-left: 24px;
}
}
.main {
width: 100%;
height: 100%;
// background-color: #bfa;
overflow-y: auto;
padding-right: 10px;
.content7 {
margin-top: 20px;
@@ -400,11 +411,13 @@ export default {
}
}
}
.detaile {
width: 100%;
// background-color: blue;
display: flex;
justify-content: center;
.can {
width: 130px;
height: 40px;
@@ -414,6 +427,7 @@ export default {
background-color: #fff;
margin-right: 30px;
}
.debtn {
width: 130px;
height: 40px;
@@ -424,10 +438,12 @@ export default {
cursor: pointer;
}
}
.audit {
margin-left: 34px;
margin-right: 34px;
position: relative;
.set_content {
margin: 32px auto;
display: flex;
@@ -442,6 +458,7 @@ export default {
.setc_main {
flex: 1;
margin-left: 12px;
textarea {
border-radius: 4px !important;
resize: none;

View File

@@ -104,6 +104,7 @@
v-model:chooseProject="chooseProject"
v-model:chooseCreateId="chooseCreateId"
v-model:chooseCreater="chooseCreater"
v-model:finishdFun="getProjList"
/>
</div>
</template>