sangwenwei 1 rok temu
rodzic
commit
93cd25dc8a

+ 1 - 1
src/views/common/InscriptionUpLoadComponent.vue

@@ -1,7 +1,7 @@
 <!--文件上传组件-->
 <template>
   <div :key="uploadKey">
-    <el-divider v-if="showDivider" content-position="left"><i class="el-icon-document"></i> <span style="color: red; font-size: 20px">*</span>{{dividerName}}</el-divider>
+    <el-divider v-if="showDivider" content-position="left"><i class="el-icon-document"></i> <span style="color: red; font-size: 20px">*</span>{{dividerName}}<a style="color: red;font-size: 14px">仅能上传“pdf、doc、docx、xls、xlsx”格式文件</a></el-divider>
     <el-upload ref="upload" style="display: inline-block; :show-header='status'" action=""
                :limit="999" :http-request="httpRequest"
                multiple

+ 3 - 1
src/views/dashboard/widgets/components/MyNoticePageList.vue

@@ -152,7 +152,8 @@ export default {
 			} else {
 				this.inputForm = {
 					taskId: '',
-					noticeId: ''
+					noticeId: '',
+					id:''
 				}
 				console.log('进来了+++', row.taskId)
 				taskService.getTaskDef({
@@ -161,6 +162,7 @@ export default {
 				}).then((data) => {
 					this.inputForm.taskId = row.taskId
 					this.inputForm.noticeId = row.noticeName
+					this.inputForm.id = row.id
 					noticeService.update(this.inputForm)
 					// this.$router.push({
 					// 	path: '/flowable/task/TaskForm',