diff --git a/src/api/deliveryRecord/deliveryRecord.js b/src/api/deliveryRecord/deliveryRecord.js
new file mode 100644
index 0000000..8c9a19e
--- /dev/null
+++ b/src/api/deliveryRecord/deliveryRecord.js
@@ -0,0 +1,20 @@
+import request from '@/utils/request'
+
+// 查询邮件列表
+export function emailList(data) {
+ return request({
+ url: '/sendMailRecord/list',
+ method: 'get',
+ params: data
+ })
+}
+
+// 查询短信列表
+export function smsList(data,params) {
+ return request({
+ url: '/caseApplication/smsRecord',
+ method: 'post',
+ data: data,
+ params:params
+ })
+}
\ No newline at end of file
diff --git a/src/api/login.js b/src/api/login.js
index 649f59c..f810acb 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -56,4 +56,23 @@ export function getCodeImg() {
method: 'get',
timeout: 20000
})
+}
+// 获取手机验证码
+export function sendCode(data) {
+ return request({
+ url: '/weChatUser/sendCode',
+ method: 'get',
+ params:data
+ })
+}
+// 注册方法
+export function wxregister(data) {
+ return request({
+ url: '/weChatUser/registerUser',
+ headers: {
+ isToken: false
+ },
+ method: 'post',
+ data: data
+ })
}
\ No newline at end of file
diff --git a/src/views/caseManagement/components/addCase.vue b/src/views/caseManagement/components/addCase.vue
index 2192949..f512b83 100644
--- a/src/views/caseManagement/components/addCase.vue
+++ b/src/views/caseManagement/components/addCase.vue
@@ -490,13 +490,15 @@ export default {
applicantEvidence: [], //申请人证据
respondentEvidence: [], //被申请人证据
buttonFlag: true,
- getUserInfoList: {}
+ getUserInfoList: {},
+ applicationFlag: null
};
},
watch: {
addModifyData(val) {
if (val == 1) {
this.title = "新增案件";
+ this.getUserInfoFn();
this.modelFlag = false;
this.buttonFlag = true;
this.formData = {
@@ -524,48 +526,12 @@ export default {
if (this.addModifyData != 1) {
this.caseApplicationSelectByIdFn(this.caseData.id);
}
- if (this.formData.affiliate.organizeFlag == 0) {
- this.formData.affiliate.applicationName = this.getUserInfoList.nickName;
- this.formData.affiliate.code = this.getUserInfoList.idCard;
- this.formData.affiliate.applicationEmail = this.getUserInfoList.email;
- this.formData.affiliate.applicationPhone = this.getUserInfoList.phonenumber;
- } else if (this.formData.affiliate.organizeFlag == 1) {
- this.formData.affiliate.nameAgent = this.getUserInfoList.nickName;
- this.formData.affiliate.agentEmail = this.getUserInfoList.email;
- this.formData.affiliate.contactTelphoneAgent = this.getUserInfoList.phonenumber;
- }
}
},
- formData: {
- handler(newVal) {
- if (newVal) {
- console.log('newVal========newVal==========newVal', newVal);
- if (newVal.affiliate.organizeFlag == 0) {
- this.formData.affiliate.applicationName = this.getUserInfoList.nickName;
- this.formData.affiliate.code = this.getUserInfoList.idCard;
- this.formData.affiliate.applicationEmail = this.getUserInfoList.email;
- this.formData.affiliate.applicationPhone = this.getUserInfoList.phonenumber;
- // this.formData.affiliate.nameAgent = '';
- // this.formData.affiliate.agentEmail = '';
- // this.formData.affiliate.contactTelphoneAgent = '';
- } else if (newVal.affiliate.organizeFlag == 1) {
- // this.formData.affiliate.applicationName = "";
- // this.formData.affiliate.code = "";
- // this.formData.affiliate.applicationEmail = "";
- // this.formData.affiliate.applicationPhone = "";
- this.formData.affiliate.nameAgent = this.getUserInfoList.nickName;
- this.formData.affiliate.agentEmail = this.getUserInfoList.email;
- this.formData.affiliate.contactTelphoneAgent = this.getUserInfoList.phonenumber;
- }
- }
- },
- deep: true, // 深度监听
- immediate: true, // 初始化监听
- }
},
created() {
console.log(this.formData, "000000000000000000")
- this.getUserInfoFn();
+ // this.getUserInfoFn();
},
methods: {
/** 切换申请类型 */
@@ -576,8 +542,11 @@ export default {
/**获取申请人信息 */
getUserInfoFn() {
getUserInfo().then(res => {
- console.log(res, "信息信息信息信息信息信息信息信息信息信息信息信息信息信息");
this.getUserInfoList = res.data;
+ this.$set(this.formData.affiliate, "applicationName", this.getUserInfoList.nickName);
+ this.$set(this.formData.affiliate, "code", this.getUserInfoList.idCard);
+ this.$set(this.formData.affiliate, "applicationEmail", this.getUserInfoList.email);
+ this.$set(this.formData.affiliate, "applicationPhone", this.getUserInfoList.phonenumber);
})
},
/** 根据案件id获取对应信息 */
@@ -671,6 +640,23 @@ export default {
});
},
clearValidate(val) {
+ if (val == 0) {
+ this.$set(this.formData.affiliate, "applicationName", this.getUserInfoList.nickName);
+ this.$set(this.formData.affiliate, "code", this.getUserInfoList.idCard);
+ this.$set(this.formData.affiliate, "applicationEmail", this.getUserInfoList.email);
+ this.$set(this.formData.affiliate, "applicationPhone", this.getUserInfoList.phonenumber);
+ this.formData.affiliate.nameAgent = null;
+ this.formData.affiliate.agentEmail = null;
+ this.formData.affiliate.contactTelphoneAgent = null;
+ } else if (val == 1) {
+ this.$set(this.formData.affiliate, "nameAgent", this.getUserInfoList.nickName);
+ this.$set(this.formData.affiliate, "agentEmail", this.getUserInfoList.email);
+ this.$set(this.formData.affiliate, "contactTelphoneAgent", this.getUserInfoList.phonenumber);
+ this.formData.affiliate.applicationName = null;
+ this.formData.affiliate.code = null;
+ this.formData.affiliate.applicationEmail = null;
+ this.formData.affiliate.applicationPhone = null;
+ }
this.$refs["ruleForm"].clearValidate()
},
cancel() {
diff --git a/src/views/caseManagement/components/payDialog.vue b/src/views/caseManagement/components/payDialog.vue
index c127571..52c6be4 100644
--- a/src/views/caseManagement/components/payDialog.vue
+++ b/src/views/caseManagement/components/payDialog.vue
@@ -12,7 +12,7 @@
{{
formPayDetail.caseSubjectAmount
}}
- {{
+ {{
formPayDetail.feePayable
}}
{{
diff --git a/src/views/caseManagement/components/paymentdetailsDialog.vue b/src/views/caseManagement/components/paymentdetailsDialog.vue
index a9d6cdb..2dac014 100644
--- a/src/views/caseManagement/components/paymentdetailsDialog.vue
+++ b/src/views/caseManagement/components/paymentdetailsDialog.vue
@@ -1,17 +1,20 @@
-
+
-
+
-
+
+
+
+
diff --git a/src/views/caseManagement/components/respondentPay.vue b/src/views/caseManagement/components/respondentPay.vue
index d5a83da..b9a51f8 100644
--- a/src/views/caseManagement/components/respondentPay.vue
+++ b/src/views/caseManagement/components/respondentPay.vue
@@ -12,7 +12,7 @@
{{
formResPayDetail.caseSubjectAmount
}}
- {{
+ {{
formResPayDetail.feePayable
}}
{{
diff --git a/src/views/deliveryRecord/emailRecord.vue b/src/views/deliveryRecord/emailRecord.vue
new file mode 100644
index 0000000..90f858b
--- /dev/null
+++ b/src/views/deliveryRecord/emailRecord.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ {{
+ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/deliveryRecord/smsRecord.vue b/src/views/deliveryRecord/smsRecord.vue
new file mode 100644
index 0000000..baaa95b
--- /dev/null
+++ b/src/views/deliveryRecord/smsRecord.vue
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ {{
+ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/register.vue b/src/views/register.vue
index 396d582..5333e38 100644
--- a/src/views/register.vue
+++ b/src/views/register.vue
@@ -29,6 +29,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{codeText}}
+
+
+
+
+
+
+
@@ -164,13 +224,14 @@ export default {
border-radius: 6px;
background: #ffffff;
width: 400px;
+ height: 90%;
padding: 25px 25px 5px 25px;
- .el-input {
- height: 38px;
- input {
- height: 38px;
- }
- }
+ // .el-input {
+ // height: 38px;
+ // input {
+ // height: 38px;
+ // }
+ // }
.input-icon {
height: 39px;
width: 14px;
diff --git a/vue.config.js b/vue.config.js
index 39a6a43..2a8d471 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -14,18 +14,8 @@ const port = process.env.port || process.env.npm_config_port || 80 // 端口
// const API = 'http://121.40.189.20:9001' //生产
const API = 'http://121.40.189.20:6001' //测试
// const API = 'http://192.168.3.18:6001' //B
-<<<<<<< HEAD
-// const API = 'http://172.16.0.237:6001' //Q
-// const API = 'http://172.16.1.43:6001' //w
-=======
// const API = 'http://172.16.1.30:6001' //Q
-<<<<<<< HEAD
// const API = 'http://172.16.1.43:6001' //w
-=======
-// const API = 'http://172.16.1.17:6001' //w
->>>>>>> 14df1eebfbde9573a5c541678ad9dfbb33797007
->>>>>>> 2fbaf17b60f7f1acb11b1a884129643927270d1b
-
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
// 这里只列一部分,具体配置参考文档
@@ -68,6 +58,7 @@ module.exports = {
},
configureWebpack: {
name: name,
+ devtool: '#eval-source-map',
resolve: {
alias: {
'@': resolve('src')