Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
13 changed files
with
119 additions
and
104 deletions
src/api/clxx.js
0 → 100644
1 | import request from '@/utils/request' | ||
2 | import SERVER from './config' | ||
3 | |||
4 | // 材料目录明细初始化 | ||
5 | export function InitClml (data) { | ||
6 | return request({ | ||
7 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/InitClml', | ||
8 | method: 'post', | ||
9 | data | ||
10 | }) | ||
11 | } | ||
12 | |||
13 | // 材料目录明细移动 | ||
14 | export function moveClml (data) { | ||
15 | return request({ | ||
16 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/moveClml', | ||
17 | method: 'post', | ||
18 | data | ||
19 | }) | ||
20 | } | ||
21 | |||
22 | // 材料目录明细保存 | ||
23 | export function saveClml (data) { | ||
24 | return request({ | ||
25 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/saveClml', | ||
26 | method: 'post', | ||
27 | data | ||
28 | }) | ||
29 | } | ||
30 | |||
31 | // 材料目录批量删除 | ||
32 | export function deleteSjClml (params) { | ||
33 | return request({ | ||
34 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteSjClml', | ||
35 | method: 'delete', | ||
36 | params: params | ||
37 | }) | ||
38 | } | ||
39 | |||
40 | // 上传单个文件 | ||
41 | export function uploadSjClmx (data) { | ||
42 | return request({ | ||
43 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadSjClmx', | ||
44 | method: 'post', | ||
45 | data | ||
46 | }) | ||
47 | } | ||
48 | |||
49 | // 删除上传文件 | ||
50 | export function deleteClmx (bsmClmx) { | ||
51 | return request({ | ||
52 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/deleteClmx?bsmClmx=' + bsmClmx, | ||
53 | method: 'delete' | ||
54 | }) | ||
55 | } | ||
56 | |||
57 | // 材料导入 | ||
58 | export function uploadUndo (data) { | ||
59 | return request({ | ||
60 | url: SERVER.SERVERAPI + '/rest/ywbl/clxx/uploadUndo', | ||
61 | method: 'post', | ||
62 | data | ||
63 | }) | ||
64 | } |
... | @@ -3,18 +3,3 @@ import SERVER from './config' | ... | @@ -3,18 +3,3 @@ import SERVER from './config' |
3 | export function uploadUrl () { | 3 | export function uploadUrl () { |
4 | return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload' | 4 | return process.env.VUE_APP_BASE_API + SERVER.SERVERAPI + '/file/upload' |
5 | } | 5 | } |
6 | // 上传单个文件 | ||
7 | export function sjClmxUpload (data) { | ||
8 | return request({ | ||
9 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', | ||
10 | method: 'post', | ||
11 | data | ||
12 | }) | ||
13 | } | ||
14 | // 删除上传文件 | ||
15 | export function sjClmxDelete (bsmClmx) { | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, | ||
18 | method: 'delete' | ||
19 | }) | ||
20 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -32,41 +32,6 @@ export function leftMenu (data) { | ... | @@ -32,41 +32,6 @@ export function leftMenu (data) { |
32 | data | 32 | data |
33 | }) | 33 | }) |
34 | } | 34 | } |
35 | // 材料目录明细初始化 | ||
36 | export function clmlInit (data) { | ||
37 | return request({ | ||
38 | url: SERVER.SERVERAPI + '/rest/zhcx/clml/Init', | ||
39 | method: 'post', | ||
40 | data | ||
41 | }) | ||
42 | } | ||
43 | |||
44 | // 材料目录明细移动 | ||
45 | export function move (data) { | ||
46 | return request({ | ||
47 | url: SERVER.SERVERAPI + '/rest/zhcx/clml/move', | ||
48 | method: 'post', | ||
49 | data | ||
50 | }) | ||
51 | } | ||
52 | |||
53 | // 材料目录明细保存 | ||
54 | export function save (data) { | ||
55 | return request({ | ||
56 | url: SERVER.SERVERAPI + '/rest/zhcx/clml/save', | ||
57 | method: 'post', | ||
58 | data | ||
59 | }) | ||
60 | } | ||
61 | |||
62 | // 材料目录批量删除 | ||
63 | export function clmlDelete (params) { | ||
64 | return request({ | ||
65 | url: SERVER.SERVERAPI + '/rest/zhcx/clml/delete', | ||
66 | method: 'delete', | ||
67 | params: params | ||
68 | }) | ||
69 | } | ||
70 | 35 | ||
71 | // 获取下一环节信息 | 36 | // 获取下一环节信息 |
72 | export function getNextLinkInfo (params) { | 37 | export function getNextLinkInfo (params) { | ... | ... |
... | @@ -57,18 +57,3 @@ export function getWorkFlowImage (bsmSlsq, bestepid) { | ... | @@ -57,18 +57,3 @@ export function getWorkFlowImage (bsmSlsq, bestepid) { |
57 | } | 57 | } |
58 | }) | 58 | }) |
59 | } | 59 | } |
60 | // 上传单个文件 | ||
61 | export function sjClmxUpload (data) { | ||
62 | return request({ | ||
63 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', | ||
64 | method: 'post', | ||
65 | data | ||
66 | }) | ||
67 | } | ||
68 | // 删除上传文件 | ||
69 | export function sjClmxDelete (bsmClmx) { | ||
70 | return request({ | ||
71 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, | ||
72 | method: 'delete' | ||
73 | }) | ||
74 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -53,18 +53,3 @@ export function getWorkFlowImage (bsmSlsq, bestepid) { | ... | @@ -53,18 +53,3 @@ export function getWorkFlowImage (bsmSlsq, bestepid) { |
53 | } | 53 | } |
54 | }) | 54 | }) |
55 | } | 55 | } |
56 | // 上传单个文件 | ||
57 | export function sjClmxUpload (data) { | ||
58 | return request({ | ||
59 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', | ||
60 | method: 'post', | ||
61 | data | ||
62 | }) | ||
63 | } | ||
64 | // 删除上传文件 | ||
65 | export function sjClmxDelete (bsmClmx) { | ||
66 | return request({ | ||
67 | url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, | ||
68 | method: 'delete' | ||
69 | }) | ||
70 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -37,7 +37,7 @@ | ... | @@ -37,7 +37,7 @@ |
37 | </template> | 37 | </template> |
38 | <script> | 38 | <script> |
39 | import PhotoZoom from '@/components/PhotoZoom' | 39 | import PhotoZoom from '@/components/PhotoZoom' |
40 | import { sjClmxUpload, sjClmxDelete } from '@/api/workflow/jsydsyqFlow' | 40 | import { uploadSjClmx, deleteClmx } from "@/api/clxx.js"; |
41 | import publicPicture from '@/components/publicPicture/index.vue' | 41 | import publicPicture from '@/components/publicPicture/index.vue' |
42 | export default { | 42 | export default { |
43 | name: 'PreviewImage', | 43 | name: 'PreviewImage', |
... | @@ -135,7 +135,7 @@ export default { | ... | @@ -135,7 +135,7 @@ export default { |
135 | formdata.append("file", file.raw); | 135 | formdata.append("file", file.raw); |
136 | formdata.append("bsmSj", this.previewImg.bsmSj); | 136 | formdata.append("bsmSj", this.previewImg.bsmSj); |
137 | formdata.append("bsmSlsq", this.previewImg.bsmSlsq); | 137 | formdata.append("bsmSlsq", this.previewImg.bsmSlsq); |
138 | sjClmxUpload(formdata).then((res) => { | 138 | uploadSjClmx(formdata).then((res) => { |
139 | if (res.code == 200) { | 139 | if (res.code == 200) { |
140 | this.$emit('updateList', res.result) | 140 | this.$emit('updateList', res.result) |
141 | this.$message({ | 141 | this.$message({ |
... | @@ -153,7 +153,7 @@ export default { | ... | @@ -153,7 +153,7 @@ export default { |
153 | type: 'warning' | 153 | type: 'warning' |
154 | }).then(async () => { | 154 | }).then(async () => { |
155 | let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | 155 | let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx |
156 | sjClmxDelete(bsmClmx).then(res => { | 156 | deleteClmx(bsmClmx).then(res => { |
157 | if (res.code == 200) { | 157 | if (res.code == 200) { |
158 | that.$emit('updateList', res.result) | 158 | that.$emit('updateList', res.result) |
159 | that.$message({ | 159 | that.$message({ | ... | ... |
... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
39 | import { mapGetters } from "vuex"; | 39 | import { mapGetters } from "vuex"; |
40 | import clxxAddDialog from "./clxxAddDialog.vue"; | 40 | import clxxAddDialog from "./clxxAddDialog.vue"; |
41 | import imagePreview from '@/views/components/imagePreview.vue' | 41 | import imagePreview from '@/views/components/imagePreview.vue' |
42 | import { clmlInit, move, save, clmlDelete } from "@/api/fqsq.js"; | 42 | import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; |
43 | export default { | 43 | export default { |
44 | components: { clxxAddDialog, imagePreview }, | 44 | components: { clxxAddDialog, imagePreview }, |
45 | data () { | 45 | data () { |
... | @@ -238,7 +238,7 @@ export default { | ... | @@ -238,7 +238,7 @@ export default { |
238 | var formdata = new FormData(); | 238 | var formdata = new FormData(); |
239 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); | 239 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); |
240 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | 240 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); |
241 | clmlInit(formdata).then((res) => { | 241 | InitClml(formdata).then((res) => { |
242 | if(res.result.code == 200){ | 242 | if(res.result.code == 200){ |
243 | resolve(res.code) | 243 | resolve(res.code) |
244 | if (res.result.result && res.result.result.length > 0) { | 244 | if (res.result.result && res.result.result.length > 0) { |
... | @@ -296,7 +296,7 @@ export default { | ... | @@ -296,7 +296,7 @@ export default { |
296 | moveDirection: "UP", | 296 | moveDirection: "UP", |
297 | }; | 297 | }; |
298 | // 接口待调 | 298 | // 接口待调 |
299 | move(obj).then(async (res) => { | 299 | moveClml(obj).then(async (res) => { |
300 | if (res.code == 200) { | 300 | if (res.code == 200) { |
301 | let res = await this.clmlInitList() | 301 | let res = await this.clmlInitList() |
302 | if (res == 200) this.$message({ | 302 | if (res == 200) this.$message({ |
... | @@ -316,7 +316,7 @@ export default { | ... | @@ -316,7 +316,7 @@ export default { |
316 | moveDirection: "DOWN", | 316 | moveDirection: "DOWN", |
317 | } | 317 | } |
318 | // 接口待调 | 318 | // 接口待调 |
319 | move(obj).then(async (res) => { | 319 | moveClml(obj).then(async (res) => { |
320 | if (res.code == 200) { | 320 | if (res.code == 200) { |
321 | let res = await this.clmlInitList() | 321 | let res = await this.clmlInitList() |
322 | if (res == 200) this.$message({ | 322 | if (res == 200) this.$message({ |
... | @@ -340,7 +340,7 @@ export default { | ... | @@ -340,7 +340,7 @@ export default { |
340 | sjlx: data.cllx, | 340 | sjlx: data.cllx, |
341 | sfxjcl: "1", // 是否必选 | 341 | sfxjcl: "1", // 是否必选 |
342 | }; | 342 | }; |
343 | save(obj).then(async (res) => { | 343 | saveClml(obj).then(async (res) => { |
344 | if (res.code == 200) { | 344 | if (res.code == 200) { |
345 | let res = await this.clmlInitList() | 345 | let res = await this.clmlInitList() |
346 | if (res == 200) this.$message({ | 346 | if (res == 200) this.$message({ |
... | @@ -358,7 +358,7 @@ export default { | ... | @@ -358,7 +358,7 @@ export default { |
358 | cancelButtonText: '取消', | 358 | cancelButtonText: '取消', |
359 | type: 'warning' | 359 | type: 'warning' |
360 | }).then(() => { | 360 | }).then(() => { |
361 | clmlDelete({ sjBsm: row.bsmSj }).then(async (res) => { | 361 | deleteSjClml({ sjBsm: row.bsmSj }).then(async (res) => { |
362 | if (res.code == 200) { | 362 | if (res.code == 200) { |
363 | let res = await that.clmlInitList() | 363 | let res = await that.clmlInitList() |
364 | if (res == 200) that.$message({ | 364 | if (res == 200) that.$message({ | ... | ... |
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
14 | </template> | 14 | </template> |
15 | <script> | 15 | <script> |
16 | import { mapGetters } from "vuex"; | 16 | import { mapGetters } from "vuex"; |
17 | import { clmlInit, move, save, clmlDelete } from "@/api/fqsq.js"; | 17 | import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; |
18 | export default { | 18 | export default { |
19 | components: { }, | 19 | components: { }, |
20 | props: { | 20 | props: { |
... | @@ -187,7 +187,7 @@ export default { | ... | @@ -187,7 +187,7 @@ export default { |
187 | var formdata = new FormData(); | 187 | var formdata = new FormData(); |
188 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); | 188 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); |
189 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 189 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
190 | clmlInit(formdata).then((res) => { | 190 | InitClml(formdata).then((res) => { |
191 | if(res.code == 200){ | 191 | if(res.code == 200){ |
192 | resolve(res.code) | 192 | resolve(res.code) |
193 | if(res.result && res.result.length > 0){ | 193 | if(res.result && res.result.length > 0){ |
... | @@ -209,7 +209,7 @@ export default { | ... | @@ -209,7 +209,7 @@ export default { |
209 | moveDirection: "UP", | 209 | moveDirection: "UP", |
210 | }; | 210 | }; |
211 | // 接口待调 | 211 | // 接口待调 |
212 | move(obj).then(async (res) => { | 212 | moveClml(obj).then(async (res) => { |
213 | if (res.code == 200) { | 213 | if (res.code == 200) { |
214 | let res = await this.clmlInitList() | 214 | let res = await this.clmlInitList() |
215 | if (res == 200) { | 215 | if (res == 200) { |
... | @@ -232,7 +232,7 @@ export default { | ... | @@ -232,7 +232,7 @@ export default { |
232 | moveDirection: "DOWN", | 232 | moveDirection: "DOWN", |
233 | } | 233 | } |
234 | // 接口待调 | 234 | // 接口待调 |
235 | move(obj).then(async (res) => { | 235 | moveClml(obj).then(async (res) => { |
236 | if (res.code == 200) { | 236 | if (res.code == 200) { |
237 | let res = await this.clmlInitList() | 237 | let res = await this.clmlInitList() |
238 | if (res == 200) { | 238 | if (res == 200) { |
... | @@ -255,7 +255,7 @@ export default { | ... | @@ -255,7 +255,7 @@ export default { |
255 | cancelButtonText: '取消', | 255 | cancelButtonText: '取消', |
256 | type: 'warning' | 256 | type: 'warning' |
257 | }).then(() => { | 257 | }).then(() => { |
258 | clmlDelete({ sjBsm: row.bsmSj }).then(async (res) => { | 258 | deleteSjClml({ sjBsm: row.bsmSj }).then(async (res) => { |
259 | if (res.code == 200) { | 259 | if (res.code == 200) { |
260 | let res = await that.clmlInitList() | 260 | let res = await that.clmlInitList() |
261 | if (res == 200) { | 261 | if (res == 200) { | ... | ... |
... | @@ -32,7 +32,7 @@ import { mapGetters } from "vuex"; | ... | @@ -32,7 +32,7 @@ import { mapGetters } from "vuex"; |
32 | import clxxAddDialog from "./clxxAddDialog.vue"; | 32 | import clxxAddDialog from "./clxxAddDialog.vue"; |
33 | import clxxDetailDialog from "./clxxDetailDialog.vue"; | 33 | import clxxDetailDialog from "./clxxDetailDialog.vue"; |
34 | import imagePreview from '@/views/components/imagePreview.vue' | 34 | import imagePreview from '@/views/components/imagePreview.vue' |
35 | import { clmlInit, move, save, clmlDelete } from "@/api/fqsq.js"; | 35 | import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; |
36 | import { popupDialog } from "@/utils/popup.js"; | 36 | import { popupDialog } from "@/utils/popup.js"; |
37 | export default { | 37 | export default { |
38 | components: { clxxAddDialog, imagePreview,clxxDetailDialog }, | 38 | components: { clxxAddDialog, imagePreview,clxxDetailDialog }, |
... | @@ -90,7 +90,7 @@ export default { | ... | @@ -90,7 +90,7 @@ export default { |
90 | var formdata = new FormData(); | 90 | var formdata = new FormData(); |
91 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); | 91 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); |
92 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | 92 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); |
93 | clmlInit(formdata).then((res) => { | 93 | InitClml(formdata).then((res) => { |
94 | if(res.code == 200){ | 94 | if(res.code == 200){ |
95 | resolve(res.code) | 95 | resolve(res.code) |
96 | if (res.result && res.result.length > 0) { | 96 | if (res.result && res.result.length > 0) { |
... | @@ -155,7 +155,7 @@ export default { | ... | @@ -155,7 +155,7 @@ export default { |
155 | sjlx: data.cllx, | 155 | sjlx: data.cllx, |
156 | sfxjcl: "1", // 是否必选 | 156 | sfxjcl: "1", // 是否必选 |
157 | }; | 157 | }; |
158 | save(obj).then(async (res) => { | 158 | saveClml(obj).then(async (res) => { |
159 | if (res.code == 200) { | 159 | if (res.code == 200) { |
160 | let res = await this.clmlInitList(2) | 160 | let res = await this.clmlInitList(2) |
161 | if (res == 200) this.$message({ | 161 | if (res == 200) this.$message({ | ... | ... |
... | @@ -2,6 +2,7 @@ import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; | ... | @@ -2,6 +2,7 @@ import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; |
2 | import { popupDialog } from "@/utils/popup.js"; | 2 | import { popupDialog } from "@/utils/popup.js"; |
3 | import { getPrintTemplateByCode } from "@/api/system"; | 3 | import { getPrintTemplateByCode } from "@/api/system"; |
4 | import { getPrintApplicationInfo } from "@/api/fqsq"; | 4 | import { getPrintApplicationInfo } from "@/api/fqsq"; |
5 | import { uploadUndo } from "@/api/clxx"; | ||
5 | import { getLodop } from "@/utils/LodopFuncs" | 6 | import { getLodop } from "@/utils/LodopFuncs" |
6 | import { | 7 | import { |
7 | leftMenu, | 8 | leftMenu, |
... | @@ -125,6 +126,9 @@ export default { | ... | @@ -125,6 +126,9 @@ export default { |
125 | this.tabList.splice(this.clxxIndex, 0, this.clxxTab); | 126 | this.tabList.splice(this.clxxIndex, 0, this.clxxTab); |
126 | } | 127 | } |
127 | break; | 128 | break; |
129 | case "B3": //材料导入 | ||
130 | document.getElementById("cldr").click(); | ||
131 | break; | ||
128 | case "B4": | 132 | case "B4": |
129 | popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%') | 133 | popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%') |
130 | break; | 134 | break; |
... | @@ -323,6 +327,23 @@ export default { | ... | @@ -323,6 +327,23 @@ export default { |
323 | that.loadBdcdylist(); | 327 | that.loadBdcdylist(); |
324 | } | 328 | } |
325 | }) | 329 | }) |
326 | }, | 330 | }, |
331 | handleChange (file) { | ||
332 | var formdata = new FormData(); | ||
333 | formdata.append("file", file.raw); | ||
334 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); | ||
335 | formdata.append("bsmSlsq", this.bsmSlsq); | ||
336 | uploadUndo(formdata).then(res => { | ||
337 | if(res.code == 200){ | ||
338 | this.$message.success("导入成功"); | ||
339 | }else{ | ||
340 | this.$message.error(res.message) | ||
341 | } | ||
342 | }) | ||
343 | }, | ||
344 | // 上传 | ||
345 | beforeUpload (file) { | ||
346 | return true; | ||
347 | }, | ||
327 | } | 348 | } |
328 | } | 349 | } | ... | ... |
... | @@ -72,6 +72,10 @@ | ... | @@ -72,6 +72,10 @@ |
72 | <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" v-show="false"> | 72 | <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" v-show="false"> |
73 | <embed id="LODOP_EM" type="application/x-print-lodop" width=820 height=450 pluginspage="install_lodop32.exe"/> | 73 | <embed id="LODOP_EM" type="application/x-print-lodop" width=820 height=450 pluginspage="install_lodop32.exe"/> |
74 | </object> | 74 | </object> |
75 | <el-upload class="fileUpdate" action="" :show-file-list="false" multiple :auto-upload="false" | ||
76 | :on-change="handleChange" :before-upload="beforeUpload"> | ||
77 | <el-button id="cldr" icon="el-icon-upload" type="primary" v-show="false">上传</el-button> | ||
78 | </el-upload> | ||
75 | <fqsqDialog v-model="isDialog" :djywbm="$route.query.sqywbm" :isJump="true" @updateDialog="updateDialog" /> | 79 | <fqsqDialog v-model="isDialog" :djywbm="$route.query.sqywbm" :isJump="true" @updateDialog="updateDialog" /> |
76 | </div> | 80 | </div> |
77 | </template> | 81 | </template> | ... | ... |
... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
39 | import { mapGetters } from "vuex"; | 39 | import { mapGetters } from "vuex"; |
40 | import clxxAddDialog from "./clxxAddDialog.vue"; | 40 | import clxxAddDialog from "./clxxAddDialog.vue"; |
41 | import imagePreview from '@/views/components/imagePreview.vue' | 41 | import imagePreview from '@/views/components/imagePreview.vue' |
42 | import { clmlInit, move, save, clmlDelete } from "@/api/fqsq.js"; | 42 | import {InitClml,saveClml,deleteSjClml,moveClml} from "@/api/clxx.js"; |
43 | export default { | 43 | export default { |
44 | components: { clxxAddDialog, imagePreview }, | 44 | components: { clxxAddDialog, imagePreview }, |
45 | data () { | 45 | data () { |
... | @@ -259,7 +259,7 @@ export default { | ... | @@ -259,7 +259,7 @@ export default { |
259 | moveDirection: "UP", | 259 | moveDirection: "UP", |
260 | }; | 260 | }; |
261 | // 接口待调 | 261 | // 接口待调 |
262 | move(obj).then(async (res) => { | 262 | moveClml(obj).then(async (res) => { |
263 | if (res.code == 200) { | 263 | if (res.code == 200) { |
264 | let res = await this.clmlInitList() | 264 | let res = await this.clmlInitList() |
265 | if (res == 200) this.$message({ | 265 | if (res == 200) this.$message({ |
... | @@ -279,7 +279,7 @@ export default { | ... | @@ -279,7 +279,7 @@ export default { |
279 | moveDirection: "DOWN", | 279 | moveDirection: "DOWN", |
280 | } | 280 | } |
281 | // 接口待调 | 281 | // 接口待调 |
282 | move(obj).then(async (res) => { | 282 | moveClml(obj).then(async (res) => { |
283 | if (res.code == 200) { | 283 | if (res.code == 200) { |
284 | let res = await this.clmlInitList() | 284 | let res = await this.clmlInitList() |
285 | if (res == 200) this.$message({ | 285 | if (res == 200) this.$message({ |
... | @@ -303,7 +303,7 @@ export default { | ... | @@ -303,7 +303,7 @@ export default { |
303 | sjlx: data.cllx, | 303 | sjlx: data.cllx, |
304 | sfxjcl: "1", // 是否必选 | 304 | sfxjcl: "1", // 是否必选 |
305 | }; | 305 | }; |
306 | save(obj).then(async (res) => { | 306 | saveClml(obj).then(async (res) => { |
307 | if (res.code == 200) { | 307 | if (res.code == 200) { |
308 | let res = await this.clmlInitList() | 308 | let res = await this.clmlInitList() |
309 | if (res == 200) this.$message({ | 309 | if (res == 200) this.$message({ |
... | @@ -321,7 +321,7 @@ export default { | ... | @@ -321,7 +321,7 @@ export default { |
321 | cancelButtonText: '取消', | 321 | cancelButtonText: '取消', |
322 | type: 'warning' | 322 | type: 'warning' |
323 | }).then(() => { | 323 | }).then(() => { |
324 | clmlDelete({ sjBsm: row.bsmSj }).then(async (res) => { | 324 | deleteSjClml({ sjBsm: row.bsmSj }).then(async (res) => { |
325 | if (res.code == 200) { | 325 | if (res.code == 200) { |
326 | let res = await that.clmlInitList() | 326 | let res = await that.clmlInitList() |
327 | if (res == 200) that.$message({ | 327 | if (res == 200) that.$message({ | ... | ... |
... | @@ -83,7 +83,13 @@ | ... | @@ -83,7 +83,13 @@ |
83 | <el-row :gutter="10"> | 83 | <el-row :gutter="10"> |
84 | <el-col :span="8"> | 84 | <el-col :span="8"> |
85 | <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:"> | 85 | <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:"> |
86 | <el-input v-model="ruleForm.jsydsyq.qdjg"></el-input> | 86 | <div style="display:flex"> |
87 | <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%"></el-input> | ||
88 | <el-select v-model="ruleForm.jsydsyq.jedw"> | ||
89 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
90 | </el-option> | ||
91 | </el-select> | ||
92 | </div> | ||
87 | </el-form-item> | 93 | </el-form-item> |
88 | </el-col> | 94 | </el-col> |
89 | 95 | ... | ... |
-
Please register or sign in to post a comment