cf6ab7ef by 任超

feat:工作流api文件夹整理

1 parent 5c0e7abb
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 import SERVER from './config' 2 import SERVER from '../config'
3 3
4 // 初始化内容 4 // 初始化内容
5 export function Init (data) { 5 export function Init (data) {
......
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 import SERVER from './config' 2 import SERVER from '../config'
3 // 初始化内容 3 // 初始化内容
4 export function Init (data) { 4 export function Init (data) {
5 let apiUrl = ""; 5 let apiUrl = "";
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
165 <el-row :gutter="10"> 165 <el-row :gutter="10">
166 <el-col> 166 <el-col>
167 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> 167 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj">
168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype==1"></el-input> 168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype == 1"></el-input>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 <el-row :gutter="10"> 176 <el-row :gutter="10">
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 178 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
179 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> 179 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs">
180 <el-radio label="0">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="1">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="2">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
...@@ -207,8 +207,8 @@ ...@@ -207,8 +207,8 @@
207 家庭成员 207 家庭成员
208 <div class="triangle"></div> 208 <div class="triangle"></div>
209 </div> 209 </div>
210 <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" 210 <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype"
211 :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> 211 :gyfs="ruleForm.slywxx.gyfs" />
212 <div class="slxx_title title-block"> 212 <div class="slxx_title title-block">
213 登记原因 213 登记原因
214 <div class="triangle"></div> 214 <div class="triangle"></div>
...@@ -216,7 +216,8 @@ ...@@ -216,7 +216,8 @@
216 <el-row :gutter="10"> 216 <el-row :gutter="10">
217 <el-col> 217 <el-col>
218 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 218 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
219 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.nydsyq.djyy"> 219 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
220 v-model="ruleForm.nydsyq.djyy">
220 </el-input> 221 </el-input>
221 </el-form-item> 222 </el-form-item>
222 </el-col> 223 </el-col>
...@@ -232,7 +233,7 @@ ...@@ -232,7 +233,7 @@
232 </template> 233 </template>
233 <script> 234 <script>
234 import { mapGetters } from "vuex" 235 import { mapGetters } from "vuex"
235 import { Init, saveData } from "@/api/nydsyqFlow.js" 236 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"
236 import InformationTable from "@/views/workflow/components/InformationTable" 237 import InformationTable from "@/views/workflow/components/InformationTable"
237 import JtcyTable from "@/views/workflow/components/JtcyTable" 238 import JtcyTable from "@/views/workflow/components/JtcyTable"
238 export default { 239 export default {
...@@ -243,14 +244,14 @@ export default { ...@@ -243,14 +244,14 @@ export default {
243 formdata.append("djlx", this.propsParam.djlx); 244 formdata.append("djlx", this.propsParam.djlx);
244 Init(formdata).then((res) => { 245 Init(formdata).then((res) => {
245 this.ruleForm = res.result; 246 this.ruleForm = res.result;
246 if (res.code === 200 ) { 247 if (res.code === 200) {
247 } 248 }
248 else{ 249 else {
249 this.$alert(res.message, '提示'); 250 this.$alert(res.message, '提示');
250 } 251 }
251 }) 252 })
252 }, 253 },
253 components: { InformationTable,JtcyTable }, 254 components: { InformationTable, JtcyTable },
254 computed: { 255 computed: {
255 ...mapGetters(["dictData", "flag"]) 256 ...mapGetters(["dictData", "flag"])
256 }, 257 },
...@@ -292,7 +293,7 @@ export default { ...@@ -292,7 +293,7 @@ export default {
292 this.ruleForm.jtcyList = _.cloneDeep(val) 293 this.ruleForm.jtcyList = _.cloneDeep(val)
293 }, 294 },
294 //水域滩涂类型变化事件 295 //水域滩涂类型变化事件
295 changeSyttlx(e){ 296 changeSyttlx (e) {
296 let itemLx = {} 297 let itemLx = {}
297 itemLx = this.dictData['A23'].find((item) => { 298 itemLx = this.dictData['A23'].find((item) => {
298 return item.dcode == e 299 return item.dcode == e
...@@ -300,7 +301,7 @@ export default { ...@@ -300,7 +301,7 @@ export default {
300 this.ruleForm.nydsyq.syttlxmc = itemLx.dname; 301 this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
301 }, 302 },
302 //养殖业方式变化事件 303 //养殖业方式变化事件
303 changeYzyfs(e){ 304 changeYzyfs (e) {
304 let itemLx = {} 305 let itemLx = {}
305 itemLx = this.dictData['A24'].find((item) => { 306 itemLx = this.dictData['A24'].find((item) => {
306 return item.dcode == e 307 return item.dcode == e
...@@ -308,7 +309,7 @@ export default { ...@@ -308,7 +309,7 @@ export default {
308 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; 309 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
309 }, 310 },
310 //用地用海变化事件 311 //用地用海变化事件
311 changeYdyhfl(e){ 312 changeYdyhfl (e) {
312 let itemLx = {} 313 let itemLx = {}
313 itemLx = this.dictData['A51'].find((item) => { 314 itemLx = this.dictData['A51'].find((item) => {
314 return item.dcode == e 315 return item.dcode == e
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
165 <el-row :gutter="10"> 165 <el-row :gutter="10">
166 <el-col> 166 <el-col>
167 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> 167 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj">
168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype==1"></el-input> 168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype == 1"></el-input>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 <el-row :gutter="10"> 176 <el-row :gutter="10">
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 178 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
179 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> 179 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs">
180 <el-radio label="0">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="1">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="2">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
...@@ -213,8 +213,8 @@ ...@@ -213,8 +213,8 @@
213 家庭成员 213 家庭成员
214 <div class="triangle"></div> 214 <div class="triangle"></div>
215 </div> 215 </div>
216 <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" 216 <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype"
217 :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> 217 :gyfs="ruleForm.slywxx.gyfs" />
218 <div class="slxx_title title-block"> 218 <div class="slxx_title title-block">
219 登记原因 219 登记原因
220 <div class="triangle"></div> 220 <div class="triangle"></div>
...@@ -222,7 +222,8 @@ ...@@ -222,7 +222,8 @@
222 <el-row :gutter="10"> 222 <el-row :gutter="10">
223 <el-col> 223 <el-col>
224 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 224 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
225 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.nydsyq.djyy"> 225 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
226 v-model="ruleForm.nydsyq.djyy">
226 </el-input> 227 </el-input>
227 </el-form-item> 228 </el-form-item>
228 </el-col> 229 </el-col>
...@@ -238,7 +239,7 @@ ...@@ -238,7 +239,7 @@
238 </template> 239 </template>
239 <script> 240 <script>
240 import { mapGetters } from "vuex" 241 import { mapGetters } from "vuex"
241 import { Init, saveData } from "@/api/nydsyqFlow.js" 242 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"
242 import InformationTable from "@/views/workflow/components/InformationTable" 243 import InformationTable from "@/views/workflow/components/InformationTable"
243 import JtcyTable from "@/views/workflow/components/JtcyTable" 244 import JtcyTable from "@/views/workflow/components/JtcyTable"
244 export default { 245 export default {
...@@ -249,14 +250,14 @@ export default { ...@@ -249,14 +250,14 @@ export default {
249 formdata.append("djlx", this.propsParam.djlx); 250 formdata.append("djlx", this.propsParam.djlx);
250 Init(formdata).then((res) => { 251 Init(formdata).then((res) => {
251 this.ruleForm = res.result; 252 this.ruleForm = res.result;
252 if (res.code === 200 ) { 253 if (res.code === 200) {
253 } 254 }
254 else{ 255 else {
255 this.$alert(res.message, '提示'); 256 this.$alert(res.message, '提示');
256 } 257 }
257 }) 258 })
258 }, 259 },
259 components: { InformationTable,JtcyTable }, 260 components: { InformationTable, JtcyTable },
260 computed: { 261 computed: {
261 ...mapGetters(["dictData", "flag"]) 262 ...mapGetters(["dictData", "flag"])
262 }, 263 },
...@@ -304,7 +305,7 @@ export default { ...@@ -304,7 +305,7 @@ export default {
304 this.ruleForm.jtcyList = _.cloneDeep(val) 305 this.ruleForm.jtcyList = _.cloneDeep(val)
305 }, 306 },
306 //水域滩涂类型变化事件 307 //水域滩涂类型变化事件
307 changeSyttlx(e){ 308 changeSyttlx (e) {
308 let itemLx = {} 309 let itemLx = {}
309 itemLx = this.dictData['A23'].find((item) => { 310 itemLx = this.dictData['A23'].find((item) => {
310 return item.dcode == e 311 return item.dcode == e
...@@ -312,7 +313,7 @@ export default { ...@@ -312,7 +313,7 @@ export default {
312 this.ruleForm.nydsyq.syttlxmc = itemLx.dname; 313 this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
313 }, 314 },
314 //养殖业方式变化事件 315 //养殖业方式变化事件
315 changeYzyfs(e){ 316 changeYzyfs (e) {
316 let itemLx = {} 317 let itemLx = {}
317 itemLx = this.dictData['A24'].find((item) => { 318 itemLx = this.dictData['A24'].find((item) => {
318 return item.dcode == e 319 return item.dcode == e
...@@ -320,7 +321,7 @@ export default { ...@@ -320,7 +321,7 @@ export default {
320 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; 321 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
321 }, 322 },
322 //用地用海变化事件 323 //用地用海变化事件
323 changeYdyhfl(e){ 324 changeYdyhfl (e) {
324 let itemLx = {} 325 let itemLx = {}
325 itemLx = this.dictData['A51'].find((item) => { 326 itemLx = this.dictData['A51'].find((item) => {
326 return item.dcode == e 327 return item.dcode == e
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 </el-form-item> 58 </el-form-item>
59 </el-col> 59 </el-col>
60 </el-row> 60 </el-row>
61 <el-row :gutter="10" > 61 <el-row :gutter="10">
62 <el-col :span="8"> 62 <el-col :span="8">
63 <el-form-item :class="flag ? 'marginBot0' : ''" label="规划用途:"> 63 <el-form-item :class="flag ? 'marginBot0' : ''" label="规划用途:">
64 <el-input disabled v-model="ruleForm.ygdj.ghyt"></el-input> 64 <el-input disabled v-model="ruleForm.ygdj.ghyt"></el-input>
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
92 </el-form-item> 92 </el-form-item>
93 </el-col> 93 </el-col>
94 </el-row> 94 </el-row>
95 <el-row :gutter="10" > 95 <el-row :gutter="10">
96 <el-col :span="8"> 96 <el-col :span="8">
97 <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:"> 97 <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:">
98 <el-input disabled v-model="ruleForm.ygdj.szc"></el-input> 98 <el-input disabled v-model="ruleForm.ygdj.szc"></el-input>
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
133 <el-row :gutter="10"> 133 <el-row :gutter="10">
134 <el-col :span="14" v-if="ruleForm.qlxx"> 134 <el-col :span="14" v-if="ruleForm.qlxx">
135 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 135 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
136 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> 136 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs">
137 <el-radio label="0">单独所有</el-radio> 137 <el-radio label="0">单独所有</el-radio>
138 <el-radio label="1">共同共有</el-radio> 138 <el-radio label="1">共同共有</el-radio>
139 <el-radio label="2">按份所有</el-radio> 139 <el-radio label="2">按份所有</el-radio>
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
157 <el-row :gutter="10"> 157 <el-row :gutter="10">
158 <el-col> 158 <el-col>
159 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 159 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
160 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" 160 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
161 v-model="ruleForm.ygdj.djyy"> 161 v-model="ruleForm.ygdj.djyy">
162 </el-input> 162 </el-input>
163 </el-form-item> 163 </el-form-item>
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
174 </template> 174 </template>
175 <script> 175 <script>
176 import InformationTable from "@/views/workflow/components/InformationTable"; 176 import InformationTable from "@/views/workflow/components/InformationTable";
177 import { Init, saveData } from "@/api/ygdjFlow.js"; 177 import { Init, saveData } from "@/api/workflow/ygdjFlow.js";
178 import { mapGetters } from "vuex"; 178 import { mapGetters } from "vuex";
179 export default { 179 export default {
180 async created () { 180 async created () {
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
47 <div class="triangle"></div> 47 <div class="triangle"></div>
48 </div> 48 </div>
49 49
50 <!-- <el-button type="primary" style="float: right;margin-right: 20px; " @click="onClick">数据查看</el-button>--> 50 <!-- <el-button type="primary" style="float: right;margin-right: 20px; " @click="onClick">数据查看</el-button>-->
51 51
52 <el-row :gutter="10" v-if="ruleForm.qlxx"> 52 <el-row :gutter="10" v-if="ruleForm.qlxx">
53 <el-col :span="8"> 53 <el-col :span="8">
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
95 </el-form-item> 95 </el-form-item>
96 </el-col> 96 </el-col>
97 </el-row> 97 </el-row>
98 <el-row :gutter="10" > 98 <el-row :gutter="10">
99 <el-col :span="8"> 99 <el-col :span="8">
100 <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:"> 100 <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:">
101 <el-input disabled v-model="ruleForm.ygdj.szc"></el-input> 101 <el-input disabled v-model="ruleForm.ygdj.szc"></el-input>
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
136 <el-row :gutter="10"> 136 <el-row :gutter="10">
137 <el-col :span="14" v-if="ruleForm.qlxx"> 137 <el-col :span="14" v-if="ruleForm.qlxx">
138 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 138 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
139 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> 139 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs">
140 <el-radio label="0">单独所有</el-radio> 140 <el-radio label="0">单独所有</el-radio>
141 <el-radio label="1">共同共有</el-radio> 141 <el-radio label="1">共同共有</el-radio>
142 <el-radio label="2">按份所有</el-radio> 142 <el-radio label="2">按份所有</el-radio>
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
160 <el-row :gutter="10"> 160 <el-row :gutter="10">
161 <el-col> 161 <el-col>
162 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 162 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
163 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" 163 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
164 v-model="ruleForm.ygdj.djyy"> 164 v-model="ruleForm.ygdj.djyy">
165 </el-input> 165 </el-input>
166 </el-form-item> 166 </el-form-item>
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
177 </template> 177 </template>
178 <script> 178 <script>
179 import InformationTable from "@/views/workflow/components/InformationTable"; 179 import InformationTable from "@/views/workflow/components/InformationTable";
180 import { Init, saveData } from "@/api/ygdjFlow.js"; 180 import { Init, saveData } from "@/api/workflow/ygdjFlow.js";
181 import { mapGetters } from "vuex"; 181 import { mapGetters } from "vuex";
182 export default { 182 export default {
183 async created () { 183 async created () {
...@@ -207,8 +207,8 @@ export default { ...@@ -207,8 +207,8 @@ export default {
207 }; 207 };
208 }, 208 },
209 methods: { 209 methods: {
210 onClick(){ 210 onClick () {
211 this.$popup("房屋信息比对","ywbl/ygdj/slxxCompareDetai", 211 this.$popup("房屋信息比对", "ywbl/ygdj/slxxCompareDetai",
212 { 212 {
213 formData: { 213 formData: {
214 bsmSldy: this.propsParam.bsmSldy, 214 bsmSldy: this.propsParam.bsmSldy,
......