diff --git a/src/api/ea/electronicConsultation/electronicConsultation.js b/src/api/ea/electronicConsultation/electronicConsultation.js
new file mode 100644
index 00000000..ff97aabc
--- /dev/null
+++ b/src/api/ea/electronicConsultation/electronicConsultation.js
@@ -0,0 +1,54 @@
+import request from '@/utils/request'
+
+// 创建咨询档案
+export function createElectronicConsultation(data) {
+ return request({
+ url: '/ea/electronic-consultation/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新咨询档案
+export function updateElectronicConsultation(data) {
+ return request({
+ url: '/ea/electronic-consultation/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除咨询档案
+export function deleteElectronicConsultation(id) {
+ return request({
+ url: '/ea/electronic-consultation/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得咨询档案
+export function getElectronicConsultation(id) {
+ return request({
+ url: '/ea/electronic-consultation/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得咨询档案分页
+export function getElectronicConsultationPage(query) {
+ return request({
+ url: '/ea/electronic-consultation/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出咨询档案 Excel
+export function exportElectronicConsultationExcel(query) {
+ return request({
+ url: '/ea/electronic-consultation/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/api/ea/electronicCustomerComplaint/electronicCustomerComplaint.js b/src/api/ea/electronicCustomerComplaint/electronicCustomerComplaint.js
new file mode 100644
index 00000000..63cac16f
--- /dev/null
+++ b/src/api/ea/electronicCustomerComplaint/electronicCustomerComplaint.js
@@ -0,0 +1,54 @@
+import request from '@/utils/request'
+
+// 创建客诉档案
+export function createElectronicCustomerComplaint(data) {
+ return request({
+ url: '/ea/electronic-customer-complaint/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新客诉档案
+export function updateElectronicCustomerComplaint(data) {
+ return request({
+ url: '/ea/electronic-customer-complaint/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除客诉档案
+export function deleteElectronicCustomerComplaint(id) {
+ return request({
+ url: '/ea/electronic-customer-complaint/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得客诉档案
+export function getElectronicCustomerComplaint(id) {
+ return request({
+ url: '/ea/electronic-customer-complaint/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得客诉档案分页
+export function getElectronicCustomerComplaintPage(query) {
+ return request({
+ url: '/ea/electronic-customer-complaint/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出客诉档案 Excel
+export function exportElectronicCustomerComplaintExcel(query) {
+ return request({
+ url: '/ea/electronic-customer-complaint/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/api/ea/electronicOther/electronicOther.js b/src/api/ea/electronicOther/electronicOther.js
new file mode 100644
index 00000000..91457033
--- /dev/null
+++ b/src/api/ea/electronicOther/electronicOther.js
@@ -0,0 +1,54 @@
+import request from '@/utils/request'
+
+// 创建其他档案
+export function createElectronicOther(data) {
+ return request({
+ url: '/ea/electronic-other/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新其他档案
+export function updateElectronicOther(data) {
+ return request({
+ url: '/ea/electronic-other/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除其他档案
+export function deleteElectronicOther(id) {
+ return request({
+ url: '/ea/electronic-other/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得其他档案
+export function getElectronicOther(id) {
+ return request({
+ url: '/ea/electronic-other/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得其他档案分页
+export function getElectronicOtherPage(query) {
+ return request({
+ url: '/ea/electronic-other/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出其他档案 Excel
+export function exportElectronicOtherExcel(query) {
+ return request({
+ url: '/ea/electronic-other/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/views/accounting/attachment/index.vue b/src/views/accounting/attachment/index.vue
index 7500fd81..8acf8d42 100644
--- a/src/views/accounting/attachment/index.vue
+++ b/src/views/accounting/attachment/index.vue
@@ -7,7 +7,7 @@
size="small"
:inline="true"
v-show="showSearch"
- label-width="98px"
+ label-width="148px"
>
-
-
-
-
-
-
搜索 -->
-
+
@@ -99,9 +83,9 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ 将文件拖到此处,或点击上传
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
+ this.kjpzOptions = res.data.list || [];
+ });
+ },
/**
* 文件预览
* @param fileUrl
@@ -318,6 +354,7 @@ export default {
/** 新增按钮操作 */
handleAdd() {
this.reset();
+ this.fileList = [];
this.open = true;
this.title = "添加会计附件";
},
@@ -331,6 +368,18 @@ export default {
this.title = "修改会计附件";
});
},
+ // 上传成功的函数
+ handleSuccess(res) {
+ console.log(res);
+ this.form.fileUrl = res.data.url;
+ this.form.fileName = res.data.name;
+ this.form.fileSize = res.data.size;
+ },
+ //凭证选择
+ handleSelectVoucher(val) {
+ this.form.voucherId = val.id;
+ this.form.voucherNum = val.voucherNum;
+ },
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate((valid) => {
diff --git a/src/views/accounting/flow/index.vue b/src/views/accounting/flow/index.vue
index 60372c58..6148c18f 100644
--- a/src/views/accounting/flow/index.vue
+++ b/src/views/accounting/flow/index.vue
@@ -77,7 +77,6 @@
-
@@ -180,8 +179,22 @@
-
-
+
+
+
+
+
@@ -205,11 +218,6 @@
-
@@ -270,6 +278,7 @@ import {
downloadXml,
} from "@/api/accounting/flow";
import { getAccessToken, getTenantId } from "@/utils/auth";
+import { getVoucherPage } from "@/api/accounting/voucher";
export default {
name: "Flow",
@@ -323,15 +332,17 @@ export default {
rules: {},
fileList: [], // 文件列表
uploadUrl:
- process.env.VUE_APP_BASE_API + "/admin-api//archives/flow/upload", // 上传地址地址
+ process.env.VUE_APP_BASE_API + "/admin-api/archives/flow/upload", // 上传地址地址
headers: {
Authorization: "Bearer " + getAccessToken(),
"tenant-id": getTenantId(),
}, // 设置上传的请求头
+ kjpzOptions: [], //会计凭证
};
},
created() {
this.getList();
+ this.getKJPZ();
},
methods: {
/** 查询列表 */
@@ -344,6 +355,12 @@ export default {
this.loading = false;
});
},
+ //获取会计凭证
+ getKJPZ() {
+ getVoucherPage().then((res) => {
+ this.kjpzOptions = res.data.list || [];
+ });
+ },
openLink(fileUrl) {
window.open(fileUrl);
},
@@ -352,7 +369,6 @@ export default {
this.open = false;
this.reset();
},
-
/** 取消按钮 */
cancel1() {
this.open1 = false;
@@ -408,6 +424,11 @@ export default {
this.title = "修改审批流程";
});
},
+ //凭证选择
+ handleSelectVoucher(val) {
+ this.form.voucherId = val.id;
+ this.form.voucherNum = val.voucherNum;
+ },
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate((valid) => {
diff --git a/src/views/accounting/voucher/index.vue b/src/views/accounting/voucher/index.vue
index d609004a..7b4bc287 100644
--- a/src/views/accounting/voucher/index.vue
+++ b/src/views/accounting/voucher/index.vue
@@ -149,7 +149,7 @@
@@ -288,81 +288,51 @@
@tab-click="handleClick"
>
-
空
-
-
-
-
-
+
+ >
+
-
空
+
+
+
+
-
空
-