Commit fd5bd877 by lxyang

feat:跳转问题修改

parent ada2b6a6
......@@ -2,7 +2,7 @@ import request from '@/utils/request'
// 文档差异
export function doctaskFinddifference(data) {
return request({
url: '/api/doc/doctask/finddifference/' + data + '&pageindex=1&pagesize=999',
url: '/api/doc/doctask/finddifference/' + data + '?&pageindex=1&pagesize=999',
method: 'get'
})
}
......
......@@ -46,16 +46,10 @@
</template>
<script>
// // 接口调用方法
// 接口调用方法
import {
doctaskFinddifference
} from "@/api/system/product";
// // 克隆方法
// import {
// deepClone
// } from "@/utils/index";
// // 下载方法
// import { hackDownloadFileNew } from "@/utils/ruoyi";
export default {
data() {
return {
......@@ -83,6 +77,7 @@ export default {
methods: {
// 初始化
init() {
console.log(this.$route.query, 'this.$route.query')
this.title = this.$route.query.name
this.deleteId = this.$route.query.id
this.searchCustomer()
......
......@@ -321,13 +321,17 @@ export default {
},
// 跳转跟踪文档详情界面
routerTaskListDetails(row) {
this.$router.push({
path: '/documentManagement/taskListDetails',
query: {
id: row.docDocumentId,
name: row.name
}
})
try {
this.$router.push({
name: 'taskListDetails',
query: {
id: row.docDocumentId,
name: row.name
}
})
} catch (err) {
console.log(err)
}
},
// table显示内容
isEmpty(row, name) {
......
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