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