763c1708 by 任超

style;样式

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