zhengkaixin 2 年之前
父节点
当前提交
0ecb7aad73
共有 3 个文件被更改,包括 12 次插入1 次删除
  1. 5 0
      src/views-oa/Document/ExamineDetail.vue
  2. 3 0
      src/views-oa/Document/List.vue
  3. 4 1
      src/views-oa/Document/ListTemplate.vue

+ 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;" >