mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
feat:合并
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @Author: lixg lixg@dongwu-inc.com
|
* @Author: lixg lixg@dongwu-inc.com
|
||||||
* @Date: 2022-11-21 14:32:52
|
* @Date: 2022-11-21 14:32:52
|
||||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||||
* @LastEditTime: 2022-11-29 21:03:51
|
* @LastEditTime: 2022-11-30 13:45:23
|
||||||
* @FilePath: /fe-manage/src/api/config.js
|
* @FilePath: /fe-manage/src/api/config.js
|
||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
*/
|
*/
|
||||||
@@ -53,7 +53,7 @@ http.interceptors.response.use(
|
|||||||
return response;
|
return response;
|
||||||
} else {
|
} else {
|
||||||
if (code === 1000) {
|
if (code === 1000) {
|
||||||
// window.open("https://u-pre.boe.com/web/", '_self');
|
window.open("https://u-pre.boe.com/web/", '_self');
|
||||||
}
|
}
|
||||||
console.log("api %o", msg);
|
console.log("api %o", msg);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -135,6 +135,7 @@ 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,8 +209,7 @@ export default {
|
|||||||
//获取项目信息
|
//获取项目信息
|
||||||
const getTaskInfo = () => {
|
const getTaskInfo = () => {
|
||||||
getTask({
|
getTask({
|
||||||
// 先使用了固定projectId
|
projectId: props.chooseProject,
|
||||||
projectId: 37,
|
|
||||||
}).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;
|
||||||
@@ -310,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;
|
||||||
@@ -319,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;
|
||||||
@@ -328,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;
|
||||||
|
|
||||||
@@ -401,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;
|
||||||
@@ -415,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;
|
||||||
@@ -425,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;
|
||||||
@@ -443,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;
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user