上传格式调整
This commit is contained in:
parent
7f705ee63d
commit
f7671d4646
@ -516,7 +516,7 @@ export default {
|
||||
}
|
||||
}
|
||||
setTimeout(function () {
|
||||
self.$message.success('上传完成!成功:' + this.uploadedCount+',失败:' + failCount);
|
||||
self.$message.success('上传完成!成功:' + self.uploadedCount+',失败:' + failCount);
|
||||
self.progressFlag = false;
|
||||
self.progressPercent = 0;
|
||||
}, 500);
|
||||
|
@ -101,7 +101,7 @@
|
||||
<uploadVue
|
||||
:display="editStatus"
|
||||
:uploadUrl="uploadFileUrl"
|
||||
:type="['.txt','.doc','.docx','.pdf','.mp4','.zip','.rar','.7z','.png','.jpg','.jpeg']"
|
||||
:type="['.txt','.doc','.docx','.pdf','.mp4','.zip','.rar','.png','.jpg','.jpeg']"
|
||||
:acceptType="acceptType"
|
||||
:limit="1"
|
||||
:dataFile="dataFile"
|
||||
@ -134,7 +134,7 @@
|
||||
<uploadVue
|
||||
:display="editStatus"
|
||||
:uploadUrl="uploadFileUrl"
|
||||
:type="['.txt','.doc','.docx','.pdf','.mp4','.webm','.zip','.rar','.7z','.png','.jpg','.jpeg']"
|
||||
:type="['.txt','.doc','.docx','.pdf','.mp4','.webm','.zip','.rar','.png','.jpg','.jpeg']"
|
||||
:acceptType="acceptType"
|
||||
:isMultiple="true"
|
||||
:dataFile="dataFile"
|
||||
@ -355,7 +355,7 @@
|
||||
deptOptions:[],
|
||||
uploadFileUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传文件服务器地址
|
||||
fileData: null,
|
||||
acceptType: ".txt,.docx,.pdf,.mp4,.webm,.zip,.rar,.7z,.png,.jpg",
|
||||
acceptType: ".txt,.docx,.pdf,.mp4,.webm,.zip,.rar,.png,.jpg",
|
||||
editStatus: true,
|
||||
toolDataInfo: [],
|
||||
dataFile: [],
|
||||
|
@ -201,7 +201,7 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="归属部门" prop="deptId">
|
||||
<treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
|
||||
<treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" :disable-branch-nodes="true" placeholder="请选择归属部门" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -262,7 +262,7 @@
|
||||
<uploadVue
|
||||
:display="editStatus"
|
||||
:uploadUrl="uploadFileUrl"
|
||||
:type="['.txt','.doc','.docx','.pdf','.mp4','.webm','.zip','.rar','.7z','.png','.jpg','.jpeg']"
|
||||
:type="['.txt','.doc','.docx','.pdf','.mp4','.webm','.zip','.rar','.png','.jpg','.jpeg']"
|
||||
:acceptType="acceptType"
|
||||
:isMultiple="true"
|
||||
:dataFile="dataFile"
|
||||
@ -584,7 +584,7 @@ export default {
|
||||
curDeptName: null,
|
||||
|
||||
uploadFileUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传文件服务器地址
|
||||
acceptType: ".txt,.docx,.pdf,.mp4,.webm,.zip,.rar,.7z,.png,.jpg",
|
||||
acceptType: ".txt,.docx,.pdf,.mp4,.webm,.zip,.rar,.png,.jpg",
|
||||
dataFile: [],
|
||||
detailBoolean: false,
|
||||
attachmentList: [],
|
||||
|
@ -214,8 +214,6 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
this.$refs.dealDrawer.init(flowUrl);
|
||||
});
|
||||
|
||||
//
|
||||
},
|
||||
buildFlowUrl(row) {
|
||||
let res = row.url;
|
||||
|
Loading…
x
Reference in New Issue
Block a user