Commit fd5bd877 by lxyang

feat:跳转问题修改

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