11a1b7e8 by 任超
2 parents 7dad9c87 9974769e
...@@ -9,6 +9,14 @@ export function completeTask (data) { ...@@ -9,6 +9,14 @@ export function completeTask (data) {
9 data 9 data
10 }) 10 })
11 } 11 }
12 // 回退表格数据
13 export function getTaskBackNode (params) {
14 return request({
15 url: '/business/workFlow/getTaskBackNode',
16 method: 'get',
17 params: params
18 })
19 }
12 // 获取左侧列表 20 // 获取左侧列表
13 export function leftMenu (data) { 21 export function leftMenu (data) {
14 return request({ 22 return request({
......
...@@ -120,8 +120,8 @@ export default { ...@@ -120,8 +120,8 @@ export default {
120 openDialog () { 120 openDialog () {
121 console.log(999999999999999); 121 console.log(999999999999999);
122 }, 122 },
123 ywhClick (bsmSlsq) { 123 ywhClick (item) {
124 const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + bsmSlsq) 124 const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + item.bsmSlsq + '&bestepid='+item.bestepid)
125 window.open(href, '_blank'); 125 window.open(href, '_blank');
126 }, 126 },
127 }, 127 },
......
...@@ -40,7 +40,7 @@ class data extends filter { ...@@ -40,7 +40,7 @@ class data extends filter {
40 label: '业务号', 40 label: '业务号',
41 align: 'center', 41 align: 'center',
42 render: (h, scope) => { 42 render: (h, scope) => {
43 return <el-button type="text" onClick={() => { vm.ywhClick(scope.row.bsmSlsq) }}>{scope.row.ywh}</el-button> 43 return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button>
44 } 44 }
45 }, 45 },
46 { 46 {
......
1 <template> 1 <template>
2 <dialogBox title="转出" @submitForm="submitForm" :saveloding="saveloding" saveButton="确认转出" width="45%" 2 <dialogBox title="转出" @submitForm="submitForm" :saveloding="saveloding" saveButton="确认转出" width="80%"
3 height='30%' @closeDialog="closeDialog" v-model="value"> 3 @closeDialog="closeDialog" v-model="value">
4 <div class="from-clues"> 4 <div class="from-clues">
5 <!-- 表单部分 --> 5 <!-- 表单部分 -->
6 <div class="from-clues-header"> 6 <div class="from-clues-header">
7 <lb-table :column="columns" border :key="key" :heightNum="390" :pagination="false" heightNumSetting 7 <div v-for='(item,index) in arr' :key='item.bdcdyid'>
8 :data="tableData"> 8 <p>不动产单元号:{{item.bdcdyh}}</p>
9 </lb-table> 9 <lb-table :column="columns" border :heightNum="390" :pagination="false" heightNumSetting
10 :data="item.nodeList">
11 </lb-table>
12 </div>
13
10 <el-form :model="queryForm" ref="queryForm" label-width="120px"> 14 <el-form :model="queryForm" ref="queryForm" label-width="120px">
11 <el-form-item label="退回意见:"> 15 <el-form-item label="退回意见:">
12 <el-input type="textarea" v-model="queryForm.shyj"></el-input> 16 <el-input type="textarea" v-model="queryForm.shyj"></el-input>
...@@ -18,13 +22,13 @@ ...@@ -18,13 +22,13 @@
18 </template> 22 </template>
19 23
20 <script> 24 <script>
21 import { completeTask } from "@/api/fqsq.js" 25 import { getTaskBackNode } from "@/api/fqsq.js"
22 export default { 26 export default {
23 components: { 27 components: {
24 }, 28 },
25 props: { 29 props: {
26 value: { type: Boolean, default: false }, 30 value: { type: Boolean, default: false },
27 queryForm:{type:Object,default:false} 31 queryForm:{type:Object}
28 }, 32 },
29 data () { 33 data () {
30 return { 34 return {
...@@ -34,24 +38,54 @@ export default { ...@@ -34,24 +38,54 @@ export default {
34 label: '', 38 label: '',
35 align: 'center', 39 align: 'center',
36 render: (h, scope) => { 40 render: (h, scope) => {
37 return <el-radio-group> <el-radio label="3">备选项</el-radio></el-radio-group> 41 return <el-radio label={scope.row.taskid} v-model={scope.row.radio}>{''}</el-radio>
38 } 42 }
39 }, 43 },
40 { 44 {
41 prop: "thhjmc", 45 prop: "fromstepname",
42 label: "退回环节名称", 46 label: "退回环节名称",
43 }, 47 },
44 { 48 {
45 prop: "blr", 49 prop: "username",
46 label: "办理人", 50 label: "办理人",
47 }, 51 },
48 52
49 ], 53 ],
54 arr:[{
55 bdcdyh:'123123123',
56 bdcdyid:'456789',
57 nodeList:[{
58 fromstepname:'录入',
59 username:'超级管理员',
60 radio:"",
61 },{
62 fromstepname:'测试',
63 username:'超级管理员',
64 radio:"",
65 }]
66 },{
67 bdcdyh:'222222',
68 bdcdyid:'333333',
69 nodeList:[{
70 fromstepname:'扫描',
71 username:'超级管理员',
72 radio:""
73 }]
74 }],
50 tableData:[], 75 tableData:[],
51 radio:3 76 radio:3
52 } 77 }
53 }, 78 },
79 mounted(){
80 },
54 methods: { 81 methods: {
82 tablelistFn(){
83 getTaskBackNode(this.queryForm).then(res => {
84 if (res.code === 200) {
85 console.log(res)
86 }
87 })
88 },
55 submitForm () { 89 submitForm () {
56 90
57 }, 91 },
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
49 </el-tabs></div> 49 </el-tabs></div>
50 </div> 50 </div>
51 <zc v-model="zcDialog" :queryForm='queryForm' /> 51 <zc v-model="zcDialog" :queryForm='queryForm' />
52 <thDialog v-model="thflag" /> 52 <thDialog ref='thdialogRef' v-model="thflag" :queryForm='queryForm' />
53 </div> 53 </div>
54 </template> 54 </template>
55 <script> 55 <script>
...@@ -66,6 +66,7 @@ export default { ...@@ -66,6 +66,7 @@ export default {
66 queryForm:{ 66 queryForm:{
67 shyj:"", 67 shyj:"",
68 bsmSlsq:"", 68 bsmSlsq:"",
69 bestepid:"",
69 }, 70 },
70 isShowdrawer: true, 71 isShowdrawer: true,
71 key: 0, 72 key: 0,
...@@ -158,6 +159,7 @@ export default { ...@@ -158,6 +159,7 @@ export default {
158 if(this.$route.query.bsmSlsq){ 159 if(this.$route.query.bsmSlsq){
159 this.list(this.$route.query.bsmSlsq) 160 this.list(this.$route.query.bsmSlsq)
160 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq 161 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq
162 this.queryForm.bestepid = this.$route.query.bestepid
161 } 163 }
162 }, 164 },
163 methods: { 165 methods: {
...@@ -194,6 +196,9 @@ export default { ...@@ -194,6 +196,9 @@ export default {
194 } 196 }
195 }else if(item.icon=='fqsq8'){ 197 }else if(item.icon=='fqsq8'){
196 this.thflag = true 198 this.thflag = true
199 this.$nextTick(()=>{
200 this.$refs.thdialogRef.tablelistFn()
201 })
197 } 202 }
198 else if(item.icon=='fqsq9'){ 203 else if(item.icon=='fqsq9'){
199 this.zcDialog = true 204 this.zcDialog = true
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
45 <div class="from-clues-content"> 45 <div class="from-clues-content">
46 <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage" 46 <lb-table :page-size="pageData.pageSize" :heightNum="400" :current-page.sync="pageData.currentPage"
47 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 47 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
48 @selection-change="handleSelectionChange"
48 :column="tableData.columns" :data="tableData.data"> 49 :column="tableData.columns" :data="tableData.data">
49 </lb-table> 50 </lb-table>
50 </div> 51 </div>
...@@ -106,7 +107,7 @@ export default { ...@@ -106,7 +107,7 @@ export default {
106 } 107 }
107 }, 108 },
108 submitForm () { 109 submitForm () {
109 if (this.bdcdyid == '') { 110 if (this.bdcdysz.length == 0) {
110 this.$message.error('请至少选择一条数据'); 111 this.$message.error('请至少选择一条数据');
111 return 112 return
112 } 113 }
......