zhengkaixin há 2 anos atrás
pai
commit
0ecb7aad73

+ 5 - 0
src/views-oa/Document/ExamineDetail.vue

@@ -235,6 +235,11 @@
 			},
 			//类型选择
 			selectType() {
+				
+				if(this.recordList.length==0){
+					mui.toast("未设置模板,请手动添加");
+					return;
+				}
 				var picker = new mui.PopPicker();
 			
 				picker.setData(this.recordList);

+ 3 - 0
src/views-oa/Document/List.vue

@@ -154,6 +154,9 @@
 							];
 						}
 					}
+					if(this.recordList.length==0){
+						this.rightLink.show=false;
+					}
 					this.listForm.pageIndex++;
 					this.isLoading = false;
 				}).catch(error => {

+ 4 - 1
src/views-oa/Document/ListTemplate.vue

@@ -6,7 +6,10 @@
 
 		
 			<div class="mui-content margin60">
-				<p style="text-align: center;"  v-show="listForm.templateFlag==1&&recordList.length"  >模板选择最多10条,请不要过度添加</p>
+				<p style="" >添加模板方式:</p>
+				<p style="text-align: center;" >在公文提报列表详情中,点击右上角“设为模板”即可</p>
+				
+				<p style="text-align: center;"  v-show="listForm.templateFlag==1&&recordList.length"  >模板选择最多10条</p>
 				<template v-for="item in recordList">
 				
 					<div class="mui-content-padded" style="margin: 12px 12px !important;" >