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