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

xxx

parent 5ceee3ca
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<el-form-item label="企业名称" prop="enterpriseName"> <el-form-item label="企业名称" prop="enterpriseName">
<el-input <el-input
v-model="model.enterpriseName" v-model="model.enterpriseName"
placeholder="请输入" :disabled="true"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="文件版本" prop="version"> <el-form-item label="文件版本" prop="version">
...@@ -125,7 +125,8 @@ export default { ...@@ -125,7 +125,8 @@ export default {
return { return {
dialogVisible: false, dialogVisible: false,
dialogEditId: 0, dialogEditId: 0,
taskId:'' taskId: '',
enterpriseName: '',
} }
} }
} }
...@@ -138,7 +139,7 @@ export default { ...@@ -138,7 +139,7 @@ export default {
dataKey: 'model', dataKey: 'model',
attributes: { attributes: {
id: 0, id: 0,
enterpriseName: '', enterpriseName: this.dialogManger.enterpriseName,
fileName: '', fileName: '',
version: '', version: '',
publishDate: '', publishDate: '',
...@@ -186,6 +187,7 @@ export default { ...@@ -186,6 +187,7 @@ export default {
watch: { watch: {
'dialogManger.dialogVisible'(newValue){ 'dialogManger.dialogVisible'(newValue){
this.model.taskId = this.dialogManger.taskId this.model.taskId = this.dialogManger.taskId
this.model.enterpriseName = this.dialogManger.enterpriseName
}, },
'dialogManger.dialogEditId'(newValue) { 'dialogManger.dialogEditId'(newValue) {
this.model.fetch( this.model.fetch(
......
...@@ -267,7 +267,8 @@ export default { ...@@ -267,7 +267,8 @@ export default {
dialogManger: { dialogManger: {
dialogVisible: false, dialogVisible: false,
refreshList: false, refreshList: false,
dialogEditId: 0 dialogEditId: 0,
enterpriseName: ''
}, },
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
...@@ -310,6 +311,7 @@ export default { ...@@ -310,6 +311,7 @@ export default {
}, },
created() { created() {
this.queryParams.taskId = this.$route.query.id this.queryParams.taskId = this.$route.query.id
this.dialogManger.enterpriseName = this.$route.query.enterpriseName
}, },
methods: { methods: {
handleBeforeUpload(file, fileList) {}, handleBeforeUpload(file, fileList) {},
...@@ -383,6 +385,7 @@ export default { ...@@ -383,6 +385,7 @@ export default {
this.dialogManger.dialogVisible = true this.dialogManger.dialogVisible = true
this.dialogManger.dialogEditId = id this.dialogManger.dialogEditId = id
this.dialogManger.taskId = this.$route.query.id this.dialogManger.taskId = this.$route.query.id
console.log('1212',this.dialogManger)
}else{ }else{
this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
......
...@@ -489,7 +489,8 @@ export default { ...@@ -489,7 +489,8 @@ export default {
this.$router.push({ this.$router.push({
path: '/processing/fileLibrary?id=' + item.id, path: '/processing/fileLibrary?id=' + item.id,
query: { 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