Commit 0144a39e by heshihao

feat: 修改问题

parent 8e210b22
......@@ -692,7 +692,7 @@ export default {
isPoint6: "",
tProjectFlows: flows,
},
formBoxHeight: document.body.clientHeight - 430,
formBoxHeight: 530,
projectName: "",
projectDay: "--",
workData: [],
......@@ -709,7 +709,7 @@ export default {
window.addEventListener(
"resize",
() => {
this.formBoxHeight = document.body.clientHeight - 430;
this.formBoxHeight = 530;
},
false
);
......@@ -733,7 +733,7 @@ export default {
this.projectName = res.projectName;
this.projectDay = res.projectDay || "--";
this.formInfo = { ...this.formInfo, ...res };
if (!this.formInfo.tProjectFlows) {
if (!this.formInfo.tProjectFlows || this.formInfo.tProjectFlows.length == 0) {
this.formInfo.tProjectFlows = flows;
}
this.curFlow = this.formInfo.tProjectFlows;
......@@ -840,7 +840,7 @@ export default {
display: flex;
justify-content: space-between;
color: #a2aab3;
height: 32px;
//height: 32px;
align-items: center;
}
......
......@@ -663,7 +663,7 @@ export default {
if (res.id) {
this.projectName = res.projectName;
this.formInfo = { ...this.formInfo, ...res };
if (!this.formInfo.tProjectFlows) {
if (!this.formInfo.tProjectFlows || this.formInfo.tProjectFlows.length == 0) {
this.formInfo.tProjectFlows = flows;
}
this.formInfo.tProjectFlows = this.formInfo.tProjectFlows.map((item) => {
......
......@@ -59,7 +59,7 @@
<el-button size="small" type="primary" icon="el-icon-plus" @click="onAdd">新增项目</el-button>
<el-button size="small" type="danger" icon="el-icon-top" @click="onDataExport">数据导出</el-button>
</span>
<!-- <div class="tab">
<div class="tab">
<div
v-for="item in tabs2"
:key="item.name"
......@@ -70,10 +70,10 @@
<img style="width: 18px;" :src="activeTab === item.name ? item.imgS : item.img" />
<span>{{ item.name }}</span>
</div>
</div> -->
</div>
</div>
<div class="table-content" ref="tableRef">
<!-- <el-table
<el-table
v-if="activeTab === '项目表'"
:data="tableData"
v-loading="loading"
......@@ -114,13 +114,14 @@
</el-table-column>
<el-table-column prop="responsibleDepartment" label="责任部门" align="center" width="130"> </el-table-column>
<el-table-column prop="deadlineCompletion" label="完成时限" align="center" width="130"> </el-table-column>
</el-table> -->
</el-table>
<flowChart
:curData="flowData"
:tableHeight="tableHeight"
:loading="false"
@changeEdit="handleClickRow"
:headerRowStyle="headerRowStyle"
v-else
></flowChart>
</div>
<div class="page-bottom-pagination">
......@@ -310,6 +311,7 @@ export default {
pageNum: this.pageNum,
};
const res = await keyProjectList(params);
console.log(res, 99999);
if (res.code === 200) {
this.tableData = res.rows;
this.total = res.total;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment