Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
9 changed files
with
49 additions
and
34 deletions
... | @@ -41,7 +41,7 @@ export function selectBdcdy (data) { | ... | @@ -41,7 +41,7 @@ export function selectBdcdy (data) { |
41 | // 待办箱列表查询接口 | 41 | // 待办箱列表查询接口 |
42 | export function searchTaskToDo (data) { | 42 | export function searchTaskToDo (data) { |
43 | return request({ | 43 | return request({ |
44 | url: '/business/todoBox/searchTaskToDo', | 44 | url: '/workBox/search/searchTaskToDo', |
45 | method: 'post', | 45 | method: 'post', |
46 | data | 46 | data |
47 | }) | 47 | }) | ... | ... |
... | @@ -57,7 +57,7 @@ export function getDetail(qlbsm) { | ... | @@ -57,7 +57,7 @@ export function getDetail(qlbsm) { |
57 | // 进度查询列表 | 57 | // 进度查询列表 |
58 | export function getJdcxBysearch (data) { | 58 | export function getJdcxBysearch (data) { |
59 | return request({ | 59 | return request({ |
60 | url: 'zhcx/jdcx/getJdcxBysearch', | 60 | url: '/zhcx/search/getJdcxBysearch', |
61 | method: 'post', | 61 | method: 'post', |
62 | data | 62 | data |
63 | }) | 63 | }) | ... | ... |
... | @@ -102,7 +102,7 @@ export default { | ... | @@ -102,7 +102,7 @@ export default { |
102 | } else {//切换到该页面时执行 | 102 | } else {//切换到该页面时执行 |
103 | if (window.location.hash == '#/ywbl/dbx') { | 103 | if (window.location.hash == '#/ywbl/dbx') { |
104 | console.log('让我看看', window.location) | 104 | console.log('让我看看', window.location) |
105 | that.fetchData() | 105 | this.fetchData() |
106 | } | 106 | } |
107 | } | 107 | } |
108 | }, | 108 | }, | ... | ... |
... | @@ -16,7 +16,7 @@ class data extends filter { | ... | @@ -16,7 +16,7 @@ class data extends filter { |
16 | width: '50' | 16 | width: '50' |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | prop: "ywly", | 19 | prop: "ywlymc", |
20 | label: "业务来源", | 20 | label: "业务来源", |
21 | }, | 21 | }, |
22 | { | 22 | { |
... | @@ -26,7 +26,7 @@ class data extends filter { | ... | @@ -26,7 +26,7 @@ class data extends filter { |
26 | case '1': | 26 | case '1': |
27 | return <span>进行中</span> | 27 | return <span>进行中</span> |
28 | case '2': | 28 | case '2': |
29 | return <span>进行中</span> | 29 | return <span>已结束</span> |
30 | case '3': | 30 | case '3': |
31 | return <span>进行中</span> | 31 | return <span>进行中</span> |
32 | } | 32 | } | ... | ... |
... | @@ -5,12 +5,12 @@ | ... | @@ -5,12 +5,12 @@ |
5 | <!-- 表单部分 --> | 5 | <!-- 表单部分 --> |
6 | <div class="from-clues-header"> | 6 | <div class="from-clues-header"> |
7 | <el-form ref="queryForm" label-width="120px"> | 7 | <el-form ref="queryForm" label-width="120px"> |
8 | <div v-for='(item,index) in tableData' :key='item.bdcdyid'> | 8 | <div> |
9 | <el-form-item label="不动产单元号:"> | 9 | <!-- <el-form-item label="不动产单元号:"> |
10 | <p>{{item.bdcdyh}}</p> | 10 | <p>{{item.bdcdyh}}</p> |
11 | </el-form-item> | 11 | </el-form-item> --> |
12 | <lb-table :column="columns" border :heightNum="390" :pagination="false" heightNumSetting | 12 | <lb-table :column="columns" border :heightNum="390" :pagination="false" heightNumSetting |
13 | :data="item.nodeList"> | 13 | :data="tableData"> |
14 | </lb-table> | 14 | </lb-table> |
15 | <el-form-item label="退回意见:"> | 15 | <el-form-item label="退回意见:"> |
16 | <el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input> | 16 | <el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input> |
... | @@ -29,7 +29,9 @@ export default { | ... | @@ -29,7 +29,9 @@ export default { |
29 | }, | 29 | }, |
30 | props: { | 30 | props: { |
31 | value: { type: Boolean, default: false }, | 31 | value: { type: Boolean, default: false }, |
32 | queryForm:{type:Object} | 32 | queryForm:{type:Object}, |
33 | taskId:{type:String}, | ||
34 | bsmBusiness:{type:String} | ||
33 | }, | 35 | }, |
34 | data () { | 36 | data () { |
35 | const columns=[ | 37 | const columns=[ |
... | @@ -56,11 +58,11 @@ export default { | ... | @@ -56,11 +58,11 @@ export default { |
56 | }, | 58 | }, |
57 | }, | 59 | }, |
58 | { | 60 | { |
59 | prop: "fromstepname", | 61 | prop: "activityName", |
60 | label: "退回环节名称", | 62 | label: "退回环节名称", |
61 | }, | 63 | }, |
62 | { | 64 | { |
63 | prop: "username", | 65 | prop: "assignee", |
64 | label: "办理人", | 66 | label: "办理人", |
65 | }, | 67 | }, |
66 | 68 | ||
... | @@ -75,6 +77,8 @@ export default { | ... | @@ -75,6 +77,8 @@ export default { |
75 | bsmSlsq:"", | 77 | bsmSlsq:"", |
76 | backNodeList:[], | 78 | backNodeList:[], |
77 | }, | 79 | }, |
80 | sumbitList:{}, | ||
81 | taskid:"", | ||
78 | } | 82 | } |
79 | }, | 83 | }, |
80 | mounted(){ | 84 | mounted(){ |
... | @@ -84,7 +88,7 @@ export default { | ... | @@ -84,7 +88,7 @@ export default { |
84 | }, | 88 | }, |
85 | methods: { | 89 | methods: { |
86 | tablelistFn(){ | 90 | tablelistFn(){ |
87 | getTaskBackNode(this.queryForm).then(res => { | 91 | getTaskBackNode({taskId:this.taskId}).then(res => { |
88 | if (res.code === 200) { | 92 | if (res.code === 200) { |
89 | this.tableData = res.result | 93 | this.tableData = res.result |
90 | } | 94 | } |
... | @@ -92,28 +96,33 @@ export default { | ... | @@ -92,28 +96,33 @@ export default { |
92 | }, | 96 | }, |
93 | radioClick(scope){ | 97 | radioClick(scope){ |
94 | this.taskid = scope.taskid | 98 | this.taskid = scope.taskid |
95 | 99 | this.sumbitList = scope | |
100 | |||
96 | }, | 101 | }, |
97 | submitForm () { | 102 | submitForm () { |
98 | if(this.taskid==undefined){ | 103 | if(this.taskid==undefined){ |
99 | this.$message.error('请至少选择一条数据'); | 104 | this.$message.error('请至少选择一条数据'); |
100 | return | 105 | return |
101 | } | 106 | } |
102 | this.list.backNodeList = this.tableData.map((item,index)=>{ | 107 | this.list.backNodeList.push({ |
103 | return { | 108 | id:this.taskId, |
104 | id:item.id, | ||
105 | taskid:this.taskid, | 109 | taskid:this.taskid, |
106 | processInstanceId:item.processInstanceId, | 110 | processInstanceId:this.sumbitList.processInstanceId, |
111 | bsmBusiness:this.bsmBusiness, | ||
107 | outstepopinion:this.outstepopinion | 112 | outstepopinion:this.outstepopinion |
108 | } | 113 | }) |
109 | }) | ||
110 | sendBackTask(this.list).then(res => { | 114 | sendBackTask(this.list).then(res => { |
111 | console.log(res,11) | ||
112 | if (res.code === 200) { | 115 | if (res.code === 200) { |
113 | window.opener = null; | 116 | this.$message.success('退回成功') |
117 | setTimeout(() => { | ||
118 | window.opener = null; | ||
114 | window.open("about:blank", "_self"); | 119 | window.open("about:blank", "_self"); |
115 | window.close(); | 120 | window.close(); |
116 | this.$emit('input', false) | 121 | this.$emit('input', false) |
122 | }, 1000); | ||
123 | |||
124 | }else{ | ||
125 | this.$message.error(res.message) | ||
117 | } | 126 | } |
118 | }) | 127 | }) |
119 | }, | 128 | }, | ... | ... |
... | @@ -37,12 +37,13 @@ export default { | ... | @@ -37,12 +37,13 @@ export default { |
37 | completeTask(this.queryForm).then(res => { | 37 | completeTask(this.queryForm).then(res => { |
38 | console.log(res) | 38 | console.log(res) |
39 | if (res.code === 200) { | 39 | if (res.code === 200) { |
40 | console.log(res,555) | 40 | this.$message.success('转件成功') |
41 | window.opener = null; | 41 | setTimeout(() => { |
42 | window.open("about:blank", "_self"); | 42 | window.opener = null; |
43 | window.close(); | 43 | window.open("about:blank", "_self"); |
44 | this.$emit('input', false) | 44 | window.close(); |
45 | 45 | this.$emit('input', false) | |
46 | }, 1000); | ||
46 | } | 47 | } |
47 | }) | 48 | }) |
48 | }, | 49 | }, | ... | ... |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | <zc v-model="zcDialog" :queryForm='queryForm' /> | 52 | <zc v-model="zcDialog" :queryForm='queryForm' /> |
53 | <thDialog ref='thdialogRef' v-model="thflag" :queryForm='queryForm' /> | 53 | <thDialog ref='thdialogRef' v-model="thflag" :taskId='taskId' :bsmBusiness='bsmBusiness' :queryForm='queryForm' /> |
54 | </div> | 54 | </div> |
55 | </template> | 55 | </template> |
56 | <script> | 56 | <script> |
... | @@ -139,6 +139,7 @@ export default { | ... | @@ -139,6 +139,7 @@ export default { |
139 | editItem: '', | 139 | editItem: '', |
140 | issplitScreen: false, | 140 | issplitScreen: false, |
141 | unitData: [], | 141 | unitData: [], |
142 | taskId:"", | ||
142 | }; | 143 | }; |
143 | }, | 144 | }, |
144 | watch: { | 145 | watch: { |
... | @@ -173,12 +174,16 @@ export default { | ... | @@ -173,12 +174,16 @@ export default { |
173 | this.unitData = res.result | 174 | this.unitData = res.result |
174 | setTimeout(() => { | 175 | setTimeout(() => { |
175 | that.$refs.slxx[0].list(that.unitData[0].bsmSldy) | 176 | that.$refs.slxx[0].list(that.unitData[0].bsmSldy) |
177 | this.taskId = that.unitData[0].taskId | ||
178 | this.bsmBusiness = that.unitData[0].bsmBusiness | ||
176 | }, 300); | 179 | }, 300); |
177 | } | 180 | } |
178 | }) | 181 | }) |
179 | }, | 182 | }, |
180 | // 左侧列表点击调用接口 | 183 | // 左侧列表点击调用接口 |
181 | unitClick (item) { | 184 | unitClick (item) { |
185 | this.taskId = item.taskId | ||
186 | this.bsmBusiness = item.bsmBusiness | ||
182 | this.$nextTick(() => { | 187 | this.$nextTick(() => { |
183 | this.$refs.slxx[0].list(item.bsmSldy) | 188 | this.$refs.slxx[0].list(item.bsmSldy) |
184 | }) | 189 | }) | ... | ... |
... | @@ -31,7 +31,7 @@ class data extends filter { | ... | @@ -31,7 +31,7 @@ class data extends filter { |
31 | label: "状态", | 31 | label: "状态", |
32 | }, | 32 | }, |
33 | { | 33 | { |
34 | prop: "qllx", | 34 | prop: "qllxmc", |
35 | label: "权利类型", | 35 | label: "权利类型", |
36 | }, | 36 | }, |
37 | { | 37 | { |
... | @@ -43,7 +43,7 @@ class data extends filter { | ... | @@ -43,7 +43,7 @@ class data extends filter { |
43 | label: "不动产单元号", | 43 | label: "不动产单元号", |
44 | }, | 44 | }, |
45 | { | 45 | { |
46 | prop: "qlxz", | 46 | prop: "showQlxz", |
47 | label: "权利性质", | 47 | label: "权利性质", |
48 | }, | 48 | }, |
49 | { | 49 | { |
... | @@ -51,11 +51,11 @@ class data extends filter { | ... | @@ -51,11 +51,11 @@ class data extends filter { |
51 | label: "宗地面积", | 51 | label: "宗地面积", |
52 | }, | 52 | }, |
53 | { | 53 | { |
54 | prop: "qlsdfs", | 54 | prop: "qlsdfsmc", |
55 | label: "权利设定方式", | 55 | label: "权利设定方式", |
56 | }, | 56 | }, |
57 | { | 57 | { |
58 | prop: "tdyt", | 58 | prop: "showTdyt", |
59 | label: "土地用途", | 59 | label: "土地用途", |
60 | }, | 60 | }, |
61 | { | 61 | { | ... | ... |
... | @@ -26,7 +26,7 @@ class data extends filter { | ... | @@ -26,7 +26,7 @@ class data extends filter { |
26 | case '1': | 26 | case '1': |
27 | return <span>进行中</span> | 27 | return <span>进行中</span> |
28 | case '2': | 28 | case '2': |
29 | return <span>进行中</span> | 29 | return <span>已结束</span> |
30 | case '3': | 30 | case '3': |
31 | return <span>进行中</span> | 31 | return <span>进行中</span> |
32 | } | 32 | } | ... | ... |
-
Please register or sign in to post a comment