diff --git a/src/views/accounting/voucher/index.vue b/src/views/accounting/voucher/index.vue
index f778a171..5e19fe6b 100644
--- a/src/views/accounting/voucher/index.vue
+++ b/src/views/accounting/voucher/index.vue
@@ -169,7 +169,7 @@
>查看
修改
-
-
-
-
-
-
-
@@ -246,17 +239,19 @@
-
-
+
+
@@ -322,16 +317,26 @@
/>
+
+
+
+ 记账凭证
+
-
-
+
+
+
+
+
+
+
@@ -347,6 +352,9 @@
+
+
+
-
-
@@ -376,7 +382,6 @@
/>
- 记账凭证
@@ -387,6 +392,9 @@
+
+
+ 凭证详情
{
- if (!valid) {
- return;
- }
- // 处理查询参数
- let params = { ...this.queryParams };
- downloadXml(params)
- .then((response) => {
- console.log(response.size);
- if (response.size == 39) {
- this.$modal.msgError("密码错误");
- return false;
- } else {
- this.$download.excel(response, "会计凭证元数据.xml");
- this.open1 = false;
- }
- })
- .catch(() => {});
- });
- },
- //下载元数据
- handleDownloadData() {
- this.open1 = true;
- this.queryParams.inputPassword = null;
- },
/** 查询列表 */
getList() {
this.loading = true;
@@ -862,12 +841,6 @@ export default {
this.resetForm("queryForm");
this.handleQuery();
},
- //获取用户
- getUserList() {
- listUser().then((response) => {
- this.userOptions = response.data.list;
- });
- },
/** 新增按钮操作 */
handleAdd() {
this.reset();
@@ -963,6 +936,32 @@ export default {
})
.catch(() => {});
},
+ //下载元数据
+ handleDownloadData() {
+ this.open1 = true;
+ this.queryParams.inputPassword = null;
+ },
+ submitForm1() {
+ this.$refs["queryForm"].validate((valid) => {
+ if (!valid) {
+ return;
+ }
+ // 处理查询参数
+ let params = { ...this.queryParams };
+ downloadXml(params)
+ .then((response) => {
+ console.log(response.size);
+ if (response.size == 39) {
+ this.$modal.msgError("密码错误");
+ return false;
+ } else {
+ this.$download.excel(response, "会计凭证元数据.xml");
+ this.open1 = false;
+ }
+ })
+ .catch(() => {});
+ });
+ },
// 人员选择弹窗
handleSelectUser1() {
this.$refs.UserSelect1.showFlag = true;
@@ -975,7 +974,6 @@ export default {
},
// 审核人选择
onUserSelected1(obj) {
- console.log(obj);
if (obj != undefined && obj != null) {
this.form.audit = obj.username;
}
diff --git a/src/views/archives/prefile/index.vue b/src/views/archives/prefile/index.vue
index b1e09d9a..88d481d9 100644
--- a/src/views/archives/prefile/index.vue
+++ b/src/views/archives/prefile/index.vue
@@ -275,7 +275,7 @@
@@ -413,7 +413,7 @@
@@ -617,7 +617,7 @@
@@ -742,7 +742,7 @@
diff --git a/src/views/ea/electronicAssets/index.vue b/src/views/ea/electronicAssets/index.vue
index 6b65212a..a66d0fa5 100644
--- a/src/views/ea/electronicAssets/index.vue
+++ b/src/views/ea/electronicAssets/index.vue
@@ -1,35 +1,81 @@
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
- 搜索
+ 搜索
重置
@@ -37,8 +83,15 @@
- 新增
+ 新增
- 导出
+ 导出
-
+
@@ -79,19 +143,32 @@
-
+
{{ parseTime(scope.row.purchaseDate) }}
-
+
{{ parseTime(scope.row.disposalDate) }}
-
+
@@ -102,27 +179,47 @@
-
+
-
+
-
+
-
+
{{ parseTime(scope.row.createTime) }}
-
+
查看附件
- 查看
+ 查看
- 修改
- 删除
+ 修改
+ 删除
-
+
-
-
-
- 将文件拖到此处,或点击上传
-
+
+
+
+ 将文件拖到此处,或点击上传
+
-
+
-
-
-
+
+
+
-
+
@@ -179,54 +337,83 @@
-
-
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
@@ -236,7 +423,13 @@
-
+
@@ -244,15 +437,27 @@
-
+
-
+
@@ -268,7 +473,9 @@
@@ -343,7 +550,7 @@ export default {
queryParams: {
pageNo: 1,
pageSize: 10,
- contractAttachment:null,
+ contractAttachment: null,
companyId: null,
company: null,
deptId: null,
@@ -372,7 +579,14 @@ export default {
// 表单参数
form: {},
// 表单校验
- rules: {},
+ rules: {
+ company: [
+ { required: true, message: "业务实体不能为空", trigger: "change" },
+ ],
+ assetCode: [
+ { required: true, message: "资产编号不能为空", trigger: "change" },
+ ],
+ },
organizationList: [],
siteOptions: [], //归档位置数据
siteArray: [], //归档位置选中值
@@ -403,9 +617,9 @@ export default {
this.form.contractAttachment = res.data.url;
},
/**
- * 文件预览
- * @param fileUrl
- */
+ * 文件预览
+ * @param fileUrl
+ */
openLink(fileUrl) {
const url =
process.env.VUE_APP_ONLINE_API +
@@ -497,7 +711,7 @@ export default {
deptName: undefined,
assetCode: undefined,
assetName: undefined,
- contractAttachment:undefined,
+ contractAttachment: undefined,
assetDescription: undefined,
assetType: undefined,
purchaseDate: undefined,
@@ -597,6 +811,7 @@ export default {
return;
}
// 添加的提交
+ this.form.cherks = 0;
createElectronicAssets(this.form).then((response) => {
this.$modal.msgSuccess("新增成功");
this.open = false;
@@ -616,7 +831,7 @@ export default {
this.getList();
this.$modal.msgSuccess("删除成功");
})
- .catch(() => { });
+ .catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@@ -634,7 +849,7 @@ export default {
this.$download.excel(response, "资产档案.xls");
this.exportLoading = false;
})
- .catch(() => { });
+ .catch(() => {});
},
},
};
diff --git a/src/views/ea/electronicAttachment/index.vue b/src/views/ea/electronicAttachment/index.vue
index 0a02cad9..0dea0b68 100644
--- a/src/views/ea/electronicAttachment/index.vue
+++ b/src/views/ea/electronicAttachment/index.vue
@@ -165,7 +165,7 @@
>
修改
-
+
@@ -286,7 +289,7 @@
>查看
修改
-
+
+
+
+
@@ -518,18 +532,6 @@
-
-
-
-
-
@@ -641,7 +643,19 @@ export default {
// 表单参数
form: {},
// 表单校验
- rules: {},
+ rules: {
+ consultationId: [
+ { required: true, message: "咨询编号不能为空", trigger: "change" },
+ {
+ required: true,
+ pattern: /^[_a-zA-Z0-9]+$/,
+ message: "请输入正确咨询编号",
+ },
+ ],
+ company: [
+ { required: true, message: "业务实体不能为空", trigger: "change" },
+ ],
+ },
siteOptions: [], //归档位置数据
siteArray: [], //归档位置选中值
organizationList: [],
@@ -843,6 +857,7 @@ export default {
return;
}
// 添加的提交
+ this.form.cherks = 0;
createElectronicConsultation(this.form).then((response) => {
this.$modal.msgSuccess("新增成功");
this.open = false;
diff --git a/src/views/ea/electronicContracts/index.vue b/src/views/ea/electronicContracts/index.vue
index 75d0ead5..1f3d246b 100644
--- a/src/views/ea/electronicContracts/index.vue
+++ b/src/views/ea/electronicContracts/index.vue
@@ -264,7 +264,10 @@
-
+
@@ -311,7 +314,7 @@
>查看
修改
-
-
- 将文件拖到此处,或点击上传
-
-
+
+
+ 将文件拖到此处,或点击上传
+
+
@@ -385,7 +404,17 @@
-
+
+
+
+
@@ -537,7 +566,7 @@
-
+
-
@@ -671,7 +699,19 @@ export default {
// 表单参数
form: {},
// 表单校验
- rules: {},
+ rules: {
+ company: [
+ { required: true, message: "业务实体不能为空", trigger: "change" },
+ ],
+ contractCode: [
+ { required: true, message: "合同编号不能为空", trigger: "change" },
+ {
+ required: true,
+ pattern: /^[_a-zA-Z0-9]+$/,
+ message: "请输入正确合同编号",
+ },
+ ],
+ },
siteOptions: [], //归档位置数据
siteArray: [], //归档位置选中值
organizationList: [],
@@ -761,8 +801,8 @@ export default {
this.form.companyId = val.id;
this.form.company = val.organizationName;
},
- // 上传成功的函数
- handleSuccess(res) {
+ // 上传成功的函数
+ handleSuccess(res) {
console.log(res);
this.form.contractAttachment = res.data.url;
},
@@ -915,6 +955,7 @@ export default {
return;
}
// 添加的提交
+ this.form.cherks = 0;
createElectronicContracts(this.form).then((response) => {
this.$modal.msgSuccess("新增成功");
this.open = false;
diff --git a/src/views/ea/electronicCustomerComplaint/index.vue b/src/views/ea/electronicCustomerComplaint/index.vue
index edfd276d..16e9371c 100644
--- a/src/views/ea/electronicCustomerComplaint/index.vue
+++ b/src/views/ea/electronicCustomerComplaint/index.vue
@@ -244,7 +244,10 @@
-
+
@@ -290,7 +293,7 @@
>查看
修改
-
+
+
+
+
@@ -527,7 +540,7 @@
-
+
@@ -648,7 +661,19 @@ export default {
// 表单参数
form: {},
// 表单校验
- rules: {},
+ rules: {
+ company: [
+ { required: true, message: "业务实体不能为空", trigger: "change" },
+ ],
+ complaintCode: [
+ { required: true, message: "客诉编号不能为空", trigger: "change" },
+ {
+ required: true,
+ pattern: /^[_a-zA-Z0-9]+$/,
+ message: "请输入正确客诉编号",
+ },
+ ],
+ },
siteOptions: [], //归档位置数据
siteArray: [], //归档位置选中值
organizationList: [],
@@ -857,7 +882,8 @@ export default {
});
return;
}
- // 添加的提交
+ //
+ this.form.cherks = 0;
createElectronicCustomerComplaint(this.form).then((response) => {
this.$modal.msgSuccess("新增成功");
this.open = false;
diff --git a/src/views/ea/electronicEmployee/index.vue b/src/views/ea/electronicEmployee/index.vue
index 1a43ce85..331403dd 100644
--- a/src/views/ea/electronicEmployee/index.vue
+++ b/src/views/ea/electronicEmployee/index.vue
@@ -1,37 +1,90 @@
-
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
- 搜索
+ 搜索
重置
@@ -39,31 +92,61 @@
- 新增
+ 新增
- 删除
+ 删除
- 导出
+ 导出
-
+
-
+
-
+
@@ -73,77 +156,180 @@
-
+
-
+
-
+
-
+
-
+
{{ parseTime(scope.row.createTime) }}
-
+
- 查看附件
+ 查看附件
- 查看
+ 查看
- 修改
+ 修改
- 删除
+ 删除
-
+
-
-
+
+
将文件拖到此处,或点击上传
-
+
-
-
+
+
-
+
-
+
+
+
+
@@ -155,15 +341,24 @@
-
+
-
+
@@ -180,24 +375,36 @@
-
+
-
+
-
+
-
+
@@ -216,25 +423,33 @@
-
+
-
+
-
-
-
-
-
+
+
+
+
+
@@ -249,99 +464,171 @@
-
+
- {{ dict.label }}
+ {{ dict.label }}
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -351,7 +638,9 @@
@@ -452,53 +741,73 @@ export default {
form: {},
// 表单校验
rules: {
+ company: [
+ { required: true, message: "业务实体不能为空", trigger: "change" },
+ ],
idCardNumber: [
{ required: true, trigger: "change", message: "身份证号不能为空" },
- { required: true, pattern: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/, message: "请输入正确身份证号" },
+ {
+ required: true,
+ pattern: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,
+ message: "请输入正确身份证号",
+ },
],
socialInsurance: [
{ required: true, trigger: "change", message: "金额不能为空" },
{
- required: true, pattern: /^\d+$|^\d+[.]?\d+$/
- , message: "请输入正确的金额"
+ required: true,
+ pattern: /^\d+$|^\d+[.]?\d+$/,
+ message: "请输入正确的金额",
},
],
pensionInsurance: [
{ required: true, trigger: "change", message: "金额不能为空" },
{
- required: true, pattern: /^\d+$|^\d+[.]?\d+$/
- , message: "请输入正确的金额"
+ required: true,
+ pattern: /^\d+$|^\d+[.]?\d+$/,
+ message: "请输入正确的金额",
},
],
workInjuryInsurance: [
{ required: true, trigger: "change", message: "金额不能为空" },
{
- required: true, pattern: /^\d+$|^\d+[.]?\d+$/
- , message: "请输入正确的金额"
+ required: true,
+ pattern: /^\d+$|^\d+[.]?\d+$/,
+ message: "请输入正确的金额",
},
],
medicalInsurance: [
{ required: true, trigger: "change", message: "金额不能为空" },
{
- required: true, pattern: /^\d+$|^\d+[.]?\d+$/
- , message: "请输入正确的金额"
+ required: true,
+ pattern: /^\d+$|^\d+[.]?\d+$/,
+ message: "请输入正确的金额",
},
],
unemploymentInsurance: [
{ required: true, trigger: "change", message: "金额不能为空" },
{
- required: true, pattern: /^\d+$|^\d+[.]?\d+$/
- , message: "请输入正确的金额"
+ required: true,
+ pattern: /^\d+$|^\d+[.]?\d+$/,
+ message: "请输入正确的金额",
},
],
- name: [{ required: true, message: '请输入名称', trigger: 'blur' }],
- contactNumber: [ // 手机号验证
- { required: true, trigger: 'change', message: '手机号不能为空' },
- { min: 11, max: 11, trigger: 'change', message: '请输入11位手机号码' },
- { required: true, pattern: /^1[3456789]\d{9}$/, message: "请输入正确手机号" },
+ name: [{ required: true, message: "请输入名称", trigger: "blur" }],
+ contactNumber: [
+ // 手机号验证
+ { required: true, trigger: "change", message: "手机号不能为空" },
+ {
+ min: 11,
+ max: 11,
+ trigger: "change",
+ message: "请输入11位手机号码",
+ },
+ {
+ required: true,
+ pattern: /^1[3456789]\d{9}$/,
+ message: "请输入正确手机号",
+ },
],
-
-
},
organizationList: [],
siteOptions: [], //归档位置数据
@@ -725,6 +1034,7 @@ export default {
return;
}
// 添加的提交
+ this.form.cherks = 0;
createElectronicEmployee(this.form).then((response) => {
this.$modal.msgSuccess("新增成功");
this.open = false;
@@ -744,7 +1054,7 @@ export default {
this.getList();
this.$modal.msgSuccess("删除成功");
})
- .catch(() => { });
+ .catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@@ -762,7 +1072,7 @@ export default {
this.$download.excel(response, "员工档案.xls");
this.exportLoading = false;
})
- .catch(() => { });
+ .catch(() => {});
},
dateArray(list) {
if (list == null) {
diff --git a/src/views/ea/electronicOther/index.vue b/src/views/ea/electronicOther/index.vue
index 5fa166ef..5f939011 100644
--- a/src/views/ea/electronicOther/index.vue
+++ b/src/views/ea/electronicOther/index.vue
@@ -9,15 +9,6 @@
v-show="showSearch"
label-width="88px"
>
-
-
-
-
-
@@ -145,7 +135,7 @@
>查看
修改
+
-
-
-
-
-
-
+
+
+
+
+
+
@@ -296,7 +294,7 @@
-
+
-
-
-
-
-
-
-
+
+
+