Merge branch 'develop' of http://gitlab.91isoft.com:90/LAWS/laws-system-front-FOTON into develop
This commit is contained in:
@@ -407,7 +407,7 @@ export default {
|
|||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
drawerCheck (data) {
|
||||||
this.roleForm.dockUserName = data[0].id
|
this.roleForm.dockUser = data[0].id
|
||||||
this.roleForm.dockUserName = data[0].name
|
this.roleForm.dockUserName = data[0].name
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -193,7 +193,6 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getData()
|
this.getData()
|
||||||
this.getTree()
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getData() {
|
getData() {
|
||||||
@@ -293,8 +292,8 @@ export default {
|
|||||||
drawerCheck (data) {
|
drawerCheck (data) {
|
||||||
this.roleForm = data[0]
|
this.roleForm = data[0]
|
||||||
// 选择责任人时input框内值
|
// 选择责任人时input框内值
|
||||||
this.newDataList.dutyPeople = this.roleRow.name
|
this.newDataList.dutyPeople = this.roleForm.name
|
||||||
this.newDataList.dutyPeopleId = this.roleRow.id
|
this.newDataList.dutyPeopleId = this.roleForm.id
|
||||||
this.lastDataList = this.dataList
|
this.lastDataList = this.dataList
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
<el-table-column prop="dutyEngineer" label="负责人"/>
|
<el-table-column prop="dutyEngineer" label="负责人"/>
|
||||||
<el-table-column label="佐证材料" show-overflow-tooltip>
|
<el-table-column label="佐证材料" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="text" @click="download" >{{scope.row.fileText}}</el-button>
|
<el-button type="text" @click="download(scope.row)" >{{scope.row.fileText}}</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -187,9 +187,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getFormFieldList (item) {
|
getFormFieldList (item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
console.log(item)
|
|
||||||
this.dataList = JSON.parse(JSON.stringify(item)).info.fileDataList
|
this.dataList = JSON.parse(JSON.stringify(item)).info.fileDataList
|
||||||
console.log(this.dataList)
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -266,14 +264,8 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
download(row) {
|
download(row) {
|
||||||
// window.open(process.env.VUE_APP_BASE_API + "/hospital/file/downloadFile?tPath=" + tPath)
|
let attId = row.fileTextId
|
||||||
var name = row.fileText;
|
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
||||||
var url = row.fileTextPath;
|
|
||||||
const a = document.createElement('a')
|
|
||||||
a.setAttribute('download', name)
|
|
||||||
a.setAttribute('target', '_blank')
|
|
||||||
a.setAttribute('href', process.env.VUE_APP_BASE_API + "/hospital/file/downloadFile?tPath=" + url)
|
|
||||||
a.click()
|
|
||||||
},
|
},
|
||||||
// 分页事件
|
// 分页事件
|
||||||
pageChange (page) {
|
pageChange (page) {
|
||||||
|
|||||||
Reference in New Issue
Block a user