7805d0e7 by 蔡俊立

发起申请

1 parent 291b4853
...@@ -78,3 +78,21 @@ export function clmlDelete (params) { ...@@ -78,3 +78,21 @@ export function clmlDelete (params) {
78 params: params 78 params: params
79 }) 79 })
80 } 80 }
81
82 // 获取下一环节信息
83 export function getNextLinkInfo (params) {
84 return request({
85 url: '/business/workFlow/getNextLinkInfo',
86 method: 'get',
87 params: params
88 })
89 }
90
91 // 环节扩展信息
92 export function stepExpandInfo (data) {
93 return request({
94 url: '/business/workFlow/stepExpandInfo',
95 method: 'post',
96 data
97 })
98 }
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
6 <div class="from-clues-header"> 6 <div class="from-clues-header">
7 <el-form :model="queryForm" ref="queryForm" label-width="120px"> 7 <el-form :model="queryForm" ref="queryForm" label-width="120px">
8 <el-form-item label="下一环节名称:"> 8 <el-form-item label="下一环节名称:">
9 代码审查 9 {{this.tableData.taskName}}
10 </el-form-item> 10 </el-form-item>
11 <el-form-item label="下一环节办理人:"> 11 <el-form-item label="下一环节办理人:">
12 赵小千 12 {{this.usernames}}
13 </el-form-item> 13 </el-form-item>
14 14
15 </el-form> 15 </el-form>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 </template> 19 </template>
20 20
21 <script> 21 <script>
22 import { completeTask } from "@/api/fqsq.js" 22 import { completeTask ,getNextLinkInfo} from "@/api/fqsq.js"
23 export default { 23 export default {
24 components: { 24 components: {
25 }, 25 },
...@@ -29,9 +29,21 @@ export default { ...@@ -29,9 +29,21 @@ export default {
29 }, 29 },
30 data () { 30 data () {
31 return { 31 return {
32 tableData: {},
33 usernames: '',
32 } 34 }
33 }, 35 },
34 methods: { 36 methods: {
37 tablelistFn(){
38 getNextLinkInfo(this.queryForm).then(res => {
39 if (res.code === 200) {
40 this.tableData = res.result
41 if(res.result.usernames){
42 this.usernames = String(res.result.usernames)
43 }
44 }
45 })
46 },
35 submitForm () { 47 submitForm () {
36 completeTask(this.queryForm).then(res => { 48 completeTask(this.queryForm).then(res => {
37 console.log(res) 49 console.log(res)
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
2 <div class='fqsq'> 2 <div class='fqsq'>
3 <div class="fqsq-header"> 3 <div class="fqsq-header">
4 <ul> 4 <ul>
5 <li @click="operation(index, item)" v-for="(item, index) in headerleftList.slice(0, headerleftList.length - 4)" 5 <li @click="operation(index, item)" v-for="(item, index) in headerleftList"
6 :key="index"> 6 :key="index">
7 <svg-icon :icon-class="item.icon" /> 7 <svg-icon :icon-class="item.icon" />
8 <span class="iconName">{{ item.name }}</span> 8 <span class="iconName">{{ item.name }}</span>
9 </li> 9 </li>
10 </ul> 10 </ul>
11 <ul> 11 <ul>
12 <li @click="operation(index, item)" v-for="(item, index) in headerleftList.slice(-4)" :key="index"> 12 <li @click="operation(index, item)" v-for="(item, index) in headerRightList" :key="index">
13 <svg-icon class="icon" :icon-class="item.icon" /> 13 <svg-icon class="icon" :icon-class="item.icon" />
14 <span class="iconName">{{ item.name }}</span> 14 <span class="iconName">{{ item.name }}</span>
15 </li> 15 </li>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
39 <div class="splitScreen"></div> 39 <div class="splitScreen"></div>
40 </div> 40 </div>
41 <el-tabs v-model="activeName" @tab-click='activeClick'> 41 <el-tabs v-model="activeName" @tab-click='activeClick'>
42 <el-tab-pane :label="item.name" :name="index + 1 + ''" v-for="(item, index) in tabList" :key="index"> 42 <el-tab-pane :label="item.name" :name="item.value" v-for="(item, index) in tabList" :key="index">
43 <div class="splitScreen-con" v-if='index == 0'> 43 <div class="splitScreen-con" v-if='index == 0'>
44 <component ref='slxx' :is="editItem" :flag="flag" :key="key" /> 44 <component ref='slxx' :is="editItem" :flag="flag" :key="key" />
45 </div> 45 </div>
...@@ -49,13 +49,13 @@ ...@@ -49,13 +49,13 @@
49 </el-tabs> 49 </el-tabs>
50 </div> 50 </div>
51 </div> 51 </div>
52 <zc v-model="zcDialog" :queryForm='queryForm' /> 52 <zc ref="zcDialogRef" v-model="zcDialog" :queryForm='queryForm' />
53 <thDialog ref='thdialogRef' v-model="thflag" :taskId='taskId' :bsmBusiness='bsmBusiness' :queryForm='queryForm' /> 53 <thDialog ref='thdialogRef' v-model="thflag" :taskId='taskId' :bsmBusiness='bsmBusiness' :queryForm='queryForm' />
54 <zsylDialog v-model='zsylFlag' /> 54 <zsylDialog v-model='zsylFlag' />
55 </div> 55 </div>
56 </template> 56 </template>
57 <script> 57 <script>
58 import { leftMenu } from "@/api/fqsq.js" 58 import { leftMenu,stepExpandInfo} from "@/api/fqsq.js"
59 import zc from "./components/zc.vue" 59 import zc from "./components/zc.vue"
60 import thDialog from "./components/th.vue" 60 import thDialog from "./components/th.vue"
61 import zsylDialog from './components/zsyl' 61 import zsylDialog from './components/zsyl'
...@@ -75,68 +75,90 @@ export default { ...@@ -75,68 +75,90 @@ export default {
75 key: 0, 75 key: 0,
76 flag: false, 76 flag: false,
77 headerleftList: [ 77 headerleftList: [
78 { 78 // {
79 name: '图形定位', 79 // name: '图形定位',
80 icon: 'fqsq1' 80 // icon: 'fqsq1'
81 }, 81 // },
82 { 82 // {
83 name: '登记簿', 83 // name: '登记簿',
84 icon: 'fqsq2' 84 // icon: 'fqsq2'
85 }, 85 // },
86 { 86 // {
87 name: '证书预览', 87 // name: '证书预览',
88 icon: 'fqsq3' 88 // icon: 'fqsq3'
89 }, 89 // },
90 { 90 // {
91 name: '流程图', 91 // name: '流程图',
92 icon: 'fqsq4' 92 // icon: 'fqsq4'
93 }, 93 // },
94 { 94 // {
95 name: '材料分屏', 95 // name: '材料分屏',
96 icon: 'fqsq5' 96 // icon: 'fqsq5'
97 }, 97 // },
98 { 98 // {
99 name: '材料导入', 99 // name: '材料导入',
100 icon: 'fqsq6' 100 // icon: 'fqsq6'
101 }, 101 // },
102 { 102 // {
103 name: '打印申请书', 103 // name: '打印申请书',
104 icon: 'fqsq7' 104 // icon: 'fqsq7'
105 }, 105 // },
106 // {
107 // name: '登簿',
108 // icon: 'fqsq2'
109 // },
110 // {
111 // name: '退回',
112 // icon: 'fqsq8'
113 // },
114 // {
115 // name: '转出',
116 // icon: 'fqsq9'
117 // },
118 // {
119 // name: '退出',
120 // icon: ''
121 // }
122 ],
123 headerRightList: [
106 { 124 {
107 name: '登簿', 125 name: '登簿',
108 icon: 'fqsq2' 126 icon: 'fqsq2',
127 value: 'db'
109 }, 128 },
110 { 129 {
111 name: '退回', 130 name: '退回',
112 icon: 'fqsq8' 131 icon: 'fqsq8',
132 value: 'th'
113 }, 133 },
114 { 134 {
115 name: '转出', 135 name: '转出',
116 icon: 'fqsq9' 136 icon: 'fqsq9',
137 value: 'zc'
117 }, 138 },
118 { 139 {
119 name: '退出', 140 name: '退出',
120 icon: '' 141 icon: '',
142 value: 'tc'
121 } 143 }
122 ], 144 ],
123 activeName: '1', 145 activeName: 'slxx',
124 tabList1: [ 146 tabList1: [
125 { 147 // {
126 name: '受理申请', 148 // name: '受理申请',
127 }, 149 // },
128 { 150 // {
129 name: '材料信息', 151 // name: '材料信息',
130 }, 152 // },
131 { 153 // {
132 name: '审批意见', 154 // name: '审批意见',
133 }, 155 // },
134 { 156 // {
135 name: '宗地基本信息', 157 // name: '宗地基本信息',
136 }, 158 // },
137 { 159 // {
138 name: '权利信息', 160 // name: '权利信息',
139 }, 161 // },
140 ], 162 ],
141 tabList: [], 163 tabList: [],
142 editItem: '', 164 editItem: '',
...@@ -150,20 +172,19 @@ export default { ...@@ -150,20 +172,19 @@ export default {
150 watch: { 172 watch: {
151 activeName: { 173 activeName: {
152 handler (newName, oldName) { 174 handler (newName, oldName) {
153 console.log(newName, 'newName'); 175 //console.log(newName,oldName);
154 let itemObj = { '1': 'slxx', '2': 'clxx', '3': 'spyj' } 176 //let itemObj = { '1': 'slxx', '2': 'clxx', '3': 'spyj' }
155 this.editItem = this.loadView(itemObj[newName]) 177 this.editItem = this.loadView(newName)
156 }, 178 },
157 immediate: true 179 immediate: true
158 } 180 }
159 }, 181 },
160 created () { 182 created () {
161 183 // this.tabList = [...this.tabList1]
162 this.tabList = [...this.tabList1]
163
164 }, 184 },
165 mounted () { 185 mounted () {
166 if (this.$route.query.bsmSlsq) { 186 if (this.$route.query.bsmSlsq) {
187 this.expandInfo(this.$route.query.bestepid);
167 this.list(this.$route.query.bsmSlsq) 188 this.list(this.$route.query.bsmSlsq)
168 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq 189 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq
169 this.queryForm.bestepid = this.$route.query.bestepid 190 this.queryForm.bestepid = this.$route.query.bestepid
...@@ -187,8 +208,21 @@ export default { ...@@ -187,8 +208,21 @@ export default {
187 } 208 }
188 }) 209 })
189 }, 210 },
211 //获取环节扩展信息
212 expandInfo(bestepid){
213 let that = this
214 var formdata = new FormData();
215 formdata.append("bestepid", bestepid);
216 stepExpandInfo(formdata).then(res => {
217 if (res.code === 200) {
218 this.tabList1 = [...res.result.form]
219 this.tabList = res.result.form;
220 this.headerleftList = res.result.button
221 }
222 })
223 },
190 activeClick(tab,event){ 224 activeClick(tab,event){
191 if(tab.name=='1'){ 225 if(tab.name=='slxx'){
192 this.list(this.id) 226 this.list(this.id)
193 } 227 }
194 }, 228 },
...@@ -201,10 +235,10 @@ export default { ...@@ -201,10 +235,10 @@ export default {
201 }) 235 })
202 }, 236 },
203 operation (index, item) { 237 operation (index, item) {
204 if(item.icon == 'fqsq3'){ 238 if(item.value == 'zsyl'){
205 this.zsylFlag = true 239 this.zsylFlag = true
206 240
207 } else if (item.icon == 'fqsq5') { 241 } else if (item.value == 'clfp') {
208 this.key++ 242 this.key++
209 this.issplitScreen = !this.issplitScreen 243 this.issplitScreen = !this.issplitScreen
210 this.flag = !this.flag 244 this.flag = !this.flag
...@@ -213,14 +247,15 @@ export default { ...@@ -213,14 +247,15 @@ export default {
213 } else { 247 } else {
214 this.tabList = [...this.tabList1] 248 this.tabList = [...this.tabList1]
215 } 249 }
216 } else if (item.icon == 'fqsq8') { 250 } else if (item.value == 'th') {
217 this.thflag = true 251 this.thflag = true
218 this.$nextTick(() => { 252 this.$nextTick(() => {
219 this.$refs.thdialogRef.tablelistFn() 253 this.$refs.thdialogRef.tablelistFn()
220 }) 254 })
221 } 255 }
222 else if (item.icon == 'fqsq9') { 256 else if (item.value == 'zc') {
223 this.zcDialog = true 257 this.zcDialog = true
258 this.$refs.zcDialogRef.tablelistFn()
224 } 259 }
225 // if (index == 3) { 260 // if (index == 3) {
226 // window.close() 261 // window.close()
......