-- 审核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

@@ -101,7 +101,7 @@
</button> </button>
</div> </div>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="2" tab="修改记录"> </a-tab-pane> <a-tab-pane key="2" tab="修改记录"></a-tab-pane>
</a-tabs> </a-tabs>
<div class="audit"> <div class="audit">
<div class="set_content"> <div class="set_content">
@@ -116,7 +116,7 @@
<div class="set_content"> <div class="set_content">
<div class="setc_name"><span>审核意见</span></div> <div class="setc_name"><span>审核意见</span></div>
<div class="setc_main"> <div class="setc_main">
<a-textarea v-model:value="valueSuggest" :rows="4" /> <a-textarea v-model:value="valueSuggest" :rows="4"/>
</div> </div>
</div> </div>
</div> </div>
@@ -130,11 +130,12 @@
</template> </template>
<script> <script>
import { toRefs, reactive } from "vue"; import {toRefs, reactive} from "vue";
import { getTask } from "../../api/indexTaskadd"; import {getTask} from "../../api/indexTaskadd";
import { toDate } from "../../api/method"; import {toDate} from "../../api/method";
import { auditView } from "../../api/indexAudit"; import {auditView} from "../../api/indexAudit";
import { message } from "ant-design-vue"; import {message} from "ant-design-vue";
export default { export default {
name: "ProjectAudit", name: "ProjectAudit",
components: {}, components: {},
@@ -155,6 +156,10 @@ export default {
type: String, type: String,
default: null, default: null,
}, },
finishdFun: {
type: Function,
default: null
}
}, },
setup(props, ctx) { setup(props, ctx) {
@@ -195,6 +200,8 @@ export default {
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:ProjAuditvisible", false); ctx.emit("update:ProjAuditvisible", false);
console.log(props.finishdFun)
props.finishdFun && props.finishdFun()
state.valueSuggest = null; state.valueSuggest = null;
state.valuePass = "1"; state.valuePass = "1";
}; };
@@ -202,7 +209,7 @@ export default {
//获取项目信息 //获取项目信息
const getTaskInfo = () => { const getTaskInfo = () => {
getTask({ getTask({
projectId: props.chooseCreateId, projectId: props.chooseProject,
}).then((res) => { }).then((res) => {
console.log("get task", res.data.data); console.log("get task", res.data.data);
let info = res.data.data.projectInfo; let info = res.data.data.projectInfo;
@@ -309,6 +316,7 @@ export default {
// 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;
@@ -318,6 +326,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;
@@ -327,12 +336,14 @@ 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;
padding-right: 10px; padding-right: 10px;
.content7 { .content7 {
margin-top: 20px; margin-top: 20px;
@@ -400,11 +411,13 @@ export default {
} }
} }
} }
.detaile { .detaile {
width: 100%; width: 100%;
// background-color: blue; // background-color: blue;
display: flex; display: flex;
justify-content: center; justify-content: center;
.can { .can {
width: 130px; width: 130px;
height: 40px; height: 40px;
@@ -414,6 +427,7 @@ export default {
background-color: #fff; background-color: #fff;
margin-right: 30px; margin-right: 30px;
} }
.debtn { .debtn {
width: 130px; width: 130px;
height: 40px; height: 40px;
@@ -424,10 +438,12 @@ export default {
cursor: pointer; cursor: pointer;
} }
} }
.audit { .audit {
margin-left: 34px; margin-left: 34px;
margin-right: 34px; margin-right: 34px;
position: relative; position: relative;
.set_content { .set_content {
margin: 32px auto; margin: 32px auto;
display: flex; display: flex;
@@ -442,6 +458,7 @@ export default {
.setc_main { .setc_main {
flex: 1; flex: 1;
margin-left: 12px; margin-left: 12px;
textarea { textarea {
border-radius: 4px !important; border-radius: 4px !important;
resize: none; resize: none;

View File

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