Commit 41cc3154 authored by 高滢's avatar 高滢

xxx

parent 5ceee3ca
......@@ -21,7 +21,7 @@
<el-form-item label="企业名称" prop="enterpriseName">
<el-input
v-model="model.enterpriseName"
placeholder="请输入"
:disabled="true"
></el-input>
</el-form-item>
<el-form-item label="文件版本" prop="version">
......@@ -125,7 +125,8 @@ export default {
return {
dialogVisible: false,
dialogEditId: 0,
taskId:''
taskId: '',
enterpriseName: '',
}
}
}
......@@ -138,7 +139,7 @@ export default {
dataKey: 'model',
attributes: {
id: 0,
enterpriseName: '',
enterpriseName: this.dialogManger.enterpriseName,
fileName: '',
version: '',
publishDate: '',
......@@ -186,6 +187,7 @@ export default {
watch: {
'dialogManger.dialogVisible'(newValue){
this.model.taskId = this.dialogManger.taskId
this.model.enterpriseName = this.dialogManger.enterpriseName
},
'dialogManger.dialogEditId'(newValue) {
this.model.fetch(
......
......@@ -267,7 +267,8 @@ export default {
dialogManger: {
dialogVisible: false,
refreshList: false,
dialogEditId: 0
dialogEditId: 0,
enterpriseName: ''
},
queryParams: {
pageNum: 1,
......@@ -310,6 +311,7 @@ export default {
},
created() {
this.queryParams.taskId = this.$route.query.id
this.dialogManger.enterpriseName = this.$route.query.enterpriseName
},
methods: {
handleBeforeUpload(file, fileList) {},
......@@ -326,17 +328,17 @@ export default {
// 这里可能需要后端攒一个对象
/*
{
name :
path :
name :
path :
}
*/
*/
// 没有名字时用地址替代
if(data.photo){
console.log(data)
let photos = data.photo.split(',')
let photosName = []
if(data.photoName){
photosName = data.photoName.split(',')
photosName = data.photoName.split(',')
}
for(let i=0;i<photos.length;i++){
photos[i]
......@@ -383,6 +385,7 @@ export default {
this.dialogManger.dialogVisible = true
this.dialogManger.dialogEditId = id
this.dialogManger.taskId = this.$route.query.id
console.log('1212',this.dialogManger)
}else{
this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
confirmButtonText: '确定',
......@@ -406,7 +409,7 @@ export default {
})
})
}
}
}
}
......
......@@ -489,7 +489,8 @@ export default {
this.$router.push({
path: '/processing/fileLibrary?id=' + item.id,
query: {
carReviewTaskId: item.carReviewTaskId
carReviewTaskId: item.carReviewTaskId,
enterpriseName: item.enterpriseName
}
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment