20200622-zlp-2
首页-一日流程学习
This commit is contained in:
parent
067fced942
commit
6a5ccd6f26
@ -41,19 +41,20 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-for="(item, index) in dayflowtaskList" :key="index" class="text item">
|
<div v-for="(item, index) in dayflowtaskList" :key="index" class="text item">
|
||||||
{{item.taskLable}}
|
{{item.taskLable}}
|
||||||
|
<br />
|
||||||
|
{{item.taskContent}}
|
||||||
<div
|
<div
|
||||||
v-for="(item_standard, index_standard) in (dayflowstandardList.filter(p=>p.taskCode==item.code))"
|
v-for="(item_standard, index_standard) in (dayflowstandardList.filter(p=>p.taskCode==item.code))"
|
||||||
:key="index_standard"
|
:key="index_standard"
|
||||||
class="text item"
|
class="text item"
|
||||||
>{{item_standard.standardTitle}}
|
>
|
||||||
<br/>解读
|
{{item_standard.standardTitle}}
|
||||||
<div
|
<br />解读
|
||||||
v-for="(item_unscramble, index_unscramble) in (dayflowunscrambleList.filter(p=>p.standardId==item_standard.id))"
|
<div
|
||||||
:key="index_unscramble"
|
v-for="(item_unscramble, index_unscramble) in (dayflowunscrambleList.filter(p=>p.standardId==item_standard.id))"
|
||||||
class="text item"
|
:key="index_unscramble"
|
||||||
>{{item_unscramble.sort}}-{{item_unscramble.content}}
|
class="text item"
|
||||||
|
>{{item_unscramble.sort}}){{item_unscramble.content}}</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
@ -98,9 +99,6 @@ export default {
|
|||||||
// 查询参数
|
// 查询参数
|
||||||
queryParams: {
|
queryParams: {
|
||||||
detailId: undefined
|
detailId: undefined
|
||||||
},
|
|
||||||
queryStandardParams: {
|
|
||||||
taskCode: undefined
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -112,6 +110,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getTreeselect();
|
this.getTreeselect();
|
||||||
|
this.getChildNodeList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/** 查询部门下拉树结构 */
|
/** 查询部门下拉树结构 */
|
||||||
@ -120,6 +119,14 @@ export default {
|
|||||||
this.treeOptions = response.data;
|
this.treeOptions = response.data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
getChildNodeList() {
|
||||||
|
listStandard(null).then(response => {
|
||||||
|
this.dayflowstandardList = response.rows;
|
||||||
|
});
|
||||||
|
listUnscramble(null).then(response => {
|
||||||
|
this.dayflowunscrambleList = response.rows;
|
||||||
|
});
|
||||||
|
},
|
||||||
// 筛选节点
|
// 筛选节点
|
||||||
filterNode(value, data) {
|
filterNode(value, data) {
|
||||||
if (!value) return true;
|
if (!value) return true;
|
||||||
@ -142,12 +149,6 @@ export default {
|
|||||||
this.content = response.data.content;
|
this.content = response.data.content;
|
||||||
this.note = response.data.note;
|
this.note = response.data.note;
|
||||||
});
|
});
|
||||||
listStandard(null).then(response => {
|
|
||||||
this.dayflowstandardList = response.rows;
|
|
||||||
});
|
|
||||||
listUnscramble(null).then(response => {
|
|
||||||
this.dayflowunscrambleList = response.rows;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user