| | |
| | | <div class="title-search-wrapper"> |
| | | <el-input |
| | | type="textarea" |
| | | rows="1" |
| | | rows="2" |
| | | v-auto-height="{ minRows: 2, maxRows: 10 }" |
| | | |
| | | v-model="form.creator" |
| | | placeholder="请输入责任者" |
| | | @input="handleCreatorInput" |
| | |
| | | <div class="title-search-wrapper"> |
| | | <el-input |
| | | type="textarea" |
| | | rows="1" |
| | | rows="2" |
| | | v-model="form.title" |
| | | placeholder="请输入文件题名" |
| | | @input="handleTitleInput" |
| | |
| | | //alert(this.totalPageCount) |
| | | //alert(recordId) |
| | | this.recordId = recordId; |
| | | this.uploadUrl = process.env.VUE_APP_BASE_API +'/system/materials/upload/'+this.recordId |
| | | this.uploadUrl = process.env.VUE_APP_BASE_API +'/system/materials/uploads/'+this.recordId |
| | | // alert('Bearer ' + getToken()) |
| | | this.reset() |
| | | this.form.securityLevel = '普通' // 设置对话框表单默认值 |
| | |
| | | // 打开导入对话框 |
| | | handleImport() { |
| | | //生成新的记录 |
| | | insertFile(this.recordId, this.totalPageCount).then(response => { |
| | | console.log(response) |
| | | // alert(3245) |
| | | }) |
| | | // insertFile(this.recordId, this.totalPageCount).then(response => { |
| | | // console.log(response) |
| | | // // alert(3245) |
| | | // }) |
| | | this.importDialogVisible = true |
| | | }, |
| | | // 文件移除 |
| | |
| | | // var res = response.data.res |
| | | // console.log(res) |
| | | //alert(response.data.total) |
| | | if(fileCount!=this.totalPageCount) |
| | | { |
| | | this.$modal.msgWarning('请选择与记录数一致的文件') |
| | | return |
| | | } |
| | | else |
| | | // if(fileCount!=this.totalPageCount) |
| | | // { |
| | | // this.$modal.msgWarning('请选择与记录数一致的文件') |
| | | // return |
| | | // } |
| | | // else |
| | | { |
| | | // 初始化上传状态计数 |
| | | this.uploadSuccessCount = 0; |
| | |
| | | this.totalUploadFiles = fileCount; |
| | | // 执行上传 |
| | | this.$refs.upload.submit() |
| | | this.getList() |
| | | // this.getList() |
| | | } |
| | | // else |
| | | // { |
| | |
| | | //修改案卷的状态 |
| | | // var id = row.id |
| | | var status = '未上传附件' |
| | | updateStatusById(status, recordId).then(response=>{ |
| | | updateStatusById(status, recordId, '退回管理员').then(response=>{ |
| | | // this.$modal.msgSuccess("提交成功") |
| | | // this.getList() |
| | | _this.$store.dispatch('tagsView/delView', this.$route); |