style:信息备案
Showing
6 changed files
with
65 additions
and
16 deletions
1 | /* | 1 | /* |
2 | * @Description: 企业银行接口 | 2 | * @Description: 企业银行接口 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-07 16:53:25 | 4 | * @LastEditTime: 2023-09-08 09:18:45 |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
... | @@ -58,6 +58,9 @@ export function uploadBatch (data) { | ... | @@ -58,6 +58,9 @@ export function uploadBatch (data) { |
58 | return request({ | 58 | return request({ |
59 | url: SERVER.SERVERAPI + '/rest/sys/company/uploadBatch', | 59 | url: SERVER.SERVERAPI + '/rest/sys/company/uploadBatch', |
60 | method: 'post', | 60 | method: 'post', |
61 | headers: { | ||
62 | 'Content-Type': 'multipart/form-data' | ||
63 | }, | ||
61 | data | 64 | data |
62 | }) | 65 | }) |
63 | } | 66 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 信息备案 | 2 | * @Description: 信息备案 |
3 | * @Autor: | 3 | * @Autor: |
4 | * @LastEditTime: 2023-07-19 14:52:03 | 4 | * @LastEditTime: 2023-09-08 09:27:58 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
... | @@ -58,3 +58,17 @@ export function queryYhByPage (data) { | ... | @@ -58,3 +58,17 @@ export function queryYhByPage (data) { |
58 | }) | 58 | }) |
59 | } | 59 | } |
60 | 60 | ||
61 | /** | ||
62 | * @description: 删除列表 | ||
63 | * @param {*} companyBsm | ||
64 | * @author: renchao | ||
65 | */ | ||
66 | export function remove (companyBsm) { | ||
67 | return request({ | ||
68 | url: SERVER.SERVERAPI + '/rest/sys/company/remove', | ||
69 | method: 'get', | ||
70 | params: { | ||
71 | companyBsm: companyBsm | ||
72 | } | ||
73 | }) | ||
74 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -14,14 +14,25 @@ | ... | @@ -14,14 +14,25 @@ |
14 | </el-col> | 14 | </el-col> |
15 | <el-col :span="12"> | 15 | <el-col :span="12"> |
16 | <el-form-item label="电话:" prop="dh"> | 16 | <el-form-item label="电话:" prop="dh"> |
17 | <el-input v-model="ruleForm.dh"></el-input> | 17 | <el-input v-model.number="ruleForm.dh" maxlength="11"></el-input> |
18 | </el-form-item> | 18 | </el-form-item> |
19 | </el-col> | 19 | </el-col> |
20 | </el-row> | 20 | </el-row> |
21 | <el-row> | 21 | <el-row> |
22 | <el-col :span="12"> | 22 | <el-col :span="12"> |
23 | <el-form-item label="证件种类:"> | 23 | <el-form-item label="证件种类" prop="zjzl"> |
24 | <el-input v-model="ruleForm.zjzl"></el-input> | 24 | <el-select |
25 | clearable | ||
26 | v-model="ruleForm.zjzl" | ||
27 | class="width100" | ||
28 | placeholder="请选择"> | ||
29 | <el-option | ||
30 | v-for="item in zjzlList" | ||
31 | :key="item.dcode" | ||
32 | :label="item.dname" | ||
33 | :value="item.dcode"> | ||
34 | </el-option> | ||
35 | </el-select> | ||
25 | </el-form-item> | 36 | </el-form-item> |
26 | </el-col> | 37 | </el-col> |
27 | <el-col :span="12"> | 38 | <el-col :span="12"> |
... | @@ -81,6 +92,7 @@ | ... | @@ -81,6 +92,7 @@ |
81 | }, | 92 | }, |
82 | data () { | 93 | data () { |
83 | return { | 94 | return { |
95 | zjzlList: store.getters.dictData['A30'], | ||
84 | activeName: "1", | 96 | activeName: "1", |
85 | DJJGLIST: store.getters.dictData['ywly'], | 97 | DJJGLIST: store.getters.dictData['ywly'], |
86 | readOnly: false, | 98 | readOnly: false, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-07 16:54:37 | 4 | * @LastEditTime: 2023-09-07 17:23:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="rlPopup"> | 7 | <div class="rlPopup"> |
... | @@ -268,7 +268,7 @@ | ... | @@ -268,7 +268,7 @@ |
268 | this.key++ | 268 | this.key++ |
269 | return; | 269 | return; |
270 | } | 270 | } |
271 | formData.append("bsmMaterial ", this.previewImg.bsmMaterial); | 271 | formData.append("bsmMaterial", this.previewImg.bsmMaterial); |
272 | uploadBatch(formData).then((res) => { | 272 | uploadBatch(formData).then((res) => { |
273 | if (res.code == 200) { | 273 | if (res.code == 200) { |
274 | this.$emit('updateList', res.result) | 274 | this.$emit('updateList', res.result) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-07 14:56:54 | 4 | * @LastEditTime: 2023-09-08 09:30:08 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
42 | import { mapGetters } from 'vuex' | 42 | import { mapGetters } from 'vuex' |
43 | import table from "@/utils/mixin/table" | 43 | import table from "@/utils/mixin/table" |
44 | import { datas, sendThis } from "./data" | 44 | import { datas, sendThis } from "./data" |
45 | import { queryQyByPage, addQy } from "@/api/xxba.js"; | 45 | import { queryQyByPage, addQy, remove } from "@/api/xxba.js"; |
46 | export default { | 46 | export default { |
47 | name: "cwrz", | 47 | name: "cwrz", |
48 | components: {}, | 48 | components: {}, |
... | @@ -112,16 +112,26 @@ | ... | @@ -112,16 +112,26 @@ |
112 | * @description: handleDelete | 112 | * @description: handleDelete |
113 | * @author: renchao | 113 | * @author: renchao |
114 | */ | 114 | */ |
115 | handleDelete () { | 115 | handleDelete (row) { |
116 | let _this = this | ||
116 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | 117 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { |
117 | confirmButtonText: '确定', | 118 | confirmButtonText: '确定', |
118 | cancelButtonText: '取消', | 119 | cancelButtonText: '取消', |
119 | type: 'warning' | 120 | type: 'warning' |
120 | }).then(() => { | 121 | }).then(() => { |
121 | this.$message({ | 122 | remove(row.bsmCompany).then(res => { |
123 | if (res.code == 200) { | ||
124 | _this.$message({ | ||
122 | type: 'success', | 125 | type: 'success', |
123 | message: '删除成功!' | 126 | message: '删除成功!' |
124 | }); | 127 | }); |
128 | } | ||
129 | const totalPage = Math.ceil((_this.tableData.total - 1) / _this.pageData.pageSize) // 总页数 | ||
130 | _this.pageData.currentPage = _this.pageData.currentPage > totalPage ? totalPage : _this.pageData.currentPage | ||
131 | _this.pageData.currentPage = _this.pageData.currentPage < 1 ? 1 : _this.pageData.currentPage | ||
132 | |||
133 | _this.queryClick(_this.pageData.currentPage);//重新渲染数 | ||
134 | }) | ||
125 | }).catch(() => { | 135 | }).catch(() => { |
126 | this.$message({ | 136 | this.$message({ |
127 | type: 'info', | 137 | type: 'info', | ... | ... |
... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
42 | import { mapGetters } from 'vuex' | 42 | import { mapGetters } from 'vuex' |
43 | import table from "@/utils/mixin/table" | 43 | import table from "@/utils/mixin/table" |
44 | import { datas, sendThis } from "./data" | 44 | import { datas, sendThis } from "./data" |
45 | import { queryYhByPage, addYh } from "@/api/xxba.js"; | 45 | import { queryYhByPage, addYh, remove } from "@/api/xxba.js"; |
46 | export default { | 46 | export default { |
47 | name: "cwrz", | 47 | name: "cwrz", |
48 | components: {}, | 48 | components: {}, |
... | @@ -112,22 +112,32 @@ | ... | @@ -112,22 +112,32 @@ |
112 | * @description: handleDelete | 112 | * @description: handleDelete |
113 | * @author: renchao | 113 | * @author: renchao |
114 | */ | 114 | */ |
115 | handleDelete () { | 115 | handleDelete (row) { |
116 | let _this = this | ||
116 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | 117 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { |
117 | confirmButtonText: '确定', | 118 | confirmButtonText: '确定', |
118 | cancelButtonText: '取消', | 119 | cancelButtonText: '取消', |
119 | type: 'warning' | 120 | type: 'warning' |
120 | }).then(() => { | 121 | }).then(() => { |
121 | this.$message({ | 122 | remove(row.bsmCompany).then(res => { |
123 | if (res.code == 200) { | ||
124 | _this.$message({ | ||
122 | type: 'success', | 125 | type: 'success', |
123 | message: '删除成功!' | 126 | message: '删除成功!' |
124 | }); | 127 | }); |
128 | } | ||
129 | const totalPage = Math.ceil((_this.tableData.total - 1) / _this.pageData.pageSize) // 总页数 | ||
130 | _this.pageData.currentPage = _this.pageData.currentPage > totalPage ? totalPage : _this.pageData.currentPage | ||
131 | _this.pageData.currentPage = _this.pageData.currentPage < 1 ? 1 : _this.pageData.currentPage | ||
132 | |||
133 | _this.queryClick(_this.pageData.currentPage);//重新渲染数 | ||
134 | }) | ||
125 | }).catch(() => { | 135 | }).catch(() => { |
126 | this.$message({ | 136 | this.$message({ |
127 | type: 'info', | 137 | type: 'info', |
128 | message: '已取消删除' | 138 | message: '已取消删除' |
129 | }); | 139 | }) |
130 | }); | 140 | }) |
131 | } | 141 | } |
132 | } | 142 | } |
133 | } | 143 | } | ... | ... |
-
Please register or sign in to post a comment