Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6a33c607d | ||
|
|
6673422051 | ||
|
|
e4d7498ec7 | ||
|
|
e3176967fa | ||
|
|
cec5f1982c | ||
|
|
7709a5fb88 | ||
|
|
b3ca534a51 | ||
|
|
8a0686ea51 | ||
|
|
8113577de5 | ||
|
|
8d0e2d4b7e | ||
|
|
48a40dcebe | ||
|
|
fa4bfe9422 | ||
|
|
87ba33ff17 | ||
|
|
bfe411a97f | ||
|
|
fefef715d5 | ||
|
|
4293721d4c | ||
|
|
b537bd958d | ||
|
|
bc4691123e | ||
|
|
3352cadcca | ||
|
|
c507f28f3f | ||
|
|
2dfd63873c | ||
|
|
c51d876a05 | ||
|
|
257de632c6 | ||
|
|
3531bc8782 | ||
|
|
09e3e5d600 | ||
|
|
af4e2d5686 | ||
|
|
454b273417 | ||
|
|
e405b3c94c | ||
|
|
9b90c332f3 | ||
|
|
463e31ab37 | ||
|
|
0e03b4060f | ||
|
|
cd97b06bd0 | ||
|
|
12ebd17ad5 | ||
|
|
1511526178 | ||
|
|
b2786582f3 | ||
|
|
5d1b9e39d8 | ||
|
|
0cf700f010 | ||
|
|
5791317552 | ||
|
|
25ca3ecf1c | ||
|
|
68d600c0e5 | ||
|
|
733b4f0b37 | ||
|
|
9bcda9e122 | ||
|
|
4cb035dcc8 | ||
|
|
f512868759 | ||
|
|
41483664d5 | ||
|
|
a936d9ab28 | ||
|
|
55db95aeeb | ||
|
|
293c5e76d0 | ||
|
|
5314c58253 | ||
|
|
8f92cf3b2a | ||
|
|
bc04975cf5 | ||
|
|
9e81ce8271 | ||
|
|
efde41565e | ||
|
|
61eec5a011 | ||
|
|
909a0f8479 | ||
|
|
b4dcc34dad | ||
|
|
466adc40af | ||
|
|
f442d41c86 | ||
|
|
81066d9013 | ||
|
|
5fb62f1709 | ||
|
|
8440ec2bf1 | ||
|
|
ddd3f2ace3 | ||
|
|
501b0846a7 | ||
|
|
05ac7b03d4 | ||
|
|
c25bfe7189 | ||
|
|
2d7b529c15 | ||
|
|
ede15a5a02 | ||
|
|
8c60b26714 | ||
|
|
7dd1ab5cd7 | ||
|
|
8fe19ec4da | ||
|
|
6b85ad7505 | ||
|
|
608adb9ec1 | ||
|
|
fbbeb76b11 | ||
|
|
b3d6ee9b94 | ||
|
|
51f4469932 | ||
|
|
e55674aad9 | ||
|
|
93d68459e0 | ||
|
|
83162a2268 | ||
|
|
9d3ac9dd73 | ||
|
|
27700e70d6 | ||
|
|
0fbc5ec440 | ||
|
|
1fbf843424 | ||
|
|
9d75fd6fcf | ||
|
|
b9911107ad | ||
|
|
434d6e186f | ||
|
|
5d98a52f26 | ||
|
|
ec2afd10a5 | ||
|
|
1e0d9f07b0 | ||
|
|
c72635f21e | ||
|
|
ecdee98008 | ||
|
|
32fd920e76 | ||
|
|
c7944211fa | ||
|
|
96da646d4d | ||
|
|
181a27e7cb | ||
|
|
b10e21505b | ||
|
|
8f41290854 | ||
|
|
bd6cf08d7a | ||
|
|
39bb0a47d9 | ||
|
|
5567fee71b | ||
|
|
035a1d6b10 | ||
|
|
08b506c6b2 | ||
|
|
b5dbff33a2 | ||
|
|
800c6f5357 | ||
|
|
4f93b986c1 | ||
|
|
3ca359a37a | ||
|
|
42cb2e9604 | ||
|
|
bcefe9969f | ||
|
|
576732ff20 | ||
|
|
3f1a362764 | ||
|
|
605f086a05 | ||
|
|
c49d10456e | ||
|
|
b0c9492ffd | ||
|
|
1674b6f149 | ||
|
|
7819bc155a | ||
|
|
0d75e82f0c | ||
|
|
41d7fbb1aa | ||
|
|
a6e26e7172 | ||
|
|
b1d0d4f599 | ||
|
|
d601d9a2fe | ||
|
|
aad3ec3000 | ||
|
|
4b09b21ad8 | ||
|
|
e509704df0 | ||
|
|
46d20c7218 | ||
|
|
48cb4e276a | ||
|
|
af4c65d156 | ||
|
|
64907dec70 | ||
|
|
03c2c202fe | ||
|
|
d263a8ce3a | ||
|
|
a332dfa891 | ||
|
|
23677e626e | ||
|
|
04cfcc334f | ||
|
|
de200aaa36 | ||
|
|
60aad615b9 | ||
|
|
1a04d916f0 | ||
|
|
db400b2d7f | ||
|
|
3a42114f3c | ||
|
|
904693df28 | ||
|
|
1db11a6efe | ||
|
|
9891cbd6e8 | ||
|
|
620f3411e7 | ||
|
|
2a4ccd9a78 | ||
|
|
d0364db56f | ||
|
|
e1b5a49d1a | ||
|
|
d6f08794a7 | ||
|
|
1d367f20a8 | ||
|
|
1076a9f2c0 | ||
|
|
446eb20a45 | ||
|
|
0a590130c7 | ||
|
|
24d064eaad | ||
|
|
2b1c4564a6 | ||
|
|
2bbfc13e47 | ||
|
|
806b74be53 | ||
|
|
ac1919633d | ||
|
|
0877df8f24 | ||
|
|
a71e242acd | ||
|
|
d93307423b | ||
|
|
5f1bdcf81b | ||
|
|
d7dd69fa78 | ||
|
|
08aef12740 |
@@ -50,4 +50,84 @@ export function adjudicationDelivery(data) {
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
}
|
||||
// 送达(不包含发送电子邮件)
|
||||
export function adjudicationService(data) {
|
||||
return request({
|
||||
url: '/adjudication/service',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 查询物流信息
|
||||
export function adjudicationLogistics(data) {
|
||||
return request({
|
||||
url: '/adjudication/logistics',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// // 签名(暂时只改案件状态)
|
||||
// export function adjudicationSignature(data) {
|
||||
// return request({
|
||||
// url: '/adjudication/signature',
|
||||
// method: 'post',
|
||||
// data: data
|
||||
// })
|
||||
// }
|
||||
export function selectSignUrl(data) {
|
||||
return request({
|
||||
url: '/caseApplication/selectSignUrl',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 归档(暂时只改案件状态)
|
||||
export function adjudicationCaseFile(data) {
|
||||
return request({
|
||||
url: '/adjudication/caseFile',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 用印(暂时只改案件状态)
|
||||
// export function adjudicationStamp(data) {
|
||||
// return request({
|
||||
// url: '/adjudication/stamp',
|
||||
// method: 'post',
|
||||
// data: data
|
||||
// })
|
||||
// }
|
||||
|
||||
export function selectSealUrl(data) {
|
||||
return request({
|
||||
url: '/caseApplication/selectSealUrl',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 裁决书列表查询裁决书
|
||||
export function selectSignSealUrl(data) {
|
||||
return request({
|
||||
url: '/caseApplication/selectSignSealUrl',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 重新生成裁决书
|
||||
export function regenerationDocument(data) {
|
||||
return request({
|
||||
url: '/adjudication/regenerationDocument',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 根据案件id
|
||||
export function emailByCaseId(data) {
|
||||
return request({
|
||||
url: '/adjudication/emailByCaseId',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -49,7 +49,14 @@ export function submitCaseApply(data) {
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 立案审查
|
||||
export function submitCaseApplicationCheck(data) {
|
||||
return request({
|
||||
url: "/caseApplication/submitCaseApplicationCheck",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 下载模板
|
||||
export function importTemplate(data) {
|
||||
return request({
|
||||
@@ -58,3 +65,19 @@ export function importTemplate(data) {
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 更新案件锁定状态
|
||||
export function updateCaseLockStatus(data) {
|
||||
return request({
|
||||
url: "/caseApplication/updateCaseLockStatus",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 获取证据目录
|
||||
export function evidenceTree(data) {
|
||||
return request({
|
||||
url: "/evidence/evidenceTree",
|
||||
method: "get",
|
||||
params: data,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 档案详情查询
|
||||
export function adjudicationArchives(data) {
|
||||
return request({
|
||||
url: '/adjudication/archives',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
//根据案件id查询视频列表
|
||||
export function videoList(data) {
|
||||
return request({
|
||||
url: '/video/videoList',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 确定仲裁方式
|
||||
export function arbitrateMethod(data, id) {
|
||||
export function arbitrateMethod(data,id) {
|
||||
return request({
|
||||
url: "/arbitrate/method",
|
||||
method: "put",
|
||||
params: data,
|
||||
params:data,
|
||||
data: id,
|
||||
});
|
||||
}
|
||||
@@ -17,6 +17,14 @@ export function writtenHear(data) {
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 生成庭审笔录
|
||||
export function creatTrialRecord(data) {
|
||||
return request({
|
||||
url: "/caseApplication/creatTrialRecord",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 组庭确认
|
||||
export function pendTralSure(data) {
|
||||
return request({
|
||||
@@ -49,3 +57,84 @@ export function evidenceUpload(data) {
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 案件日志列表查询
|
||||
export function caseLogRecordList(data) {
|
||||
return request({
|
||||
url: "/caseLogRecord/list",
|
||||
method: "get",
|
||||
params: data,
|
||||
});
|
||||
}
|
||||
// 案件证据查询
|
||||
export function getFileList(data) {
|
||||
return request({
|
||||
url: "/evidence/fileList",
|
||||
method: "get",
|
||||
params: data,
|
||||
});
|
||||
}
|
||||
//案件状态进度
|
||||
export function selectCaseProgress(data) {
|
||||
return request({
|
||||
url: "/caseApplication/selectCaseProgress",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 批量上传证据
|
||||
export function batchUpload(data) {
|
||||
return request({
|
||||
url: "/evidence/batchUpload",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 修改开庭时间
|
||||
export function updateHeardate(data) {
|
||||
return request({
|
||||
url: "/caseApplication/updateHeardate",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 案件快递信息查询
|
||||
export function logistics(data) {
|
||||
return request({
|
||||
url: "/adjudication/logistics",
|
||||
method: "get",
|
||||
params: data,
|
||||
})
|
||||
}
|
||||
// 申请人撤销修改
|
||||
export function revoke(data) {
|
||||
return request({
|
||||
url: "/caseApplicationLog/revoke",
|
||||
method: "post",
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
// 秘书审核修改
|
||||
export function updateAudit(data) {
|
||||
return request({
|
||||
url: "/caseApplicationLog/updateAudit",
|
||||
method: "post",
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
// 查询案件对比信息
|
||||
export function selectCompareCase(data) {
|
||||
return request({
|
||||
url: "/caseApplicationLog/selectCompareCase",
|
||||
method: "post",
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
// 根据案件id和类型查询附件
|
||||
export function attachListByCaseId(data) {
|
||||
return request({
|
||||
url: "/video/attachListByCaseId",
|
||||
method: "get",
|
||||
params: data,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
// 待办数量查询
|
||||
export function toDoCount() {
|
||||
return request({
|
||||
url: '/caseApplication/toDoCount',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
import request from '@/utils/request'
|
||||
// 获取房间号
|
||||
export function createRoomId(data) {
|
||||
return request({
|
||||
url: '/caseApplication/createRoomId',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 预约会议
|
||||
export function reservedConference(data) {
|
||||
return request({
|
||||
url: '/caseApplication/reservedConference',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 根据案件id查询预约会议
|
||||
export function reserveConferenceList(data) {
|
||||
return request({
|
||||
url: '/caseApplication/reserveConferenceList',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 发送房间号短信
|
||||
export function sendRoomNoMessage(data) {
|
||||
return request({
|
||||
url: '/caseApplication/sendRoomNoMessage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询邮件列表
|
||||
export function deptIdentifyList(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/list',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 是否启用
|
||||
export function enableDept(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/enableDept',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 认证
|
||||
export function selectDeptIndefiUrl(data) {
|
||||
return request({
|
||||
url: 'deptIdentify/selectDeptIndefiUrl',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 新增机构
|
||||
export function insert(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/insert',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 查询公章列表
|
||||
export function sealList(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/sealList',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 启用或者禁用公章
|
||||
export function updateSealLockStatus(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/updateSealLockStatus',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 删除未认证的数据
|
||||
export function deleteSeal(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/delete',
|
||||
method: 'delete',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 修改机构信息
|
||||
export function sealUpdate(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 新增模板
|
||||
export function insertTemplate(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/insertTemplate',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 修改模板
|
||||
export function updateTemplate(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/updateTemplate',
|
||||
method: 'post',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 删除模板
|
||||
export function deleteTemplate(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/deleteTemplate',
|
||||
method: 'delete',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 根据机构id查询模板
|
||||
export function getTemplate(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/getTemplate',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 查询机构下的经办人
|
||||
export function selectPostUserByDeptId(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/selectPostUserByDeptId',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 机构绑定经办人
|
||||
export function bindHandler(data) {
|
||||
return request({
|
||||
url: '/deptIdentify/bindHandler',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
+22
-1
@@ -53,4 +53,25 @@ export function selectCaseApplicationConfirm(data) {
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// 缴费页面缴费确认
|
||||
export function confirmPayDig(data) {
|
||||
return request({
|
||||
url: '/pay/confirmPay',
|
||||
// headers: {
|
||||
// isToken: false
|
||||
// },
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 查询批量缴费信息
|
||||
// 缴费页面缴费确认
|
||||
export function getPayDetail(params) {
|
||||
return request({
|
||||
url: '/pay/list',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 355 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.5 KiB |
@@ -51,12 +51,12 @@ export default {
|
||||
// 图片数量限制
|
||||
limit: {
|
||||
type: Number,
|
||||
default: 5,
|
||||
default: 1,
|
||||
},
|
||||
// 大小限制(MB)
|
||||
fileSize: {
|
||||
type: Number,
|
||||
default: 5,
|
||||
// default: 5,
|
||||
},
|
||||
// 文件类型, 例如['png', 'jpg', 'jpeg']
|
||||
fileType: {
|
||||
|
||||
@@ -41,6 +41,8 @@ import VueMeta from 'vue-meta'
|
||||
import DictData from '@/components/DictData'
|
||||
//画布组件
|
||||
import vueEsign from 'vue-esign'
|
||||
import {checkPermi} from '@/utils/permission'
|
||||
|
||||
// 全局方法挂载
|
||||
Vue.prototype.getDicts = getDicts
|
||||
Vue.prototype.getConfigKey = getConfigKey
|
||||
@@ -51,6 +53,7 @@ Vue.prototype.selectDictLabel = selectDictLabel
|
||||
Vue.prototype.selectDictLabels = selectDictLabels
|
||||
Vue.prototype.download = download
|
||||
Vue.prototype.handleTree = handleTree
|
||||
Vue.prototype.checkPermi = checkPermi
|
||||
|
||||
// 全局组件挂载
|
||||
Vue.component('DictTag', DictTag)
|
||||
|
||||
+8
-8
@@ -65,14 +65,14 @@ export const constantRoutes = [
|
||||
path: '',
|
||||
component: Layout,
|
||||
redirect: 'index',
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/index'),
|
||||
name: 'Index',
|
||||
meta: { title: '首页', icon: 'dashboard', affix: true }
|
||||
}
|
||||
]
|
||||
// children: [
|
||||
// {
|
||||
// path: 'index',
|
||||
// component: () => import('@/views/index'),
|
||||
// name: 'Index',
|
||||
// meta: { title: '首页', icon: 'dashboard', affix: true }
|
||||
// }
|
||||
// ]
|
||||
},
|
||||
{
|
||||
path: '/user',
|
||||
|
||||
@@ -24,7 +24,6 @@ export function checkPermi(value) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 角色权限校验
|
||||
* @param {Array} value 校验值
|
||||
|
||||
@@ -17,7 +17,8 @@ const service = axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_BASE_API,
|
||||
// 超时
|
||||
timeout: 10000
|
||||
// timeout: 10000
|
||||
timeout: 15000
|
||||
})
|
||||
|
||||
// request拦截器
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<el-input
|
||||
v-model="formData.appEmail"
|
||||
placeholder="请输入电子邮件"
|
||||
disabled
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -54,20 +55,14 @@
|
||||
<el-input
|
||||
v-model="formData.resEmail"
|
||||
placeholder="请输入电子邮件"
|
||||
disabled
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<!-- <el-col :span="24">
|
||||
<el-form-item
|
||||
label="申请人快递单号:"
|
||||
prop="apptrackingNum"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '快递单号不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
v-model="formData.apptrackingNum"
|
||||
@@ -79,20 +74,13 @@
|
||||
<el-form-item
|
||||
label="被申请人快递单号:"
|
||||
prop="restrackingNum"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '快递单号不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
v-model="formData.restrackingNum"
|
||||
placeholder="请输入快递单号"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
@@ -103,19 +91,19 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { adjudicationDelivery } from "@/api/awardManagement/awardManagement";
|
||||
import { adjudicationDelivery, adjudicationService } from "@/api/awardManagement/awardManagement";
|
||||
export default {
|
||||
props: ["openMailawardDialog", "mailawardata"],
|
||||
props: ["openMailawardDialog", "mailawardata", "emailobj"],
|
||||
data() {
|
||||
return {
|
||||
formData: {},
|
||||
formData: this.emailobj,
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
openMailawardDialog: {
|
||||
emailobj: {
|
||||
handler(val) {
|
||||
if (val) {
|
||||
this.formData = {};
|
||||
this.formData = this.emailobj
|
||||
}
|
||||
},
|
||||
},
|
||||
@@ -125,12 +113,17 @@ export default {
|
||||
// adjudicationDelivery
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
adjudicationDelivery({
|
||||
// adjudicationDelivery({
|
||||
delete this.formData.id
|
||||
delete this.formData.apptrackingNum
|
||||
delete this.formData.restrackingNum
|
||||
adjudicationService({
|
||||
id: this.mailawardata.id,
|
||||
...this.formData,
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$modal.msgSuccess("提交成功");
|
||||
this.$emit("updataList");
|
||||
this.cancel();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,129 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog
|
||||
title="快递信息"
|
||||
:visible="showDelivery"
|
||||
@close="cancel"
|
||||
center
|
||||
:distroy-on-close="true"
|
||||
>
|
||||
<div class="loading" v-if="flagLoading">
|
||||
<i class="el-icon-loading"></i>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div class="noData" v-if="noData">暂无快递信息!</div>
|
||||
<div v-else>
|
||||
<div class="deliverName">
|
||||
{{ applicantdelivery.company }} {{ applicantdelivery.no }}
|
||||
</div>
|
||||
<el-divider></el-divider>
|
||||
<el-timeline :reverse="reverse">
|
||||
<el-timeline-item
|
||||
v-for="(activity, index) in activities"
|
||||
:key="index"
|
||||
:timestamp="activity.timestamp"
|
||||
>
|
||||
{{ activity.content }}
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</div>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton"
|
||||
><span>取 消</span></el-button
|
||||
>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["showDelivery", "deliveryDataArr", "flagLoading"],
|
||||
data() {
|
||||
return {
|
||||
// key: value
|
||||
reverse: true,
|
||||
applicantdelivery: {}, //申请人物流信息
|
||||
activities: [],
|
||||
noData: false,
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
deliveryDataArr: {
|
||||
handler(val) {
|
||||
if (val) {
|
||||
val.forEach((item) => {
|
||||
if (item.identityType == 1) {
|
||||
let applicantdata = item.logisticsInfo;
|
||||
this.applicantdelivery = JSON.parse(applicantdata);
|
||||
if (this.applicantdelivery.list) {
|
||||
this.activities = this.applicantdelivery.list;
|
||||
this.activities.forEach((item) => {
|
||||
item.content = item.datetime;
|
||||
item.timestamp = item.remark;
|
||||
});
|
||||
} else {
|
||||
this.noData = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
this.$emit("closeDeliveryModel");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-dialog {
|
||||
width: 600px;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.deliverName {
|
||||
margin-left: 6%;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.endbutton {
|
||||
width: 154px;
|
||||
height: 37px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d0d0d0;
|
||||
border-radius: 19px;
|
||||
span {
|
||||
width: 31px;
|
||||
height: 13px;
|
||||
font-size: 16px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
color: #959595;
|
||||
}
|
||||
}
|
||||
.loading {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.el-icon-loading {
|
||||
font-size: 50px;
|
||||
}
|
||||
}
|
||||
.noData {
|
||||
width: 100%;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: #959595;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
@@ -1,12 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog
|
||||
:title="title"
|
||||
:visible="openDialog"
|
||||
width="1000px"
|
||||
@close="cancel"
|
||||
:destroy-on-close="true"
|
||||
>
|
||||
<el-dialog :title="title" :visible="openDialog" width="1000px" @close="cancel" :destroy-on-close="true">
|
||||
<el-descriptions title="案件信息" border style="margin-bottom: 30px">
|
||||
<el-descriptions-item label="案件编号">{{
|
||||
form.caseNum
|
||||
@@ -33,112 +27,58 @@
|
||||
form.claimLiquidDamag
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="申请人案件证据资料">
|
||||
<p
|
||||
@click="toFile(index, 2)"
|
||||
v-for="(item, index) in applicantFileArr"
|
||||
:key="index"
|
||||
>
|
||||
<p @click="toFile(index, 2)" v-for="(item, index) in applicantFileArr" :key="index">
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="被申请人案件证据资料">
|
||||
<p
|
||||
v-for="(item, index) in respondentFileArr"
|
||||
:key="index"
|
||||
@click="toFile(index, 6)"
|
||||
>
|
||||
<p v-for="(item, index) in respondentFileArr" :key="index" @click="toFile(index, 6)">
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="裁决书附件">
|
||||
<p
|
||||
v-for="(item, index) in awardFileArr"
|
||||
:key="index"
|
||||
@click="toFile(index, 3)"
|
||||
>
|
||||
<p v-for="(item, index) in awardFileArr" :key="index" @click="toFile(index, 3)">
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="庭审笔录附件">
|
||||
<p v-for="(item, index) in bookFileArr" :key="index" @click="toFile(index, 7)">
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<el-form
|
||||
ref="form"
|
||||
:model="arbitrateRecord"
|
||||
label-width="300px"
|
||||
label-position="left"
|
||||
:rules="rules"
|
||||
:disabled="flag == 3"
|
||||
>
|
||||
<el-form-item
|
||||
label="经庭审质证,对各方提供的证据认定如下"
|
||||
prop="evidenDetermi"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.evidenDetermi"
|
||||
/>
|
||||
<el-form ref="form" :model="arbitrateRecord" label-width="300px" label-position="left" :rules="rules"
|
||||
:disabled="flag == 3">
|
||||
<!-- <el-form-item label="经庭审质证,对各方提供的证据认定如下" prop="evidenDetermi">
|
||||
<el-input type="textarea" autosize :disabled="flag == 2" placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.evidenDetermi" />
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="仲裁庭经审理查明(写明仲裁庭认定的事实)"
|
||||
prop="factDetermi"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.factDetermi"
|
||||
/>
|
||||
<el-form-item label="仲裁庭经审理查明(写明仲裁庭认定的事实)" prop="factDetermi">
|
||||
<el-input type="textarea" autosize :disabled="flag == 2" placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.factDetermi" />
|
||||
</el-form-item>
|
||||
<el-form-item label="综上所述" prop="caseSketch">
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.caseSketch"
|
||||
/>
|
||||
<el-input type="textarea" autosize :disabled="flag == 2" placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.caseSketch" />
|
||||
</el-form-item>
|
||||
<el-form-item label="本庭认为" prop="arbitrateThink">
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.arbitrateThink"
|
||||
/>
|
||||
<el-input type="textarea" autosize :disabled="flag == 2" placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.arbitrateThink" />
|
||||
</el-form-item>
|
||||
<el-form-item label="裁决如下" prop="rulingFollows">
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2 || flag == 1"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.rulingFollows"
|
||||
/>
|
||||
<el-input type="textarea" autosize :disabled="flag == 2" placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.rulingFollows" />
|
||||
</el-form-item>
|
||||
<el-form-item label="核验裁决书意见:" prop="verificaOpinion">
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
:disabled="flag == 2"
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.verificaOpinion"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="审核裁决书意见:"
|
||||
prop="checkOpinion"
|
||||
v-if="flag == 2"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.checkOpinion"
|
||||
/>
|
||||
<el-input type="textarea" autosize :disabled="flag == 2" placeholder="请输入内容"
|
||||
v-model="arbitrateRecord.verificaOpinion" />
|
||||
</el-form-item> -->
|
||||
<el-form-item label="笔录内容:" prop="responCrossOpin">
|
||||
<!-- <el-input type="textarea" :autosize="{ minRows: 6 }" v-model="arbitrateRecord.responCrossOpin" placeholder="请输入" /> -->
|
||||
<el-input type="textarea" :autosize="{ minRows: 6 }" v-model="arbitrateRecordt.responCrossOpin" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
<el-form-item label="审核意见:" prop="checkOpinion" v-if="flag == 2">
|
||||
<el-input type="textarea" autosize placeholder="请输入内容" v-model="arbitrateRecord.checkOpinion" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<!-- 画布 -->
|
||||
@@ -147,22 +87,13 @@
|
||||
<vue-esign ref="esign" :width="900" :height="300" bgColor="#ffffff" />
|
||||
</div>
|
||||
<!-- 清除画布 -->
|
||||
<el-button v-if="flag == 3" type="info" @click="handleReset"
|
||||
>清除画布</el-button
|
||||
>
|
||||
<el-button v-if="flag == 3" type="info" @click="handleReset">清除画布</el-button>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm(0)" v-if="flag == 1"
|
||||
>提 交</el-button
|
||||
>
|
||||
<el-button type="primary" @click="submitForm(1)" v-if="flag == 2"
|
||||
>同 意</el-button
|
||||
>
|
||||
<el-button type="danger" @click="submitForm(2)" v-if="flag == 2"
|
||||
>驳 回</el-button
|
||||
>
|
||||
<el-button type="primary" @click="submitForm(3)" v-if="flag == 3"
|
||||
>提 交</el-button
|
||||
>
|
||||
<el-button type="danger" @click="submitForm(4)" v-if="flag == 1">重新生成裁决书</el-button>
|
||||
<el-button type="primary" @click="submitForm(0)" v-if="flag == 1">提 交</el-button>
|
||||
<el-button type="primary" @click="submitForm(1)" v-if="flag == 2">同 意</el-button>
|
||||
<el-button type="danger" @click="submitForm(2)" v-if="flag == 2">驳 回</el-button>
|
||||
<el-button type="primary" @click="submitForm(3)" v-if="flag == 3">提 交</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -173,14 +104,20 @@
|
||||
import {
|
||||
verificationArbitrateRecord,
|
||||
checkArbitrateRecord,
|
||||
adjudicationSignature,
|
||||
regenerationDocument
|
||||
} from "@/api/awardManagement/awardManagement";
|
||||
export default {
|
||||
props: ["openDialog", "title", "flag", "detailform"],
|
||||
data() {
|
||||
return {
|
||||
// key: value
|
||||
arbitrateRecordt: {},
|
||||
form: {},
|
||||
arbitrateRecord: {},
|
||||
arbitrateRecord: {
|
||||
// checkOpinion:"同意"
|
||||
checkOpinion:""
|
||||
},
|
||||
// 表单校验
|
||||
rules: {
|
||||
evidenDetermi: [
|
||||
@@ -237,8 +174,10 @@ export default {
|
||||
applicantPathArr: [], //申请人
|
||||
respondentFileArr: [], //被申请人
|
||||
respondenPathArr: [], //被申请人
|
||||
awardFileArr: [], //裁决书
|
||||
awardPathArr: [], //裁决书
|
||||
awardFileArr: [], //庭审笔录文件
|
||||
awardPathArr: [], //庭审笔录路径
|
||||
bookFileArr: [], //裁决书文件
|
||||
bookPathArr: [], //庭审笔录路径
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
@@ -251,11 +190,15 @@ export default {
|
||||
(this.respondenPathArr = []), //被申请人
|
||||
(this.awardFileArr = []), //裁决书
|
||||
(this.awardPathArr = []), //裁决书
|
||||
setTimeout(() => {
|
||||
// setTimeout(() => {
|
||||
this.form = this.detailform;
|
||||
this.arbitrateRecord = this.form.arbitrateRecord;
|
||||
// if(this.form.arbitrateRecord && this.form.arbitrateRecord.checkOpinion == null ){
|
||||
// this.form.arbitrateRecord.checkOpinion = '同意';
|
||||
this.arbitrateRecord.checkOpinion = '';
|
||||
// }
|
||||
// this.arbitrateRecord = this.form.arbitrateRecord;
|
||||
this.evidenceFile(this.form);
|
||||
}, 1000);
|
||||
// }, 1000);
|
||||
}
|
||||
},
|
||||
},
|
||||
@@ -264,6 +207,14 @@ export default {
|
||||
// 申请人裁决书
|
||||
evidenceFile(val) {
|
||||
if (val) {
|
||||
this.applicantFileArr = [];
|
||||
this.applicantPathArr = [];
|
||||
this.respondentFileArr = [];
|
||||
this.respondenPathArr = [];
|
||||
this.awardFileArr = [];
|
||||
this.awardPathArr = [];
|
||||
this.bookFileArr = [];
|
||||
this.bookPathArr = [];
|
||||
val.caseAttachList.forEach((item) => {
|
||||
if (item.annexType == 2) {
|
||||
this.applicantFileArr.push(item.annexName);
|
||||
@@ -274,6 +225,9 @@ export default {
|
||||
} else if (item.annexType == 3) {
|
||||
this.awardFileArr.push(item.annexName);
|
||||
this.awardPathArr.push(item.annexPath);
|
||||
} else if (item.annexType == 7) {
|
||||
this.bookFileArr.push(item.annexName);
|
||||
this.bookPathArr.push(item.annexPath);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -287,6 +241,8 @@ export default {
|
||||
window.open(headPath + this.respondenPathArr[index], "_blank");
|
||||
} else if (val == 3) {
|
||||
window.open(headPath + this.awardPathArr[index], "_blank");
|
||||
} else if (val == 7) {
|
||||
window.open(headPath + this.bookPathArr[index], "_blank");
|
||||
}
|
||||
},
|
||||
// 校验裁决书
|
||||
@@ -305,6 +261,24 @@ export default {
|
||||
this.$message("成功");
|
||||
});
|
||||
},
|
||||
// 签名
|
||||
adjudicationSignatureFn(parms) {
|
||||
adjudicationSignature(parms).then((res) => {
|
||||
this.cancel();
|
||||
this.$emit("updataList");
|
||||
this.$message("成功");
|
||||
})
|
||||
},
|
||||
// 重新生成裁决书
|
||||
getRegenerationDocument(params) {
|
||||
regenerationDocument(params).then(res => {
|
||||
console.log(res.data, "重新生成裁决书");
|
||||
this.awardFileArr = [];
|
||||
this.awardPathArr = [];
|
||||
this.awardFileArr[0] = res.data.annexName;
|
||||
this.awardPathArr[0] = res.data.annexPath;
|
||||
})
|
||||
},
|
||||
submitForm(parms) {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
@@ -325,6 +299,15 @@ export default {
|
||||
agreeOrNotCheck: 2,
|
||||
arbitrateRecord: this.arbitrateRecord,
|
||||
});
|
||||
} else if (parms == 3) {
|
||||
this.adjudicationSignatureFn({
|
||||
id: this.form.id,
|
||||
});
|
||||
} else if (parms == 4) {
|
||||
let paramsData = {};
|
||||
paramsData.arbitrateRecord = this.arbitrateRecord;
|
||||
paramsData.id = this.form.id
|
||||
this.getRegenerationDocument(paramsData)
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -348,6 +331,7 @@ export default {
|
||||
.esign {
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
a {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
@@ -5,9 +5,16 @@
|
||||
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="案件状态" prop="caseStatus">
|
||||
<el-select v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable
|
||||
<el-select :disabled="caseStatusType" v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable
|
||||
@keyup.enter.native="handleQuery">
|
||||
<el-option v-for="dict in dict.type.case_status" :key="dict.value" :label="dict.label"
|
||||
<el-option v-for="dict in caseStatus" :key="dict.dictSort" :label="dict.dictLabel"
|
||||
:value="dict.dictSort"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否完成" prop="selectCaseStatus">
|
||||
<el-select v-model="queryParams.selectCaseStatus" placeholder="请选择状态" clearable
|
||||
@keyup.enter.native="handleQuery">
|
||||
<el-option v-for="dict in selectCaseStatusList" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@@ -21,6 +28,16 @@
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(3)"
|
||||
v-hasPermi="['caseManagement:list:check']">案件批量归档</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(5)"
|
||||
v-hasPermi="['awardManagement:list:check']">案件批量核查</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%">
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
@@ -33,38 +50,40 @@
|
||||
<el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
|
||||
<el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
|
||||
<!-- 缴费人 -->
|
||||
<el-table-column label="案件状态" align="center" prop="caseStatusName" />
|
||||
<!-- <el-table-column label="案件状态" align="center" prop="caseStatusName" /> -->
|
||||
<el-table-column label="案件状态" align="center" prop="caseStatusName">
|
||||
<template slot-scope="scope">
|
||||
<el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<!-- <el-button size="mini" type="text" icon="el-icon-reading" v-if="scope.row.caseStatus == 10" @click="showModel(scope.row, 0)"
|
||||
v-hasPermi="['monitor:online:forceLogout']">生成裁决书</el-button> -->
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 11" @click="showModel(scope.row, 1)"
|
||||
v-hasPermi="['monitor:online:forceLogout']">核查</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 12" @click="showModel(scope.row, 2)"
|
||||
v-hasPermi="['monitor:online:forceLogout']">确认裁决书</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 13" @click="showModel(scope.row, 3)"
|
||||
v-hasPermi="['monitor:online:forceLogout']">签名</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 14" @click="showModel(scope.row, 4)"
|
||||
v-hasPermi="['monitor:online:forceLogout']">用印申请</el-button>
|
||||
<!-- v-if="scope.row.caseStatus == 15" 送达裁决书 -->
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 15" @click="showMailaward(scope.row)"
|
||||
v-hasPermi="['monitor:online:forceLogout']">送达裁决书</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 16" @click="showModel(scope.row, 6)"
|
||||
v-hasPermi="['monitor:online:forceLogout']">案件归档</el-button>
|
||||
<!-- <el-button size="mini" type="text" icon="el-icon-reading"
|
||||
@click="showModel(scope.row, 0)" v-hasPermi="['monitor:online:forceLogout']">生成裁决书</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
@click="showModel(scope.row, 1)" v-hasPermi="['monitor:online:forceLogout']">核查</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
@click="showModel(scope.row, 2)" v-hasPermi="['monitor:online:forceLogout']">确认裁决书</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
@click="showModel(scope.row, 3)" v-hasPermi="['monitor:online:forceLogout']">签名</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
@click="showModel(scope.row, 4)" v-hasPermi="['monitor:online:forceLogout']">用印申请</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
@click="showModel(scope.row, 5)" v-hasPermi="['monitor:online:forceLogout']">送达裁决书</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
@click="showModel(scope.row, 6)" v-hasPermi="['monitor:online:forceLogout']">案件归档</el-button> -->
|
||||
<el-button size="mini" type="text" icon="el-icon-reading"
|
||||
v-if="scope.row.filearbitraUrl && scope.row.filearbitraUrl !== ''"
|
||||
@click="showModel(scope.row, 0)">查看裁决书</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
v-if="scope.row.caseStatus == 11 && checkPermi(['awardManagement:list:check']) && btnStatus"
|
||||
@click="showModel(scope.row, 1)">核查</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
v-if="scope.row.caseStatus == 12 && checkPermi(['awardManagement:list:confirmaward']) && btnStatus"
|
||||
@click="showModel(scope.row, 2)">确认裁决书</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
v-if="scope.row.caseStatus == 13 && checkPermi(['awardManagement:list:sign']) && btnStatus"
|
||||
@click="showModel(scope.row, 3)">签名</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
v-if="scope.row.caseStatus == 14 && checkPermi(['awardManagement:list:signprint']) && btnStatus"
|
||||
@click="showaffixModel(scope.row, 4)">用印申请</el-button>
|
||||
<!-- v-if="scope.row.caseStatus > 15" -->
|
||||
<el-button size="mini" type="text" icon="el-icon-truck"
|
||||
v-if="scope.row.caseStatus > 15 && checkPermi(['delivery:list:detail'])"
|
||||
@click="showDeliveryModel(scope.row, 4)">快递信息</el-button>
|
||||
<!-- v-if="scope.row.caseStatus == 15" 送达裁决书 -->
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
v-if="scope.row.caseStatus == 15 && checkPermi(['awardManagement:list:sendaward']) && btnStatus"
|
||||
@click="showMailaward(scope.row)">送达裁决书</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
v-if="scope.row.caseStatus == 16 && checkPermi(['awardManagement:list:file']) && btnStatus"
|
||||
@click="showCasefilingModel(scope.row, 6)">案件归档</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -74,12 +93,15 @@
|
||||
<paymentdetailsDialog :openDialog="openDialog" :detailform="detailform" :title="title" :flag="flag"
|
||||
@cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList"></paymentdetailsDialog>
|
||||
<!-- 送达裁决书页面 -->
|
||||
<mailawardDialog
|
||||
:openMailawardDialog="openMailawardDialog"
|
||||
@closeMailaward="closeMailaward"
|
||||
@updataList="updataList"
|
||||
:mailawardata="mailawardata"
|
||||
></mailawardDialog>
|
||||
<mailawardDialog :openMailawardDialog="openMailawardDialog" @closeMailaward="closeMailaward"
|
||||
@updataList="updataList" :mailawardata="mailawardata" :emailobj="emailobj"></mailawardDialog>
|
||||
<!-- 快递信息页面 -->
|
||||
<expressDeliveryDialog :showDelivery="showDelivery" :deliveryDataArr="deliveryDataArr"
|
||||
@closeDeliveryModel="closeDeliveryModel" :flagLoading="flagLoading"></expressDeliveryDialog>
|
||||
<!-- 批量操作弹窗 -->
|
||||
<operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
|
||||
@getcaseApply="getList" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
|
||||
</operateDialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -87,27 +109,37 @@
|
||||
import {
|
||||
caseApplicationList,
|
||||
caseApplicationDetail,
|
||||
adjudicationLogistics,
|
||||
adjudicationCaseFile,
|
||||
adjudicationStamp,
|
||||
selectSignUrl,
|
||||
selectSealUrl,
|
||||
selectSignSealUrl,
|
||||
emailByCaseId
|
||||
} from "@/api/awardManagement/awardManagement";
|
||||
import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
|
||||
import mailawardDialog from './components/MailawardDialog.vue';
|
||||
|
||||
import expressDeliveryDialog from './components/expressDeliveryDialog.vue';
|
||||
import operateDialog from '@/views/caseManagement/components/operateDialog.vue'
|
||||
import { getDicts } from '@/api/system/dict/data.js'
|
||||
export default {
|
||||
name: "paymentList",
|
||||
dicts: ["case_status"],
|
||||
components: { paymentdetailsDialog, mailawardDialog },
|
||||
components: { paymentdetailsDialog, mailawardDialog, expressDeliveryDialog, operateDialog },
|
||||
data() {
|
||||
return {
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
caseStatus: [],
|
||||
// 遮罩层
|
||||
loading: false,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 表格数据
|
||||
list: [],
|
||||
|
||||
emailobj: {},//邮箱存储
|
||||
// 弹出层标题
|
||||
title: "",
|
||||
payTitle: "",
|
||||
@@ -124,22 +156,78 @@ export default {
|
||||
flag: null,
|
||||
openMailawardDialog: false, //送达裁决书页面
|
||||
mailawardata: {}, //裁决书送达界面数据
|
||||
showDelivery: false, //快递信息弹框
|
||||
deliveryDataArr: [],//快递信息数据
|
||||
flagLoading: true,
|
||||
operateVisable: false,
|
||||
operateData: {},
|
||||
operateStatus: 0,
|
||||
operateTitle: "",
|
||||
selectCaseStatusList: [
|
||||
{
|
||||
label: "待办案件",
|
||||
value: 0
|
||||
},
|
||||
{
|
||||
label: "已办案件",
|
||||
value: 1
|
||||
}
|
||||
],
|
||||
caseStatusType: false,
|
||||
btnStatus: true,
|
||||
};
|
||||
},
|
||||
created() {
|
||||
getDicts("case_status").then(res => {
|
||||
this.caseStatus = res.data;
|
||||
let params = this.$route.params.status;
|
||||
if (params) {
|
||||
this.queryParams.caseStatus = params;
|
||||
}
|
||||
this.queryParams.caseStatusList = [11, 12, 13, 14, 15, 16]
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
// 裁决书列表不显示 生成裁决书
|
||||
// this.queryParams.caseStatusList = [10, 11, 12, 13, 14, 15, 16]
|
||||
this.queryParams.caseStatusList = [11, 12, 13, 14, 15, 16]
|
||||
this.getList(this.queryParams);
|
||||
},
|
||||
methods: {
|
||||
updataList(){
|
||||
cancelOperate() {
|
||||
this.operateVisable = false;
|
||||
},
|
||||
operateClick(type) {
|
||||
this.operateVisable = true;
|
||||
if (type == 0) {
|
||||
this.operateTitle = '批量提交';
|
||||
this.operateStatus = 0;
|
||||
} else if (type == 1) {
|
||||
this.operateTitle = '批量删除';
|
||||
this.operateStatus = 1;
|
||||
} else if (type == 2) {
|
||||
this.operateTitle = '批量立案申请';
|
||||
this.operateStatus = 2;
|
||||
} else if (type == 3) {
|
||||
this.operateTitle = '批量归档';
|
||||
this.operateStatus = 3;
|
||||
}else if (type == 5) {
|
||||
this.operateTitle = '批量核查';
|
||||
this.operateStatus = 5;
|
||||
}
|
||||
},
|
||||
updataList() {
|
||||
this.getList(this.queryParams);
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList(this.queryParams);
|
||||
if (this.queryParams.selectCaseStatus == 1) {
|
||||
this.queryParams.caseStatus = null;
|
||||
this.caseStatusType = true;
|
||||
this.btnStatus = false;
|
||||
} else if (this.queryParams.selectCaseStatus == 0) {
|
||||
this.caseStatusType = false;
|
||||
this.btnStatus = true;
|
||||
}
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
@@ -157,20 +245,33 @@ export default {
|
||||
},
|
||||
// model框显示
|
||||
showModel(row, type) {
|
||||
this.getDetail({ id: row.id });
|
||||
this.openDialog = true;
|
||||
|
||||
switch (type) {
|
||||
case 0:
|
||||
selectSignSealUrl({ id: row.id }).then(res => {
|
||||
let url = res.data.filearbitraUrl;
|
||||
window.open(url)
|
||||
})
|
||||
break;
|
||||
case 1:
|
||||
this.getDetail({ id: row.id });
|
||||
this.openDialog = true;
|
||||
this.title = "核验裁决书";
|
||||
this.flag = 1;
|
||||
break;
|
||||
case 2:
|
||||
this.getDetail({ id: row.id });
|
||||
this.openDialog = true;
|
||||
this.title = "审核裁决书";
|
||||
this.flag = 2;
|
||||
break;
|
||||
case 3:
|
||||
this.title = "裁决书签名";
|
||||
this.flag = 3;
|
||||
// this.title = "裁决书签名";
|
||||
// this.flag = 3;
|
||||
selectSignUrl({ id: row.id }).then(res => {
|
||||
let url = res.data.signUrl;
|
||||
window.open(url)
|
||||
})
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -180,15 +281,68 @@ export default {
|
||||
cancelpaymentdetails() {
|
||||
this.openDialog = false;
|
||||
},
|
||||
// 用印申请
|
||||
showaffixModel(row) {
|
||||
this.$modal.confirm('是否进行用印申请?')
|
||||
.then(function () {
|
||||
// return adjudicationStamp({ id: row.id });
|
||||
selectSealUrl({ id: row.id }).then(res => {
|
||||
let url = res.data.sealUrl;
|
||||
window.open(url)
|
||||
})
|
||||
})
|
||||
// .then(() => {
|
||||
// this.getList(this.queryParams);
|
||||
// this.$modal.msgSuccess("用印成功!");
|
||||
// })
|
||||
.catch(function () {
|
||||
});
|
||||
},
|
||||
// 快递信息弹框
|
||||
showDeliveryModel(row) {
|
||||
console.log(row, '快递');
|
||||
this.showDelivery = true
|
||||
this.getadjudicationLogistics({ id: row.id })
|
||||
},
|
||||
closeDeliveryModel() {
|
||||
this.showDelivery = false
|
||||
},
|
||||
// 查询物流信息
|
||||
getadjudicationLogistics(val) {
|
||||
this.flagLoading = true;
|
||||
adjudicationLogistics(val).then((res) => {
|
||||
this.deliveryDataArr = res.data
|
||||
this.flagLoading = false
|
||||
})
|
||||
},
|
||||
// 案件归档
|
||||
showCasefilingModel(row) {
|
||||
this.$modal.confirm('是否确认立即进行案件扫描?').then(
|
||||
function () {
|
||||
// return adjudicationCaseFile({ id: row.id })
|
||||
return adjudicationCaseFile({ ids: [row.id] })
|
||||
}
|
||||
).then(() => {
|
||||
this.getList(this.queryParams);
|
||||
this.$modal.msgSuccess("归档成功!");
|
||||
}).catch(function () { })
|
||||
},
|
||||
// 送达裁决书弹框
|
||||
showMailaward(row) {
|
||||
this.mailawardata = row;
|
||||
this.emailByCaseIdFn(row.id)
|
||||
this.openMailawardDialog = true
|
||||
},
|
||||
// 关闭送达裁决书弹框
|
||||
closeMailaward(row) {
|
||||
this.openMailawardDialog = false
|
||||
},
|
||||
// 根据案件id查询邮件
|
||||
emailByCaseIdFn(val) {
|
||||
emailByCaseId({id: val}).then((res) => {
|
||||
this.emailobj = res.data
|
||||
})
|
||||
},
|
||||
/** 查询详情 */
|
||||
getDetail(parms) {
|
||||
caseApplicationDetail(parms).then((res) => {
|
||||
|
||||
@@ -1,19 +1,8 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form
|
||||
:model="queryParams"
|
||||
ref="queryForm"
|
||||
size="small"
|
||||
:inline="true"
|
||||
label-width="68px"
|
||||
>
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
|
||||
<el-form-item label="案件编号" prop="caseNum">
|
||||
<el-input
|
||||
v-model="queryParams.caseNum"
|
||||
placeholder="请输入案件编号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="案件状态" prop="caseStatus">
|
||||
<el-select
|
||||
@@ -30,7 +19,7 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="开庭日期" prop="hearDate">
|
||||
<!-- <el-form-item label="开庭日期" prop="hearDate">
|
||||
<el-date-picker
|
||||
v-model="queryParams.hearDate"
|
||||
type="daterange"
|
||||
@@ -39,20 +28,15 @@
|
||||
end-placeholder="结束日期"
|
||||
>
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
<el-form-item>
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-search"
|
||||
size="mini"
|
||||
@click="handleQuery"
|
||||
>搜索</el-button
|
||||
>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
||||
>重置</el-button
|
||||
>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<!-- <el-row>
|
||||
<el-button size="mini">案件归档</el-button>
|
||||
</el-row> -->
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%">
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
@@ -61,65 +45,41 @@
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="案件编号"
|
||||
align="center"
|
||||
prop="caseNum"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="案件标的"
|
||||
align="center"
|
||||
prop="caseSubjectAmount"
|
||||
/>
|
||||
<el-table-column
|
||||
label="立案日期"
|
||||
align="center"
|
||||
prop="registerDate"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column label="案件状态" align="center" prop="caseStatusName" />
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
class-name="small-padding fixed-width"
|
||||
>
|
||||
<el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
|
||||
<el-table-column label="立案日期" align="center" prop="registerDate" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="案件状态" align="center" prop="caseStatusName">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-reading"
|
||||
@click="showDetail(scope.row)"
|
||||
v-hasPermi="['monitor:online:forceLogout']"
|
||||
>归档详情</el-button
|
||||
>
|
||||
<el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-reading"
|
||||
v-if="scope.row.filearbitraUrl && scope.row.filearbitraUrl !== ''"
|
||||
@click="showModel(scope.row)">查看裁决书</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-reading" @click="showDetail(scope.row)">归档详情</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList(queryParams)"
|
||||
/>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getList(queryParams)" />
|
||||
<!-- 弹窗 -->
|
||||
<!-- <paymentdetailsDialog :openDialog="openDialog" :detailform="detailform" :title="title" :flag="flag"
|
||||
@cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList"></paymentdetailsDialog> -->
|
||||
<archiveDetailsDialog v-if="showarchiveDetails" :showarchiveDetails="showarchiveDetails" :caseDetail="caseDetail" :caseLog="caseLog" :videoList="videoList" :detailform="detailform"
|
||||
:flagLoading="flagLoading" @cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList">
|
||||
</archiveDetailsDialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
caseApplicationList,
|
||||
caseApplicationDetail,
|
||||
} from "@/api/awardManagement/awardManagement";
|
||||
// import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
|
||||
|
||||
import { caseApplicationList, selectSignSealUrl,caseApplicationDetail } from "@/api/awardManagement/awardManagement";
|
||||
import { caseLogRecordList, logistics } from "@/api/caseManagement/caseManagement";
|
||||
import { adjudicationArchives, videoList } from "@/api/caseFiling/caseFiling";
|
||||
import archiveDetailsDialog from "./components/archiveDetailsDialog.vue";
|
||||
export default {
|
||||
name: "archiveList",
|
||||
dicts: ["case_status"],
|
||||
// components: { paymentdetailsDialog },
|
||||
components: { archiveDetailsDialog },
|
||||
data() {
|
||||
return {
|
||||
queryParams: {
|
||||
@@ -132,25 +92,31 @@ export default {
|
||||
total: 0,
|
||||
// 表格数据
|
||||
list: [],
|
||||
|
||||
// 弹出层标题
|
||||
title: "",
|
||||
// 是否显示弹出层
|
||||
// 弹出层内容
|
||||
form: {},
|
||||
// 校验表单
|
||||
rules: {},
|
||||
dataList: [],
|
||||
detailform: {}, //详情数据
|
||||
openDialog: false, //详情数据弹框
|
||||
flag: null,
|
||||
detailform: [], //详情数据
|
||||
showarchiveDetails: false, //详情数据弹框
|
||||
flagLoading: false, //详情弹框loading
|
||||
videoList:"",
|
||||
caseDetail:{},
|
||||
caseLog:null
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.queryParams.caseStatusList = [16];
|
||||
this.queryParams.caseStatusList = [17];
|
||||
this.getList(this.queryParams);
|
||||
},
|
||||
methods: {
|
||||
showModel(row) {
|
||||
selectSignSealUrl({ id: row.id }).then(res => {
|
||||
let url = res.data.filearbitraUrl;
|
||||
window.open(url)
|
||||
})
|
||||
},
|
||||
updataList() {
|
||||
this.getList(this.queryParams);
|
||||
},
|
||||
@@ -175,19 +141,52 @@ export default {
|
||||
},
|
||||
// model框显示
|
||||
showDetail(row) {
|
||||
this.getDetail({ id: row.id });
|
||||
this.openDialog = true;
|
||||
// this.getDetail({ id: row.id });
|
||||
this.logisticsFn({ id: row.id })
|
||||
this.getvideoList({ caseId: row.id });
|
||||
this.getCaseDetail({ id: row.id })
|
||||
this.getCaseLog({caseAppliId :row.id})
|
||||
this.showarchiveDetails = true;
|
||||
this.flagLoading = true;
|
||||
},
|
||||
// 关闭弹窗
|
||||
cancelpaymentdetails() {
|
||||
this.openDialog = false;
|
||||
this.showarchiveDetails = false;
|
||||
},
|
||||
// 根据id查询视频列表
|
||||
getvideoList(data) {
|
||||
videoList(data).then(res => {
|
||||
this.videoList = res.data;
|
||||
})
|
||||
},
|
||||
/** 查询详情 */
|
||||
getDetail(parms) {
|
||||
caseApplicationDetail(parms).then((res) => {
|
||||
// getDetail(parms) {
|
||||
// adjudicationArchives(parms).then((res) => {
|
||||
// console.log(res,"PPPPPPPPPPPPPPPPPPPPPPPPP");
|
||||
// this.detailform = res.data.logisticsInfoVOList;
|
||||
// });
|
||||
// },
|
||||
// 查询快递单号信息 logistics
|
||||
logisticsFn(params) {
|
||||
logistics(params).then((res) => {
|
||||
// console.log(res,"PPPPPPPPPPPPPPPPPPPPPPPPP");
|
||||
this.detailform = res.data;
|
||||
});
|
||||
})
|
||||
},
|
||||
// 查询案件详情
|
||||
getCaseDetail(params){
|
||||
caseApplicationDetail(params).then(res=>{
|
||||
this.caseDetail = res.data;
|
||||
this.flagLoading = false;
|
||||
})
|
||||
},
|
||||
// 查看案件日志
|
||||
getCaseLog(params){
|
||||
caseLogRecordList(params).then(res=>{
|
||||
// console.log(res,"LLLLLLLLLLL");
|
||||
this.caseLog = res.data;
|
||||
})
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -0,0 +1,125 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog title="归档详情" :visible="showarchiveDetails" @close="cancel" :destroy-on-close="true" center>
|
||||
<div class="loading" v-if="flagLoading">
|
||||
<i class="el-icon-loading"></i>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div class="noData" v-if="noData">暂无数据!</div>
|
||||
<el-tabs v-model="activeName" @tab-click="handleClick">
|
||||
<el-tab-pane label="案件信息" name="first">
|
||||
<caseInfo :caseApplicationObj="caseDetail"></caseInfo>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="案件日志" name="second">
|
||||
<caselogInfo :caselogDataArr="caseLog"></caselogInfo>
|
||||
</el-tab-pane>
|
||||
<!-- <el-tab-pane label="快递信息" name="third" v-if="false">
|
||||
<expressDeliveryInfo :deliveryDataArr="detailform"></expressDeliveryInfo>
|
||||
</el-tab-pane> -->
|
||||
<el-tab-pane label="案件视频" name="fourth">
|
||||
<!-- <div @click="getVideo">chakanshipin</div> -->
|
||||
<el-empty description="暂无视频" v-if="!videoFlag"></el-empty>
|
||||
<video style="background-color: #181717;width: 400px;height: 200px;margin: 30px;" v-if="videoFlag" :src="headPath + item.annexPath" controls="controls" v-for="(item,index) in videoUrl" :key="index"></video>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import caseInfo from "./caseInfo.vue";
|
||||
import caselogInfo from "./caselogInfo.vue";
|
||||
import expressDeliveryInfo from "./expressDeliveryInfo.vue";
|
||||
export default {
|
||||
props: ["showarchiveDetails", "detailform", "flagLoading", "videoList","caseDetail","caseLog"],
|
||||
components: {
|
||||
caseInfo,
|
||||
caselogInfo,
|
||||
expressDeliveryInfo,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
activeName: "first",
|
||||
caseApplicationObj: {}, //案件信息
|
||||
caselogDataArr: [], //案件日志
|
||||
deliveryDataArr: [], //快递信息
|
||||
noData: false,
|
||||
videoUrl:[],
|
||||
headPath:window.location.origin + "/API",
|
||||
videoFlag:false
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
showarchiveDetails(newValue) {
|
||||
// this.headPath = ;
|
||||
if (newValue) {
|
||||
// this.caseApplicationObj = this.detailform.caseApplication;
|
||||
// this.caselogDataArr = this.detailform.caseLogRecordList;
|
||||
// this.deliveryDataArr = this.detailform.logisticsInfoVOList;
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
handleClick(tab, event) {
|
||||
// console.log(tab, event);
|
||||
if (this.videoList) {
|
||||
this.videoFlag = true;
|
||||
// this.videoUrl = headPath + this.videoList[0].annexPath;
|
||||
this.videoUrl = this.videoList;
|
||||
}else{
|
||||
this.videoFlag = false;
|
||||
}
|
||||
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancelpaymentdetails");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-dialog {
|
||||
width: 1000px;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
::v-deep .el-dialog__body {
|
||||
height: 700px !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
::v-deep .el-tabs__content {
|
||||
height: 700px;
|
||||
overflow-y: scroll;
|
||||
padding-bottom: 10%;
|
||||
}
|
||||
|
||||
.loading {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.el-icon-loading {
|
||||
font-size: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.noData {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
color: #959595;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,627 @@
|
||||
<template>
|
||||
<div>
|
||||
<!-- 案件信息 -->
|
||||
<el-form ref="form" :model="formData" label-width="180px" disabled>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="案件编号:" prop="caseNum">
|
||||
<el-input v-model="formData.caseNum" placeholder="请输入案件编号" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="案件标的:" prop="caseSubjectAmount">
|
||||
<el-input
|
||||
v-model="formData.caseSubjectAmount"
|
||||
placeholder="请输入案件标的"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="借款开始日期:" prop="loanStartDate">
|
||||
<el-date-picker
|
||||
v-model="formData.loanStartDate"
|
||||
type="datetime"
|
||||
placeholder="借款开始日期"
|
||||
>
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="借款结束日期:" prop="loanEndDate">
|
||||
<el-date-picker
|
||||
v-model="formData.loanEndDate"
|
||||
type="datetime"
|
||||
placeholder="借款结束日期"
|
||||
>
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="合同编号:" prop="contractNumber">
|
||||
<el-input v-model="formData.contractNumber" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="申请人主张欠本金:" prop="claimPrinciOwed">
|
||||
<el-input v-model="formData.claimPrinciOwed" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="申请人主张欠利息:" prop="claimInterestOwed">
|
||||
<el-input
|
||||
v-model="formData.claimInterestOwed"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="申请人主张违约金:" prop="claimLiquidDamag">
|
||||
<el-input
|
||||
v-model="formData.claimLiquidDamag"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- 应缴费用 -->
|
||||
<el-col :span="12">
|
||||
<el-form-item label="应缴费用:" prop="feePayable">
|
||||
<el-input v-model="formData.feePayable" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- 申请人仲裁诉求 -->
|
||||
<el-col :span="24">
|
||||
<el-form-item label="申请人仲裁诉求" prop="arbitratClaims">
|
||||
<el-input
|
||||
v-model="formData.arbitratClaims"
|
||||
placeholder="请输入申请人仲裁诉求"
|
||||
type="textarea"
|
||||
:autosize="{ minRows: 4, maxRows: 8 }"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="申请人案件证据资料:">
|
||||
<!-- <div v-for="(item, index) in applicateArr" :key="index">
|
||||
<a href="#" @click="toFile(item, index)" style="color: blue">
|
||||
{{ item.annexName }}
|
||||
</a>
|
||||
</div> -->
|
||||
<p
|
||||
@click="toFile(index, 2)"
|
||||
v-for="(item, index) in applicantFileArr"
|
||||
:key="index"
|
||||
>
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- 仅详情展示 案件质证环节以后显示被申请人证据-->
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="被申请人案件证据资料:"
|
||||
prop="respondentEvidence"
|
||||
>
|
||||
<!-- <div v-for="(item, index) in quiltArr" :key="index">
|
||||
<a href="#" @click="toFile1(item, index)" style="color: blue">
|
||||
{{ item.annexName }}
|
||||
</a>
|
||||
</div> -->
|
||||
<p
|
||||
v-for="(item, index) in respondentFileArr"
|
||||
:key="index"
|
||||
@click="toFile(index, 6)"
|
||||
>
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="裁决书附件:">
|
||||
<p
|
||||
v-for="(item, index) in awardFileArr"
|
||||
:key="index"
|
||||
@click="toFile(index, 3)"
|
||||
>
|
||||
<a href="#">{{ item }}</a>
|
||||
</p>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<!-- 申请人主体信息 -->
|
||||
<el-form ref="form2" :model="form2" label-width="150px" disabled>
|
||||
<div v-for="(item, index) in form2.paymentArr" :key="index">
|
||||
<div style="display: flex; justify-content: space-between">
|
||||
<div style="display: inline-flex">
|
||||
<div class="infoIcon"></div>
|
||||
<div class="caseInfo">申请人主体信息:</div>
|
||||
</div>
|
||||
</div>
|
||||
<el-divider></el-divider>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="申请人(机构):"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '申请人不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="item.name" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="代码:">
|
||||
<el-input v-model="item.identityNum" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="联系电话:"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '联系电话不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/,
|
||||
message: '请输入正确的手机号码',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="item.contactTelphone" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="单位地址:"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '单位地址不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="item.workAddress" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="单位电话:"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '单位电话不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="item.workTelphone" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="联系地址:"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '联系地址不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="item.contactAddress" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<div style="display: inline-flex">
|
||||
<div class="infoIcon"></div>
|
||||
<div class="caseInfo2">代理人信息:</div>
|
||||
</div>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="姓名:"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '姓名不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="item.nameAgent" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="身份证号:"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '身份证号不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
pattern:
|
||||
/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
|
||||
message: '请输入正确的身份证号码',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="item.identityNumAgent" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="联系电话:"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '联系电话不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/,
|
||||
message: '请输入正确的手机号码',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
v-model="item.contactTelphoneAgent"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="联系地址:"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '联系地址不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
v-model="item.contactAddressAgent"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</el-form>
|
||||
<!-- 被申请人主体信息 -->
|
||||
<el-form ref="form3" label-width="150px" disabled :model="form3">
|
||||
<div
|
||||
v-for="(itm, index) in form3.paymentArr1"
|
||||
:key="index + form2.paymentArr.length"
|
||||
>
|
||||
<div style="display: flex; justify-content: space-between">
|
||||
<div style="display: inline-flex">
|
||||
<div class="infoIcon"></div>
|
||||
<div class="caseInfo">被申请人主体信息:</div>
|
||||
</div>
|
||||
</div>
|
||||
<el-divider></el-divider>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="被申请人姓名"
|
||||
:prop="'paymentArr1.' + index + '.name'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '被申请人不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="itm.name" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="身份证号:"
|
||||
:prop="'paymentArr1.' + index + '.identityNum'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '身份证号不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
pattern:
|
||||
/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
|
||||
message: '请输入正确的身份证号码',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="itm.identityNum" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="联系电话:"
|
||||
:prop="'paymentArr1.' + index + '.contactTelphone'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '联系电话不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/,
|
||||
message: '请输入正确的手机号码',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="itm.contactTelphone" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="单位地址:"
|
||||
:prop="'paymentArr1.' + index + '.workAddress'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '单位地址不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="itm.workAddress" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="单位电话:"
|
||||
:prop="'paymentArr1.' + index + '.workTelphone'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '单位电话不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="itm.workTelphone" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="联系地址:"
|
||||
:prop="'paymentArr1.' + index + '.contactAddress'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '联系地址不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="itm.contactAddress" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<div style="display: inline-flex">
|
||||
<div class="infoIcon"></div>
|
||||
<div class="caseInfo2">代理人信息:</div>
|
||||
</div>
|
||||
<!-- <p>代理人信息:</p> -->
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="姓名:"
|
||||
:prop="'paymentArr1.' + index + '.nameAgent'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '姓名不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="itm.nameAgent" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<!-- -->
|
||||
<el-form-item
|
||||
label="身份证号:"
|
||||
:prop="'paymentArr1.' + index + '.identityNumAgent'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '身份证号不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
pattern:
|
||||
/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
|
||||
message: '请输入正确的身份证号码',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input v-model="itm.identityNumAgent" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="联系电话:"
|
||||
:prop="'paymentArr1.' + index + '.contactTelphoneAgent'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '联系电话不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/,
|
||||
message: '请输入正确的手机号码',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
v-model="itm.contactTelphoneAgent"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="联系地址:"
|
||||
:prop="'paymentArr1.' + index + '.contactAddressAgent'"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '联系地址不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
v-model="itm.contactAddressAgent"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</el-form>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["caseApplicationObj"],
|
||||
data() {
|
||||
return {
|
||||
formData: {},
|
||||
applicateArr: [],
|
||||
quiltArr: [],
|
||||
initpaymentArr: [],
|
||||
initpaymentArr1: [],
|
||||
form2: {
|
||||
paymentArr: [
|
||||
{
|
||||
identityType: 1,
|
||||
name: "",
|
||||
identityNum: "",
|
||||
contactTelphone: "",
|
||||
workAddress: "",
|
||||
workTelphone: "",
|
||||
contactAddress: "",
|
||||
nameAgent: "",
|
||||
contactTelphoneAgent: "",
|
||||
contactAddressAgent: "",
|
||||
},
|
||||
],
|
||||
}, //申请人主体信息
|
||||
form3: {
|
||||
paymentArr1: [
|
||||
{
|
||||
identityType: 2,
|
||||
name: "",
|
||||
identityNum: "",
|
||||
contactTelphone: "",
|
||||
workAddress: "",
|
||||
workTelphone: "",
|
||||
contactAddress: "",
|
||||
nameAgent: "",
|
||||
contactTelphoneAgent: "",
|
||||
contactAddressAgent: "",
|
||||
},
|
||||
],
|
||||
}, //被申请人主体信息
|
||||
applicantFileArr: [], //申请人
|
||||
applicantPathArr: [], //申请人
|
||||
respondentFileArr: [], //被申请人
|
||||
respondenPathArr: [], //被申请人
|
||||
awardFileArr: [], //裁决书
|
||||
awardPathArr: [], //裁决书
|
||||
};
|
||||
},
|
||||
created() {
|
||||
if (this.caseApplicationObj) {
|
||||
this.formData = this.caseApplicationObj;
|
||||
}
|
||||
console.log("this.formData", this.formData);
|
||||
if (this.caseApplicationObj && this.caseApplicationObj.caseAffiliates) {
|
||||
this.caseApplicationObj.caseAffiliates.forEach((item) => {
|
||||
if (item.identityType == 1) {
|
||||
this.initpaymentArr.push(item);
|
||||
} else {
|
||||
this.initpaymentArr1.push(item);
|
||||
}
|
||||
this.form2.paymentArr = this.initpaymentArr;
|
||||
this.form3.paymentArr1 = this.initpaymentArr1;
|
||||
});
|
||||
}
|
||||
if (this.caseApplicationObj && this.caseApplicationObj.caseAttachList) {
|
||||
this.caseApplicationObj.caseAttachList.forEach((item) => {
|
||||
if (item.annexType == 2) {
|
||||
this.applicantFileArr.push(item.annexName);
|
||||
this.applicantPathArr.push(item.annexPath);
|
||||
} else if (item.annexType == 6) {
|
||||
this.respondentFileArr.push(item.annexName);
|
||||
this.respondenPathArr.push(item.annexPath);
|
||||
} else if (item.annexType == 3) {
|
||||
this.awardFileArr.push(item.annexName);
|
||||
this.awardPathArr.push(item.annexPath);
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 预览文件
|
||||
toFile(index, val) {
|
||||
let headPath = window.location.origin + "/API";
|
||||
if (val == 2) {
|
||||
window.open(headPath + this.applicantPathArr[index], "_blank");
|
||||
} else if (val == 6) {
|
||||
window.open(headPath + this.respondenPathArr[index], "_blank");
|
||||
} else if (val == 3) {
|
||||
window.open(headPath + this.awardPathArr[index], "_blank");
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.caseInfo {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.caseInfo2 {
|
||||
font-size: 15px;
|
||||
font-weight: 550;
|
||||
}
|
||||
.infoIcon {
|
||||
width: 4px;
|
||||
background-color: #0072ff;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.el-date-editor {
|
||||
width: 100%;
|
||||
}
|
||||
a {
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,92 @@
|
||||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<div class="noData" v-if="noData">暂无数据!</div>
|
||||
<el-timeline v-else>
|
||||
<el-timeline-item
|
||||
v-for="(activity, index) in activities"
|
||||
:key="index"
|
||||
:timestamp="(index + 1).toString()"
|
||||
placement="top"
|
||||
>
|
||||
<p>{{ activity.content }}</p>
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["caselogDataArr"],
|
||||
data() {
|
||||
return {
|
||||
activities: [],
|
||||
noData: false,
|
||||
};
|
||||
},
|
||||
created() {
|
||||
if (this.caselogDataArr && this.caselogDataArr.length > 0) {
|
||||
this.noData = false;
|
||||
this.activities = this.caselogDataArr;
|
||||
this.activities.forEach((item) => {
|
||||
item.content = item.content;
|
||||
});
|
||||
} else {
|
||||
this.noData = true;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
this.$emit("cancelcaseLog");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-dialog__body {
|
||||
height: 500px !important;
|
||||
overflow: auto !important;
|
||||
}
|
||||
::v-deep .el-dialog {
|
||||
width: 800px;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.endbutton1 {
|
||||
width: 154px;
|
||||
height: 37px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d0d0d0;
|
||||
border-radius: 19px;
|
||||
span {
|
||||
width: 31px;
|
||||
height: 13px;
|
||||
font-size: 16px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
color: #959595;
|
||||
}
|
||||
}
|
||||
.loading {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.el-icon-loading {
|
||||
font-size: 50px;
|
||||
}
|
||||
}
|
||||
.noData {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
color: #959595;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,126 @@
|
||||
<template>
|
||||
<div>
|
||||
<div>
|
||||
<div class="deliverName">
|
||||
<span>申请人快递信息:</span>
|
||||
{{ expressOne.company }} {{ expressOne.no }}
|
||||
</div>
|
||||
<el-divider></el-divider>
|
||||
<el-timeline :reverse="reverse">
|
||||
<el-timeline-item
|
||||
v-for="(activity, index) in expressOne.list"
|
||||
:key="index"
|
||||
:timestamp="activity.timestamp"
|
||||
>
|
||||
{{ activity.content }}
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
|
||||
<div class="deliverName">
|
||||
<span>被申请人快递信息:</span>
|
||||
{{ expressTwo.company }} {{ expressTwo.no }}
|
||||
</div>
|
||||
<el-divider></el-divider>
|
||||
<el-timeline :reverse="reverse">
|
||||
<el-timeline-item
|
||||
v-for="(activity, index) in expressTwo.list"
|
||||
:key="index"
|
||||
:timestamp="activity.timestamp"
|
||||
>
|
||||
{{ activity.content }}
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["deliveryDataArr"],
|
||||
data() {
|
||||
return {
|
||||
reverse: true,
|
||||
applicantdelivery: {}, //申请人物流信息
|
||||
expressOne: {},
|
||||
expressTwo: {},
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
deliveryDataArr() {
|
||||
console.log(this.deliveryDataArr, "deliveryDataArr");
|
||||
if (this.deliveryDataArr && this.deliveryDataArr.length > 0) {
|
||||
this.deliveryDataArr.forEach((item) => {
|
||||
if (item.identityType == 1) {
|
||||
let applicantdata = item.logisticsInfo;
|
||||
this.applicantdelivery = JSON.parse(applicantdata);
|
||||
if (this.applicantdelivery.list) {
|
||||
this.applicantdelivery.list.forEach((item) => {
|
||||
item.content = item.datetime;
|
||||
item.timestamp = item.remark;
|
||||
});
|
||||
this.expressOne = this.applicantdelivery;
|
||||
}
|
||||
} else {
|
||||
let applicantdata = item.logisticsInfo;
|
||||
this.applicantdelivery = JSON.parse(applicantdata);
|
||||
if (this.applicantdelivery.list) {
|
||||
this.applicantdelivery.list.forEach((item) => {
|
||||
item.content = item.datetime;
|
||||
item.timestamp = item.remark;
|
||||
});
|
||||
this.expressTwo = this.applicantdelivery;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
this.$emit("closeDeliveryModel");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-dialog {
|
||||
width: 600px;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.deliverName {
|
||||
// margin-left: 6%;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
span {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
.endbutton {
|
||||
width: 154px;
|
||||
height: 37px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d0d0d0;
|
||||
border-radius: 19px;
|
||||
span {
|
||||
width: 31px;
|
||||
height: 13px;
|
||||
font-size: 16px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
color: #959595;
|
||||
}
|
||||
}
|
||||
.loading {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.el-icon-loading {
|
||||
font-size: 50px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,10 +10,10 @@
|
||||
<el-form
|
||||
ref="form"
|
||||
:model="formData"
|
||||
label-width="150px"
|
||||
label-width="180px"
|
||||
:disabled="true"
|
||||
>
|
||||
<p>案件信息:</p>
|
||||
<div class="caseInfo">案件信息:</div>
|
||||
<el-divider></el-divider>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
@@ -119,56 +119,41 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-col :span="24">
|
||||
<!-- <el-col :span="24">
|
||||
<el-form-item label="案件资料:" prop="claimPrinciOwed">
|
||||
<el-input v-model="formData.claimPrinciOwed" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="申请人案件证据:"
|
||||
>
|
||||
<div v-if="applicateArr.length == 0">申请人暂未提供证据!</div>
|
||||
<div v-else v-for="(item, index) in applicateArr" :key="index">
|
||||
<a href="#" @click="toFile(item, index)" style="color: blue">
|
||||
{{ item.annexName }}
|
||||
</a>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="被申请人案件证据:"
|
||||
>
|
||||
<div v-if="quiltArr.length == 0">被申请人暂未提供证据!</div>
|
||||
<div v-else v-for="(item, index) in quiltArr" :key="index">
|
||||
<a href="#" @click="toFile1(item, index)" style="color: blue">
|
||||
{{ item.annexName }}
|
||||
</a>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-form>
|
||||
<el-form ref="form2" :model="form2" label-width="150px">
|
||||
<el-form-item label="笔录内容:" prop="responCrossOpin">
|
||||
<el-input type="textarea" :autosize="{ minRows: 6 }" v-model="form2.responCrossOpin" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
<!-- <el-col :span="24">
|
||||
<el-form-item
|
||||
label="案情描述:"
|
||||
prop="accidentDescription"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请进行案情描述',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
placeholder="请进行案情描述"
|
||||
v-model="form2.accidentDescription"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="仲裁结果:"
|
||||
prop="arbitrationResult"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请输入仲裁结果',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
placeholder="请输入仲裁结果"
|
||||
v-model="form2.arbitrationResult"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>-->
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="经庭审质证,对各方提供的证据认定如下:"
|
||||
prop="evidenDetermi"
|
||||
@@ -272,7 +257,7 @@
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">提交仲裁结果</el-button>
|
||||
@@ -291,24 +276,60 @@ export default {
|
||||
return {
|
||||
formData: {},
|
||||
form2: {},
|
||||
applicateArr: [],//申请人案件资料
|
||||
quiltArr: [],//被申请人案件资料
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
showadjudicaterecord: {
|
||||
handler(val) {
|
||||
if (val) {
|
||||
this.applicateArr = [];
|
||||
this.quiltArr = [];
|
||||
this.formData = this.form;
|
||||
setTimeout(() => {
|
||||
if (this.adjudicatename.caseAttachList.length > 0) {
|
||||
this.adjudicatename.caseAttachList.forEach(item => {
|
||||
if (item.annexType == 2) {
|
||||
this.applicateArr.push({
|
||||
annexName: item.annexName,
|
||||
annexPath: item.annexPath,
|
||||
});
|
||||
}
|
||||
if (item.annexType == 6) {
|
||||
this.quiltArr.push({
|
||||
annexName: item.annexName,
|
||||
annexPath: item.annexPath,
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}, 500);
|
||||
this.form2 = {};
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
// 详情显示,展示申请人案件文件
|
||||
toFile(item, index) {
|
||||
window.open(
|
||||
window.location.origin + "/API" + this.applicateArr[index].annexPath,
|
||||
"_black"
|
||||
);
|
||||
},
|
||||
// 被申请人文件
|
||||
toFile1(item, index) {
|
||||
window.open(
|
||||
window.location.origin + "/API" + this.quiltArr[index].annexPath,
|
||||
"_black"
|
||||
);
|
||||
},
|
||||
submitForm() {
|
||||
this.$refs["form2"].validate((valid) => {
|
||||
if (valid) {
|
||||
writtenHear({
|
||||
caseAppliId: this.formData.id,
|
||||
ids: [this.formData.id],
|
||||
evidenDetermi: this.form2.evidenDetermi,
|
||||
factDetermi: this.form2.factDetermi,
|
||||
caseSketch: this.form2.caseSketch,
|
||||
@@ -333,8 +354,12 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-dialog {
|
||||
width: 800px;
|
||||
width: 900px;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.caseInfo {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,208 @@
|
||||
<template>
|
||||
<div>
|
||||
<!-- 立案申请弹框 -->
|
||||
<el-dialog
|
||||
title="案件压缩"
|
||||
:visible="openCompressedPackages"
|
||||
width="600px"
|
||||
append-to-body
|
||||
@close="cancel"
|
||||
center
|
||||
>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="150px">
|
||||
<el-row>
|
||||
<!-- <el-col :span="16">
|
||||
<el-form-item label="申请人姓名:" prop="applyName">
|
||||
<el-input v-model="form.jobName" placeholder="请输入姓名" />
|
||||
</el-form-item>
|
||||
</el-col>-->
|
||||
<el-col :span="15">
|
||||
<div class="download" style="">
|
||||
<span> 下载: </span>
|
||||
<a href="#">
|
||||
<el-button class="uploadlink" @click="downloadTemplate">案件压缩导入模板</el-button>
|
||||
</a>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="15">
|
||||
<div style="margin:10px 0;font-size:12px;color:grey">
|
||||
<span>
|
||||
提示:请将多个excel文件压缩成zip格式后上传
|
||||
</span>
|
||||
</div>
|
||||
</el-col>
|
||||
<!-- <el-col :span="12">
|
||||
<el-form-item label="立案申请书:" prop="applybook"> </el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12"> </el-col> -->
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-form-item :span="24" label="案件压缩包上传:" prop="upload">
|
||||
<el-upload
|
||||
class="upload-demo"
|
||||
ref="uploadZipBatch"
|
||||
:limit="1"
|
||||
accept=".zip"
|
||||
:headers="upload.headers"
|
||||
:action="upload.url"
|
||||
:disabled="upload.isUploading"
|
||||
:on-progress="handleFileUploadProgress"
|
||||
:on-success="handleFileSuccess"
|
||||
:auto-upload="false"
|
||||
drag
|
||||
>
|
||||
<i class="el-icon-upload"></i>
|
||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||
<!-- <el-button size="small" type="primary">点击上传</el-button> -->
|
||||
<div slot="tip" class="el-upload__tip">
|
||||
支持zip格式文件
|
||||
</div>
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm" class="endbutton"><span>确 定</span></el-button>
|
||||
<el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { importTemplate } from "@/api/caseAccess/caseEntry";
|
||||
import { getToken } from "@/utils/auth";
|
||||
export default {
|
||||
props: ["openCompressedPackages","getcaseApply","queryParams"],
|
||||
data() {
|
||||
return {
|
||||
// key: value,
|
||||
form: {},
|
||||
fileList: [],
|
||||
rules: {
|
||||
upload: [
|
||||
{ required: true, message: "案件压缩包不能为空", trigger: "blur" },
|
||||
],
|
||||
},
|
||||
// 案件压缩导入
|
||||
upload: {
|
||||
// 是否显示弹出层(用户导入)
|
||||
open: false,
|
||||
// 弹出层标题(用户导入)
|
||||
title: "",
|
||||
// 是否禁用上传
|
||||
isUploading: false,
|
||||
// 是否更新已经存在的用户数据
|
||||
// updateSupport: 0,
|
||||
// 设置上传的请求头部
|
||||
headers: { Authorization: "Bearer " + getToken() },
|
||||
// 上传的地址
|
||||
url: process.env.VUE_APP_BASE_API + "/caseApplication/uploadCaseZipFile",
|
||||
},
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
submitForm() {
|
||||
this.$refs.uploadZipBatch.submit();
|
||||
},
|
||||
// 取消
|
||||
cancel() {
|
||||
this.$emit("cancelCompreess");
|
||||
},
|
||||
handleRemove(file, fileList) {},
|
||||
handlePreview(file) {},
|
||||
handleExceed(files, fileList) {
|
||||
this.$message.warning(
|
||||
`当前限制选择 1个文件,本次选择了 ${files.length} `
|
||||
);
|
||||
},
|
||||
beforeRemove(file, fileList) {
|
||||
return this.$confirm(`确定移除 ${file.name}?`);
|
||||
},
|
||||
// 下载模板 importTemplate
|
||||
downloadTemplate() {
|
||||
// console.log("下载模板");
|
||||
this.download(
|
||||
"caseApplication/uploadCaseZipFile",
|
||||
{},
|
||||
`case_batch_${new Date().getTime()}.xlsx`
|
||||
);
|
||||
},
|
||||
// 文件上传中处理
|
||||
handleFileUploadProgress(event, file, fileList) {
|
||||
this.upload.isUploading = true;
|
||||
},
|
||||
// 文件上传成功处理
|
||||
handleFileSuccess(response, file, fileList) {
|
||||
// this.upload.open = false;
|
||||
this.$emit("cancelCompreess");
|
||||
this.upload.isUploading = false;
|
||||
this.$refs.uploadZipBatch.clearFiles();
|
||||
if(response.code ==200){
|
||||
this.$alert(
|
||||
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
|
||||
response.msg +
|
||||
"</div>",
|
||||
"导入结果",
|
||||
{ dangerouslyUseHTMLString: true }
|
||||
)
|
||||
}else{
|
||||
this.$alert(
|
||||
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
|
||||
"导入压缩失败" +
|
||||
"</div>",
|
||||
"导入结果",
|
||||
{ dangerouslyUseHTMLString: true }
|
||||
)
|
||||
}
|
||||
|
||||
this.getcaseApply(this.queryParams);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.download {
|
||||
a {
|
||||
.uploadlink{
|
||||
border: none;
|
||||
color: #2092c7;
|
||||
}
|
||||
}
|
||||
}
|
||||
::v-deep .el-dialog {
|
||||
width: 800px;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.endbutton {
|
||||
width: 154px;
|
||||
height: 37px;
|
||||
background: #0072ff;
|
||||
border-radius: 19px;
|
||||
span {
|
||||
width: 96px;
|
||||
height: 15px;
|
||||
font-size: 16px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
.endbutton1 {
|
||||
width: 154px;
|
||||
height: 37px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d0d0d0;
|
||||
border-radius: 19px;
|
||||
span {
|
||||
width: 31px;
|
||||
height: 13px;
|
||||
font-size: 16px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
color: #959595;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,113 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog
|
||||
title="案件日志"
|
||||
:visible="showcaseLog"
|
||||
@close="cancel"
|
||||
center
|
||||
:distroy-on-close="true"
|
||||
>
|
||||
<div class="loading" v-if="flagLoading">
|
||||
<i class="el-icon-loading"></i>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div class="noData" v-if="noData">暂无数据!</div>
|
||||
<el-timeline v-else>
|
||||
<el-timeline-item
|
||||
v-for="(activity, index) in activities"
|
||||
:key="index"
|
||||
:timestamp="(index + 1).toString()"
|
||||
placement="top"
|
||||
>
|
||||
<p>{{ activity.content }}</p>
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton1"
|
||||
><span>取 消</span></el-button
|
||||
>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["showcaseLog", "flagLoading", "caselogDataArr"],
|
||||
data() {
|
||||
return {
|
||||
reverse: true,
|
||||
activities: [],
|
||||
noData: false,
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
caselogDataArr: {
|
||||
handler(val) {
|
||||
if (val && val.length > 0) {
|
||||
this.noData = false;
|
||||
this.activities = val;
|
||||
this.activities.forEach((item) => {
|
||||
item.content = item.content;
|
||||
});
|
||||
} else {
|
||||
this.noData = true;
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
this.$emit("cancelcaseLog");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-dialog__body {
|
||||
height: 500px !important;
|
||||
overflow: auto !important;
|
||||
}
|
||||
::v-deep .el-dialog {
|
||||
width: 800px;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.endbutton1 {
|
||||
width: 154px;
|
||||
height: 37px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d0d0d0;
|
||||
border-radius: 19px;
|
||||
span {
|
||||
width: 31px;
|
||||
height: 13px;
|
||||
font-size: 16px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
color: #959595;
|
||||
}
|
||||
}
|
||||
.loading {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.el-icon-loading {
|
||||
font-size: 50px;
|
||||
}
|
||||
}
|
||||
.noData {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
color: #959595;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
let id = {
|
||||
id: this.choosetrialmethodata.id,
|
||||
};
|
||||
arbitrateMethod(paramsdata, id)
|
||||
arbitrateMethod(paramsdata,id)
|
||||
.then((res) => {
|
||||
this.$modal.msgSuccess("提交成功");
|
||||
this.cancel();
|
||||
|
||||
@@ -9,26 +9,55 @@
|
||||
center
|
||||
>
|
||||
<el-form ref="courtReviewform" :model="courtReviewform">
|
||||
<el-form-item label="是否同意组庭:">
|
||||
<el-radio-group v-model="isAgreePendTral">
|
||||
<el-radio :label="1">是</el-radio>
|
||||
<el-radio :label="0">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<!-- </el-form> -->
|
||||
<el-tag type="warning" v-if="noArbitrator"
|
||||
>当前案件未指定仲裁员,请先指定仲裁员!</el-tag
|
||||
>
|
||||
<div style="display: inline-flex; margin: 1% 9%">
|
||||
<div v-if="isAgreePendTral == 0">请选择仲裁员</div>
|
||||
<div v-if="isAgreePendTral == 1 && form.arbitratorName">
|
||||
当前案件仲裁员
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="isAgreePendTral == 1" class="nowarbitrator">
|
||||
<el-tag size="medium">
|
||||
{{ form.arbitratorName }}
|
||||
</el-tag>
|
||||
</div>
|
||||
<!-- <div v-if="noArbitrator || isAgreePendTral == 0"> -->
|
||||
<el-form-item
|
||||
label="开庭日期:"
|
||||
prop="hearDate"
|
||||
label="仲裁员:"
|
||||
prop="Arbitor"
|
||||
v-if="noArbitrator || isAgreePendTral == 0"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请选择开庭日期',
|
||||
message: '仲裁员不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<div class="reviewbox">
|
||||
<el-date-picker
|
||||
v-model="courtReviewform.hearDate"
|
||||
type="datetime"
|
||||
placeholder="选择日期"
|
||||
>
|
||||
</el-date-picker>
|
||||
</div>
|
||||
<el-select
|
||||
placeholder="请选择仲裁员"
|
||||
@change="changeArbitor"
|
||||
v-model="courtReviewform.Arbitor"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in dataList"
|
||||
:key="item.value"
|
||||
:label="item.nickName"
|
||||
:value="item.userId"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- </div> -->
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm" class="endbutton"
|
||||
@@ -44,31 +73,100 @@
|
||||
|
||||
<script>
|
||||
import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
|
||||
import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
|
||||
import moment from "moment";
|
||||
export default {
|
||||
name: "courtReviewDialog",
|
||||
props: ["showcourtReview", "form", "queryParams"],
|
||||
data() {
|
||||
return {
|
||||
dataList: [],
|
||||
hearDate: "",
|
||||
courtReviewform: {},
|
||||
courtReviewform: {
|
||||
hearDate: null,
|
||||
},
|
||||
noArbitrator: false,
|
||||
isAgreePendTral: 1,
|
||||
total: 0,
|
||||
queryParams1: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
paramsdata: {},
|
||||
pickerOptions: {
|
||||
disabledDate(time) {
|
||||
return time.getTime() < Date.now() - 8.64e7;
|
||||
},
|
||||
},
|
||||
Arbitor: "",
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getarbitrAtor();
|
||||
},
|
||||
watch: {
|
||||
showcourtReview(val) {
|
||||
if (val) {
|
||||
this.isAgreePendTral = 1;
|
||||
this.courtReviewform.hearDate = null;
|
||||
}
|
||||
},
|
||||
form: {
|
||||
handler(val) {
|
||||
if (val.arbitratorName == null) {
|
||||
this.noArbitrator = true;
|
||||
} else {
|
||||
this.noArbitrator = false;
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
// 获取仲裁员信息
|
||||
getarbitrAtor() {
|
||||
arbitrAtor({}).then((res) => {
|
||||
this.dataList = res.rows;
|
||||
this.total = res.total;
|
||||
});
|
||||
},
|
||||
changeArbitor(val) {
|
||||
this.arbitrators = [];
|
||||
this.dataList.forEach((item) => {
|
||||
if (item.userId == val) {
|
||||
this.arbitrators.push({
|
||||
id: item.userId,
|
||||
arbitratorName: item.nickName,
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
submitForm() {
|
||||
if (this.noArbitrator) {
|
||||
this.paramsdata = {
|
||||
id: this.form.id,
|
||||
arbitrators: this.arbitrators,
|
||||
};
|
||||
} else {
|
||||
if (this.isAgreePendTral == 0) {
|
||||
this.paramsdata = {
|
||||
isAgreePendTral: 0,
|
||||
id: this.form.id,
|
||||
arbitrators: this.arbitrators,
|
||||
};
|
||||
} else {
|
||||
this.paramsdata = {
|
||||
isAgreePendTral: 1,
|
||||
id: this.form.id,
|
||||
};
|
||||
}
|
||||
}
|
||||
this.$refs["courtReviewform"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.courtReviewform.hearDate = moment(
|
||||
this.courtReviewform.hearDate
|
||||
).format("YYYY-MM-DD HH:mm:ss");
|
||||
pendTralSure({
|
||||
id: this.form.id,
|
||||
hearDate: this.courtReviewform.hearDate,
|
||||
})
|
||||
pendTralSure(this.paramsdata)
|
||||
.then((res) => {
|
||||
this.$modal.msgSuccess("确认成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply",this.queryParams);
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
.catch((err) => {});
|
||||
}
|
||||
@@ -83,19 +181,20 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-dialog {
|
||||
width: 422px;
|
||||
height: 245px;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.el-form-item {
|
||||
margin-left: 10%;
|
||||
}
|
||||
|
||||
.endbutton {
|
||||
width: 124px;
|
||||
height: 37px;
|
||||
background: #0072ff;
|
||||
border-radius: 19px;
|
||||
|
||||
span {
|
||||
width: 32px;
|
||||
height: 15px;
|
||||
@@ -106,12 +205,14 @@ export default {
|
||||
// line-height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
.endbutton1 {
|
||||
width: 124px;
|
||||
height: 37px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d0d0d0;
|
||||
border-radius: 19px;
|
||||
|
||||
span {
|
||||
width: 31px;
|
||||
height: 13px;
|
||||
@@ -122,6 +223,10 @@ export default {
|
||||
// line-height: 48px;
|
||||
}
|
||||
}
|
||||
.nowarbitrator {
|
||||
margin-left: 10%;
|
||||
}
|
||||
|
||||
::v-deep .el-form-item__error {
|
||||
left: 90px;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,139 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog title="修改证据" :visible="evidenceVisable" @close="cancel" center :distroy-on-close="true">
|
||||
<el-descriptions title="案件内容" :column="2" border>
|
||||
<el-descriptions-item label="案件编号">{{ evidenceData.caseNum }}</el-descriptions-item>
|
||||
<el-descriptions-item label="申请人(机构)">{{ evidenceData.applicantName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="案件标的">{{ evidenceData.caseSubjectAmount }}</el-descriptions-item>
|
||||
<el-descriptions-item label="案件状态">
|
||||
<el-tag size="small">{{ evidenceData.caseStatusName }}</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="仲裁方式">{{ evidenceData.arbitratMethodName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="申请人证据">
|
||||
<div style="color: #104fad;cursor:pointer" v-for="(item, index) in fileListData"
|
||||
@click="preview(item.annexPath)" :key="index">
|
||||
{{ item.annexName }}</div>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<div style="margin-top: 30px;">
|
||||
<el-upload class="upload-demo" ref="upload" action="" :file-list="fileList" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
|
||||
:auto-upload="false" :http-request="uploadFile" :on-change="beforeAvatarUpload" :before-remove="beforeRemove" multiple>
|
||||
<el-button type="primary"><span>选择证据</span></el-button>
|
||||
</el-upload>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
||||
<el-button @click="upload" class="endbutton1"><span>点击上传</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getFileList, batchUpload } from '@/api/caseManagement/caseManagement'
|
||||
import { getToken } from "@/utils/auth";
|
||||
export default {
|
||||
props: ["evidenceVisable", "evidenceData"],
|
||||
data() {
|
||||
return {
|
||||
fileListData: [],
|
||||
// 上传文件的列表
|
||||
uploadFiles: [],
|
||||
// 上传文件的个数
|
||||
filesLength: 0,
|
||||
info: {
|
||||
annexType: 2,
|
||||
},
|
||||
fileList:[]
|
||||
// headers: {
|
||||
// Authorization: "Bearer " + getToken(),
|
||||
// },
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
evidenceVisable(val) {
|
||||
this.fileList = []
|
||||
if (val) {
|
||||
this.getEvidenceList({ caseAppliId: this.evidenceData.id, annexTypeList: "2" })
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.info.id = this.evidenceData.id;
|
||||
},
|
||||
methods: {
|
||||
preview(data) {
|
||||
window.open(
|
||||
window.location.origin + "/API" + data,
|
||||
"_blank"
|
||||
);
|
||||
},
|
||||
UploadUrl() {
|
||||
return window.location.origin + "/API/evidence/upload";
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancelEvidence");
|
||||
},
|
||||
// 修改当前文件列表长度
|
||||
// changeFileLength(file, fileList) {
|
||||
// this.uploadFiles.push(file)
|
||||
// },
|
||||
// 删除文件
|
||||
beforeRemove(file, fileList){
|
||||
this.uploadFiles = fileList
|
||||
},
|
||||
// 文件上传之前处理
|
||||
beforeAvatarUpload(file,fileList) {
|
||||
console.log(file,fileList,"before");
|
||||
this.uploadFiles = [];
|
||||
// this.uploadFiles.push(file)
|
||||
this.uploadFiles = fileList
|
||||
},
|
||||
// 用户点击上传调用
|
||||
async upload() {
|
||||
// 触发上传 调用配置 :http-request="uploadFile"
|
||||
// 即触发 uploadFile函数
|
||||
this.uploadFile()
|
||||
// await this.$refs.upload.submit();
|
||||
// 上传完成后执行的操作 ...
|
||||
},
|
||||
// 该函数还是会被调用多次
|
||||
// 每次param参数传入一个文件
|
||||
uploadFile() {
|
||||
// 将文件加入需要上传的文件列表
|
||||
// 当uploadFiles长度等于用户需要上传的文件数时进行上传
|
||||
// 创建FormData上传
|
||||
if (this.uploadFiles.length === 0) {
|
||||
this.$message.warning('请选取文件')
|
||||
return
|
||||
}
|
||||
let fd = new FormData()
|
||||
// 将全部文件添加至FormData中
|
||||
this.uploadFiles.forEach(file => {
|
||||
fd.append('file', file.raw)
|
||||
})
|
||||
// // 将附加信息添加至FormData
|
||||
fd.append("id", this.evidenceData.id)
|
||||
fd.append("annexType", this.info.annexType)
|
||||
// 上传文件
|
||||
batchUpload(fd).then(res => {
|
||||
this.$modal.msgSuccess("上传成功");
|
||||
this.cancel()
|
||||
})
|
||||
},
|
||||
// 获取案件申请人证据列表
|
||||
getEvidenceList(data) {
|
||||
getFileList(data).then(res => {
|
||||
this.fileListData = res.data;
|
||||
})
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.steps {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
</style>
|
||||
@@ -43,7 +43,7 @@ export default {
|
||||
submitForm() {
|
||||
let paramsdata = {
|
||||
agreeOrNotCheck: this.radio,
|
||||
id: this.filingreviewdata.id,
|
||||
ids: [this.filingreviewdata.id],
|
||||
};
|
||||
submitCaseApplicationCheck(paramsdata)
|
||||
.then((res) => {
|
||||
|
||||
@@ -2,70 +2,73 @@
|
||||
<div>
|
||||
<!-- 组庭界面 -->
|
||||
<el-dialog
|
||||
title="组庭审核"
|
||||
title="组庭建议"
|
||||
:visible="showformateCourt"
|
||||
v-if="showformateCourt"
|
||||
@close="cancel"
|
||||
:destroy-on-close="true"
|
||||
destroy-on-close
|
||||
center
|
||||
>
|
||||
<el-form label-width="150px" v-if="!noArbitrator">
|
||||
<el-form
|
||||
ref="formateCourtform"
|
||||
:model="formateCourtform"
|
||||
label-width="110px"
|
||||
label-position="left"
|
||||
>
|
||||
<el-form-item label="是否同意组庭:">
|
||||
<el-radio-group v-model="isAgreePendTral">
|
||||
<el-radio-group v-model="isAgreePendTral" @change="radioValue">
|
||||
<el-radio :label="1">是</el-radio>
|
||||
<el-radio :label="0">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-tag type="warning" v-if="noArbitrator"
|
||||
>当前案件未指定仲裁员,请先指定仲裁员!</el-tag
|
||||
>
|
||||
<p></p>
|
||||
<!-- <el-form ref="form"> -->
|
||||
<!-- v-if="isAgreePendTral == 0 || noArbitrator" -->
|
||||
<div style="display: inline-flex; margin-bottom: 8px">
|
||||
<div v-if="isAgreePendTral !== 1">请选择仲裁员</div>
|
||||
<div v-if="isAgreePendTral == 1 && formateCourtData.arbitratorName">
|
||||
当前案件仲裁员
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
v-if="isAgreePendTral == 1 && formateCourtData.arbitratorName"
|
||||
class="nowarbitrator"
|
||||
>
|
||||
<el-tag size="medium">
|
||||
{{ formateCourtData.arbitratorName }}
|
||||
</el-tag>
|
||||
</div>
|
||||
<el-form-item
|
||||
label="仲裁员:"
|
||||
prop="Arbitor"
|
||||
v-if="noArbitrator || isAgreePendTral == 0"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '仲裁员不能为空',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-select
|
||||
placeholder="请选择仲裁员"
|
||||
@change="changeArbitor"
|
||||
v-model="formateCourtform.Arbitor"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in dataList"
|
||||
:key="item.value"
|
||||
:label="item.nickName"
|
||||
:value="item.userId"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-tag type="warning" v-if="noArbitrator">当前案件未指定仲裁员,请先指定仲裁员!</el-tag>
|
||||
<p></p>
|
||||
<!-- <el-form ref="form"> -->
|
||||
<el-table
|
||||
:data="dataList"
|
||||
style="width: 100%"
|
||||
@selection-change="handleSelectionChange"
|
||||
v-if="isAgreePendTral == 0 || noArbitrator"
|
||||
>
|
||||
<el-table-column type="selection" width="55"> </el-table-column>
|
||||
<el-table-column
|
||||
label="仲裁员姓名"
|
||||
align="center"
|
||||
prop="arbitratorName"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="专业分类"
|
||||
align="center"
|
||||
prop="professiClassifi"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="当前案件数量"
|
||||
align="center"
|
||||
prop="currentCaseNum"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="已结案数量"
|
||||
align="center"
|
||||
prop="closedCaseNum"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
</el-table>
|
||||
<pagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:page.sync="queryParams1.pageNum"
|
||||
:limit.sync="queryParams1.pageSize"
|
||||
@pagination="getarbitrAtor"
|
||||
v-if="isAgreePendTral == 0"
|
||||
/>
|
||||
<!-- </el-form> -->
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="submitForm"
|
||||
:disabled="!this.arbitrators.length > 0 && isAgreePendTral == 0"
|
||||
class="endbutton"
|
||||
<el-button type="primary" @click="submitForm" class="endbutton"
|
||||
><span>确 定</span></el-button
|
||||
>
|
||||
<el-button @click="cancel" class="endbutton1"
|
||||
@@ -83,28 +86,34 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
dataList: [],
|
||||
total: 0,
|
||||
queryParams1: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
formateCourtform: {},
|
||||
arbitrators: [],
|
||||
isAgreePendTral: 1,
|
||||
paramsdata: {},
|
||||
noArbitrator: false,
|
||||
Arbitor: "",
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getarbitrAtor();
|
||||
},
|
||||
watch: {
|
||||
showformateCourt(val){
|
||||
this.Arbitor = ""
|
||||
if(val){
|
||||
this.isAgreePendTral = 1;
|
||||
}
|
||||
},
|
||||
formateCourtData: {
|
||||
handler(val) {
|
||||
if (val.arbitratorName == null) {
|
||||
console.log('无仲裁员',val);
|
||||
this.noArbitrator = true
|
||||
this.noArbitrator = true;
|
||||
} else {
|
||||
this.noArbitrator = false
|
||||
this.noArbitrator = false;
|
||||
}
|
||||
},
|
||||
},
|
||||
@@ -114,46 +123,66 @@ export default {
|
||||
getarbitrAtor() {
|
||||
arbitrAtor({}).then((res) => {
|
||||
this.dataList = res.rows;
|
||||
this.total = res.total;
|
||||
// console.log(this.dataList, "this.dataList");
|
||||
});
|
||||
},
|
||||
// 勾选仲裁员
|
||||
handleSelectionChange(val) {
|
||||
changeArbitor(val) {
|
||||
this.arbitrators = [];
|
||||
val.forEach((item) => {
|
||||
this.arbitrators.push({
|
||||
id: item.id,
|
||||
arbitratorName: item.arbitratorName,
|
||||
});
|
||||
this.dataList.forEach((item) => {
|
||||
if (item.userId == val) {
|
||||
this.arbitrators.push({
|
||||
id: item.userId,
|
||||
arbitratorName: item.nickName,
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
// 确认
|
||||
submitForm() {
|
||||
// if (this.arbitrators.length > 0) {
|
||||
if (this.isAgreePendTral == 0) {
|
||||
if (this.noArbitrator) {
|
||||
this.paramsdata = {
|
||||
isAgreePendTral: 0,
|
||||
id: this.formateCourtData.id,
|
||||
arbitrators: this.arbitrators,
|
||||
};
|
||||
} else {
|
||||
this.paramsdata = {
|
||||
isAgreePendTral: 1,
|
||||
id: this.formateCourtData.id,
|
||||
};
|
||||
if (this.isAgreePendTral == 0) {
|
||||
this.paramsdata = {
|
||||
isAgreePendTral: 0,
|
||||
id: this.formateCourtData.id,
|
||||
arbitrators: this.arbitrators,
|
||||
};
|
||||
} else {
|
||||
this.paramsdata = {
|
||||
isAgreePendTral: 1,
|
||||
id: this.formateCourtData.id,
|
||||
};
|
||||
}
|
||||
}
|
||||
pendTralCheck(this.paramsdata).then((res) => {
|
||||
this.cancel();
|
||||
this.$modal.msgSuccess("组庭成功");
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
this.$refs["formateCourtform"].validate((valid) => {
|
||||
if (valid) {
|
||||
pendTralCheck(this.paramsdata).then((res) => {
|
||||
|
||||
this.cancel();
|
||||
this.$modal.msgSuccess("组庭成功");
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
// 初始化页面
|
||||
this.formateCourtform={}
|
||||
});
|
||||
}
|
||||
});
|
||||
// }
|
||||
},
|
||||
// 取消
|
||||
cancel() {
|
||||
this.$emit("cancelcourtDialog");
|
||||
this.arbitrators = [];
|
||||
},
|
||||
radioValue(val){
|
||||
if(val==1){
|
||||
this.formateCourtform={}
|
||||
}else if(val==0){
|
||||
this.formateCourtform={}
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@@ -192,4 +221,13 @@ export default {
|
||||
color: #959595;
|
||||
}
|
||||
}
|
||||
.infoIcon {
|
||||
width: 4px;
|
||||
// height: 17px;
|
||||
background-color: #0072ff;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.nowarbitrator {
|
||||
margin-left: 4%;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,415 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog :title="operateTitle" :visible="operateVisable" @close="cancel" center :distroy-on-close="true">
|
||||
<el-dialog width="40%" title="缴费详情" :visible.sync="payVisible" append-to-body>
|
||||
<!-- 案件总金额 -->
|
||||
<h3>案件总金额:{{ form.totalFee / 100 }}</h3>
|
||||
<el-descriptions :title="'订单信息' + (index + 1)" v-for="(item, index) in form.caseApplicationList"
|
||||
:key="index" border>
|
||||
<el-descriptions-item label="案件编号">{{
|
||||
item.caseNum
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="申请人">{{
|
||||
item.caseAppName
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="案件标的">{{
|
||||
item.caseSubjectAmount
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="案件应缴费用">{{
|
||||
item.feePayable
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="被申请人">{{
|
||||
item.caseResName
|
||||
}}</el-descriptions-item>
|
||||
<!-- <el-descriptions-item label="申请人仲裁诉求">{{
|
||||
item.arbitratClaims
|
||||
}}</el-descriptions-item> -->
|
||||
</el-descriptions>
|
||||
<div class="paySelectType">
|
||||
<el-radio-group v-model="paySelect" @input="changPayType">
|
||||
<el-radio :label="0">线上支付</el-radio>
|
||||
<el-radio :label="1">线下支付</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<div class="payupload">
|
||||
<span>上传支付凭证:</span>
|
||||
<div class="uploadBtn">
|
||||
<el-upload class="upload-demo" ref="upload" :action="UploadUrl()" :headers="headers"
|
||||
:data="filedata" :on-remove="handleRemove" :on-change="beforeUpload" :on-success="handlSuccess"
|
||||
:file-list="fileList">
|
||||
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
|
||||
<div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
|
||||
</el-upload>
|
||||
</div>
|
||||
</div>
|
||||
<div class="payType" v-if="paySelect == 0">
|
||||
<span>请选择支付方式:</span>
|
||||
<i class="iconfont icon-weixinzhifu" @click="pay(0)"></i>
|
||||
<i class="iconfont icon-zhifubao" @click="pay(1)"></i>
|
||||
</div>
|
||||
<div class="payImg">
|
||||
<div id="qrcodeImg"></div>
|
||||
</div>
|
||||
<div class="payTitle">{{ payMain }}</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="payCancel" class="endbutton"><span>取 消</span></el-button>
|
||||
<el-button @click="submitUpload" type="primary" class="endbutton"><span>确认缴费</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection">
|
||||
</el-table-column>
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(queryParamsData.pageNum - 1) * queryParamsData.pageSize + scope.$index + 1
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="申请人(机构)" align="center" prop="applicantName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
|
||||
<el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
|
||||
<!-- 仲裁员 -->
|
||||
<el-table-column label="仲裁员" align="center" prop="arbitratorName" />
|
||||
<!-- 开庭日期 -->
|
||||
<el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="案件状态" align="center" prop="caseStatusName">
|
||||
<template slot-scope="scope">
|
||||
<el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="radiobox" v-if="operateStatus == 2">
|
||||
<el-radio-group v-model="radio">
|
||||
<el-radio :label="1">同意</el-radio>
|
||||
<el-radio :label="2">拒绝</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParamsData.pageNum"
|
||||
:limit.sync="queryParamsData.pageSize" @pagination="getcaseApply(queryParamsData)" />
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton"><span>取 消</span></el-button>
|
||||
<el-button @click="submitPay" type="primary" class="endbutton"
|
||||
:disabled="dataList.length == 0 || batchData.length == 0"
|
||||
v-if="operateStatus == 6"><span>确认缴费</span></el-button>
|
||||
<el-button @click="submitBatch" type="primary" class="endbutton"
|
||||
:disabled="dataList.length == 0 || batchData.length == 0" v-else><span>确 认</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
caseApply,
|
||||
submitCaseApply,
|
||||
removeCaseApply,
|
||||
submitCaseApplicationCheck
|
||||
} from "@/api/caseAccess/caseEntry";
|
||||
import { getPayDetail,confirmPayDig } from "@/api/pay/pay";
|
||||
import { casePay } from "@/api/pay/pay";
|
||||
import QRCode from "qrcodejs2";
|
||||
import { getToken } from "@/utils/auth";
|
||||
import { writtenHear } from "@/api/caseManagement/caseManagement.js";
|
||||
import {
|
||||
adjudicationCaseFile,
|
||||
} from "@/api/awardManagement/awardManagement";
|
||||
export default {
|
||||
props: ["operateVisable", "operateData", "operateTitle", 'operateStatus', 'queryParams'],
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 查询参数
|
||||
queryParamsData: {
|
||||
caseStatus: null,
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
// 表格数据
|
||||
dataList: [],
|
||||
batchData: [],
|
||||
radio: 1,
|
||||
payVisible: false,
|
||||
form: {},
|
||||
paySelect: 1,//支付线上/线下
|
||||
headers: {
|
||||
Authorization: "Bearer " + getToken(),
|
||||
},
|
||||
filedata: {
|
||||
annexType: 8,
|
||||
},
|
||||
submitForm: {
|
||||
payType: 1,
|
||||
payOrderList: [],
|
||||
caseIds:[]
|
||||
},
|
||||
payMain: "",
|
||||
fileList: [],
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
operateVisable(val) {
|
||||
this.radio = 1;
|
||||
if (val) {
|
||||
this.getcaseApply(this.queryParamsData)
|
||||
}
|
||||
},
|
||||
payVisible(val) {
|
||||
if (val) {
|
||||
this.submitForm.payOrderList = []
|
||||
this.paySelect = 1;
|
||||
this.fileList = [];
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
UploadUrl() {
|
||||
return window.location.origin + "/API/evidence/upload";
|
||||
},
|
||||
beforeUpload(flie, fileList) {
|
||||
this.fileList = fileList;
|
||||
},
|
||||
handleRemove(file, fileList) {
|
||||
(this.submitForm.payOrderList = []),
|
||||
fileList.forEach((item) => {
|
||||
console.log(item.response.data, "item");
|
||||
this.submitForm.payOrderList.push({ annexId: item.response.data.annexId, annexName: item.response.data.annexName });
|
||||
});
|
||||
},
|
||||
// 文件上传成功
|
||||
handlSuccess(res, file) {
|
||||
this.submitForm.payOrderList.push({
|
||||
annexId: res.data.annexId,
|
||||
annexName: res.data.annexName
|
||||
});
|
||||
},
|
||||
//选择支付方式(线上,线下)
|
||||
changPayType(data) {
|
||||
if (data == 1) {
|
||||
document.getElementById("qrcodeImg").innerHTML = "";
|
||||
this.payMain = ""
|
||||
}
|
||||
this.submitForm.payType = data;
|
||||
},
|
||||
pay(val) {
|
||||
if (this.form.totalFee == 0 || !this.form.totalFee) {
|
||||
this.$message({
|
||||
message: "此案件无需缴费",
|
||||
type: "error",
|
||||
});
|
||||
return;
|
||||
}
|
||||
let payType = "";
|
||||
if (val == 0) {
|
||||
payType = "wxpay";
|
||||
this.payMain = "请使用微信扫二维码支付";
|
||||
} else if (val == 1) {
|
||||
payType = "alipay";
|
||||
this.payMain = "请使用支付宝扫二维码支付";
|
||||
}
|
||||
casePay({
|
||||
totalFee: this.form.totalFee,
|
||||
caseIds: this.batchData,
|
||||
tradeType: "native",
|
||||
platform: payType,
|
||||
}).then((res) => {
|
||||
this.paySrc = res.data.code_url;
|
||||
this.qrcode(this.paySrc);
|
||||
});
|
||||
},
|
||||
// 生成二维码
|
||||
qrcode(url) {
|
||||
// 前端根据 URL 生成微信支付二维码
|
||||
document.getElementById("qrcodeImg").innerHTML = "";
|
||||
return new QRCode("qrcodeImg", {
|
||||
width: 200,
|
||||
height: 200,
|
||||
text: url,
|
||||
colorDark: "#000",
|
||||
colorLight: "#fff",
|
||||
});
|
||||
},
|
||||
submitUpload() {
|
||||
if (this.fileList.length < 1) {
|
||||
this.$modal.msgError("请上传缴费凭证");
|
||||
return
|
||||
}
|
||||
this.submitForm.caseIds = this.batchData;
|
||||
console.log(this.submitForm,"LLLLLLLLLLLLLLLLLLLLLLLLLLLL");
|
||||
confirmPayDig(this.submitForm).then(res => {
|
||||
this.$modal.msgSuccess("成功");
|
||||
this.payCancel();
|
||||
this.getcaseApply(this.queryParamsData);
|
||||
})
|
||||
},
|
||||
// 选择勾选框
|
||||
handleSelectionChange(val) {
|
||||
this.batchData = [];
|
||||
val.forEach(item => {
|
||||
this.batchData.push(item.id)
|
||||
})
|
||||
},
|
||||
payCancel() {
|
||||
this.payVisible = false;
|
||||
this.payMain = "";
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancelOperate");
|
||||
},
|
||||
// 批量操作
|
||||
submitBatch() {
|
||||
if (this.operateStatus == 0) {
|
||||
this.submitCaseApplyFn({ ids: this.batchData })
|
||||
} else if (this.operateStatus == 1) {
|
||||
this.removeCaseApplyFn({ ids: this.batchData })
|
||||
} else if (this.operateStatus == 2) {
|
||||
this.submitCaseApplicationCheckFn({ ids: this.batchData, agreeOrNotCheck: this.radio })
|
||||
} else if (this.operateStatus == 3) {
|
||||
this.adjudicationCaseFileFn({ ids: this.batchData })
|
||||
} else if (this.operateStatus == 4) {
|
||||
// this.adjudicationCaseFileFn({ ids: this.batchData })
|
||||
this.writtenHearFn({ ids: this.batchData })
|
||||
} else if (this.operateStatus == 5) {
|
||||
// this.adjudicationCaseFileFn({ ids: this.batchData })
|
||||
// this.writtenHearFn({ids: this.batchData})
|
||||
}
|
||||
},
|
||||
// 批量缴费弹窗
|
||||
submitPay() {
|
||||
this.payVisible = true;
|
||||
this.getPayDetailFn({ caseIds: this.batchData })
|
||||
},
|
||||
// 查询缴费信息
|
||||
getPayDetailFn(params) {
|
||||
getPayDetail(params).then(res => {
|
||||
this.form = res.data;
|
||||
document.getElementById("qrcodeImg").innerHTML = "";
|
||||
})
|
||||
},
|
||||
// 批量提交
|
||||
submitCaseApplyFn(data) {
|
||||
submitCaseApply(data).then(res => {
|
||||
this.$modal.msgSuccess("提交成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
},
|
||||
// 批量删除
|
||||
removeCaseApplyFn(data) {
|
||||
removeCaseApply(data).then(res => {
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
},
|
||||
// 批量立案审查
|
||||
submitCaseApplicationCheckFn(data) {
|
||||
submitCaseApplicationCheck(data).then(res => {
|
||||
this.$modal.msgSuccess("立案审查成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
},
|
||||
//批量归档
|
||||
adjudicationCaseFileFn(data) {
|
||||
adjudicationCaseFile(data).then(res => {
|
||||
this.$modal.msgSuccess("归档成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
},
|
||||
// 批量生成裁决书
|
||||
writtenHearFn(data) {
|
||||
writtenHear(data).then(res => {
|
||||
this.$modal.msgSuccess("生成成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
},
|
||||
/** 查询列表 */
|
||||
getcaseApply(val) {
|
||||
this.loading = true;
|
||||
if (this.operateStatus == 0) {
|
||||
this.queryParamsData.caseStatus = 0
|
||||
} else if (this.operateStatus == 1) {
|
||||
this.queryParamsData.caseStatus = 0
|
||||
} else if (this.operateStatus == 2) {
|
||||
this.queryParamsData.caseStatus = 1
|
||||
} else if (this.operateStatus == 3) {
|
||||
this.queryParamsData.caseStatus = 16
|
||||
} else if (this.operateStatus == 4) {
|
||||
this.queryParamsData.caseStatus = 9
|
||||
} else if (this.operateStatus == 5) {
|
||||
this.queryParamsData.caseStatus = 11
|
||||
} else if (this.operateStatus == 6) {
|
||||
this.queryParamsData.caseStatus = 2
|
||||
}
|
||||
caseApply(val).then((response) => {
|
||||
this.dataList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.steps {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.radiobox {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.paySelectType {
|
||||
margin: 20px 0 20px 0;
|
||||
}
|
||||
|
||||
.payupload {
|
||||
display: flex;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.payImg {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.payTitle {
|
||||
margin-top: 20px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.payType {
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
display: flex;
|
||||
|
||||
.icon-weixinzhifu {
|
||||
font-size: 24px;
|
||||
color: #27a56f;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.icon-zhifubao {
|
||||
font-size: 24px;
|
||||
color: #1d76cc;
|
||||
}
|
||||
}
|
||||
::v-deep .el-dialog__body{
|
||||
max-height: 600px;
|
||||
overflow-y: scroll;
|
||||
|
||||
}
|
||||
</style>
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog :title="payTitle" :visible.sync="openPay" v-if="openPay" width="800px" append-to-body
|
||||
<el-dialog :title="payTitle" :visible="openPay" @close="payCancel" width="800px" append-to-body
|
||||
:destroy-on-close="true" center>
|
||||
<el-descriptions title="订单信息">
|
||||
<el-descriptions-item label="案件编号">{{
|
||||
@@ -18,14 +18,34 @@
|
||||
<el-descriptions-item label="被申请人">{{
|
||||
form.respondentName
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="案件状态">{{
|
||||
form.caseStatusName
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="案件状态">
|
||||
<el-tag size="mini" type='danger' effect="dark">
|
||||
{{ form.caseStatusName }}
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="申请人仲裁诉求">{{
|
||||
form.arbitratClaims
|
||||
}}</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<div class="payType">
|
||||
<div class="paySelectType">
|
||||
<el-radio-group v-model="paySelect" @input="changPayType">
|
||||
<el-radio :label="0">线上支付</el-radio>
|
||||
<el-radio :label="1">线下支付</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<div class="payupload">
|
||||
<span>上传支付凭证:</span>
|
||||
<div class="uploadBtn">
|
||||
<el-upload class="upload-demo" ref="upload" :action="UploadUrl()" :headers="headers" :data="filedata"
|
||||
:on-preview="handlePreview" :on-remove="handleRemove" :on-change="beforeUpload" :on-success="handlSuccess" :file-list="fileList"
|
||||
>
|
||||
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
|
||||
<!-- <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传到服务器</el-button> -->
|
||||
<div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
|
||||
</el-upload>
|
||||
</div>
|
||||
</div>
|
||||
<div class="payType" v-if="paySelect == 0">
|
||||
<span>请选择支付方式:</span>
|
||||
<i class="iconfont icon-weixinzhifu" @click="pay(0)"></i>
|
||||
<i class="iconfont icon-zhifubao" @click="pay(1)"></i>
|
||||
@@ -36,25 +56,82 @@
|
||||
<div class="payTitle">{{ payMain }}</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="payCancel" class="endbutton"><span>取 消</span></el-button>
|
||||
<el-button @click="submitUpload" class="endbutton"><span>确认缴费</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { casePay, selectCaseApplicationConfirm } from "@/api/pay/pay";
|
||||
import { casePay, confirmPayDig } from "@/api/pay/pay";
|
||||
import QRCode from "qrcodejs2";
|
||||
import { getToken } from "@/utils/auth";
|
||||
export default {
|
||||
props: ["openPay", "payTitle", "form", "payForm"],
|
||||
props: ["openPay", "payTitle", "form", "payForm", "queryParams","payId"],
|
||||
data() {
|
||||
return {
|
||||
// key: value
|
||||
// 支付文字
|
||||
payMain: "",
|
||||
timer:null
|
||||
timer: null,
|
||||
paySelect: 1,//支付线上/线下
|
||||
fileList: [],
|
||||
headers: {
|
||||
Authorization: "Bearer " + getToken(),
|
||||
},
|
||||
filedata: {
|
||||
annexType: 8,
|
||||
},
|
||||
submitForm:{
|
||||
payType:1,
|
||||
payOrderList:[],
|
||||
caseId:null
|
||||
}
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
UploadUrl() {
|
||||
return window.location.origin + "/API/evidence/upload";
|
||||
},
|
||||
//选择支付方式(线上,线下)
|
||||
changPayType(data) {
|
||||
if(data == 1){
|
||||
document.getElementById("qrcodeImg").innerHTML = "";
|
||||
this.payMain = ""
|
||||
}
|
||||
this.submitForm.payType = data;
|
||||
},
|
||||
beforeUpload(flie, fileList) {
|
||||
this.fileList = fileList;
|
||||
},
|
||||
// 文件上传成功
|
||||
handlSuccess(res, file) {
|
||||
this.submitForm.payOrderList.push({
|
||||
annexId: res.data.annexId,
|
||||
annexName:res.data.annexName
|
||||
});
|
||||
},
|
||||
submitUpload() {
|
||||
if (this.fileList.length < 1) {
|
||||
this.$modal.msgError("请上传缴费凭证");
|
||||
return
|
||||
}
|
||||
confirmPayDig(this.submitForm).then(res=>{
|
||||
this.$modal.msgSuccess("成功");
|
||||
this.payCancel()
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
},
|
||||
handleRemove(file, fileList) {
|
||||
(this.submitForm.payOrderList = []),
|
||||
fileList.forEach((item) => {
|
||||
console.log(item.response.data,"item");
|
||||
this.submitForm.payOrderList.push({ annexId:item.response.data.annexId,annexName:item.response.data.annexName });
|
||||
});
|
||||
},
|
||||
handlePreview(file) {
|
||||
console.log(file);
|
||||
},
|
||||
// 生成二维码
|
||||
qrcode(url) {
|
||||
// 前端根据 URL 生成微信支付二维码
|
||||
@@ -67,22 +144,6 @@ export default {
|
||||
colorLight: "#fff",
|
||||
});
|
||||
},
|
||||
// 查询缴费状态
|
||||
selectCaseApplicationConfirmFn(parms) {
|
||||
selectCaseApplicationConfirm(parms).then(res => {
|
||||
console.log(res, this.form, "KKKKKKKKKKKKKKKKKKKK");
|
||||
if(res && res.data && res.data.paymentStatus == 1){
|
||||
clearInterval(this.timer);
|
||||
// this.openPay = false;
|
||||
this.payCancel()
|
||||
this.$message({
|
||||
message: "缴费成功",
|
||||
type: "success",
|
||||
});
|
||||
this.$emit("getcaseApply",this.queryParams);
|
||||
}
|
||||
})
|
||||
},
|
||||
// 支付
|
||||
pay(val) {
|
||||
if (this.payForm.feePayable == 0 || !this.payForm.feePayable) {
|
||||
@@ -102,18 +163,12 @@ export default {
|
||||
}
|
||||
casePay({
|
||||
totalFee: this.payForm.feePayable * 100,
|
||||
caseId: this.payForm.caseId,
|
||||
caseIds: [this.payForm.caseId],
|
||||
tradeType: "native",
|
||||
platform: payType,
|
||||
}).then((res) => {
|
||||
this.paySrc = res.data.code_url;
|
||||
this.qrcode(this.paySrc);
|
||||
this.timer = setInterval(() => {
|
||||
this.selectCaseApplicationConfirmFn({ id: this.form.id })
|
||||
}, 3000);
|
||||
setTimeout(() => {
|
||||
clearInterval(this.timer);
|
||||
}, 1000*60);
|
||||
});
|
||||
},
|
||||
payCancel() {
|
||||
@@ -121,6 +176,17 @@ export default {
|
||||
this.payMain = "";
|
||||
},
|
||||
},
|
||||
watch:{
|
||||
openPay(val){
|
||||
if(val){
|
||||
this.submitForm.payOrderList = []
|
||||
this.paySelect = 1;
|
||||
this.fileList = [];
|
||||
this.filedata.id = this.payId;
|
||||
this.submitForm.caseIds = [this.payId];
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -128,6 +194,7 @@ export default {
|
||||
.payType {
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
display: flex;
|
||||
|
||||
.icon-weixinzhifu {
|
||||
font-size: 24px;
|
||||
@@ -141,6 +208,17 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.paySelectType {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.payupload {
|
||||
display: flex;
|
||||
|
||||
.uploadBtn {}
|
||||
}
|
||||
|
||||
.payImg {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog title="修改开庭时间" :visible="timeVisable" @close="cancel" center :distroy-on-close="true">
|
||||
<el-descriptions title="案件内容" :column="2" border>
|
||||
<el-descriptions-item label="案件编号">{{ timeData.caseNum }}</el-descriptions-item>
|
||||
<el-descriptions-item label="申请人(机构)">{{ timeData.applicantName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="案件标的">{{ timeData.caseSubjectAmount }}</el-descriptions-item>
|
||||
<el-descriptions-item label="案件状态">
|
||||
<el-tag size="small">{{ timeData.caseStatusName }}</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="仲裁方式">{{ timeData.arbitratMethodName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="开庭时间">
|
||||
<el-date-picker v-model="loanStartDate" :picker-options="pickerOptions" type="datetime"
|
||||
placeholder="开庭时间">
|
||||
</el-date-picker>
|
||||
</el-descriptions-item>
|
||||
|
||||
</el-descriptions>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
||||
<el-button @click="submitTime" class="endbutton1"><span>提 交</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<!-- hearDate -->
|
||||
<script>
|
||||
import { updateHeardate } from '@/api/caseManagement/caseManagement'
|
||||
import { getToken } from "@/utils/auth";
|
||||
import { createRoomId, reservedConference, sendRoomNoMessage } from '@/api/meeting/index'
|
||||
import moment from "moment";
|
||||
export default {
|
||||
props: ["timeVisable", "timeData", "queryParams"],
|
||||
data() {
|
||||
return {
|
||||
loanStartDate: "",
|
||||
pickerOptions: {
|
||||
disabledDate(time) {
|
||||
return time.getTime() < Date.now() - 8.64e7;
|
||||
}
|
||||
},
|
||||
roomId: null
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
timeVisable(val) {
|
||||
if (val) {
|
||||
// this.getEvidenceList({ caseAppliId: this.timeData.id, annexTypeList: "2" })
|
||||
this.loanStartDate = this.timeData.hearDate
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
this.$emit("cancelTime");
|
||||
},
|
||||
// 获取房间号
|
||||
async createRoomIdFn(data) {
|
||||
await createRoomId(data).then(res => {
|
||||
this.roomId = res.data;
|
||||
})
|
||||
},
|
||||
// 预约会议
|
||||
async reservedConferenceFn(data) {
|
||||
await reservedConference(data).then(res => {
|
||||
console.log(res, "PPPPPPPPPPPPPPPPPPPPPPPPP");
|
||||
})
|
||||
},
|
||||
// 提交时间
|
||||
async updateHeardateFn(data) {
|
||||
await updateHeardate(data).then(res => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
},
|
||||
// 发送房间号短信
|
||||
async sendRoomNoMessageFn(data) {
|
||||
sendRoomNoMessage(data).then(res => {
|
||||
console.log(res, "PPPPPPPPPPPPPPPPPPPPPPPPP");
|
||||
})
|
||||
},
|
||||
async submitTime() {
|
||||
this.loanStartDate = moment(
|
||||
this.loanStartDate
|
||||
).format("YYYY-MM-DD HH:mm:ss");
|
||||
await this.createRoomIdFn({ caseId: this.timeData.id });
|
||||
await this.reservedConferenceFn({
|
||||
caseId: this.timeData.id,
|
||||
roomId: this.roomId,
|
||||
scheduleStartTime: this.loanStartDate,
|
||||
})
|
||||
await this.updateHeardateFn({
|
||||
id: this.timeData.id,
|
||||
hearDate: this.loanStartDate
|
||||
})
|
||||
await sendRoomNoMessageFn({
|
||||
id: this.timeData.id,
|
||||
roomNo: this.roomId,
|
||||
scheduleStartTime: this.loanStartDate
|
||||
})
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.steps {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
</style>
|
||||
@@ -1,64 +1,40 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog
|
||||
title="开庭审理"
|
||||
:visible="showtrialincourt"
|
||||
@close="cancel"
|
||||
:destroy-on-close="true"
|
||||
>
|
||||
<el-form
|
||||
ref="form"
|
||||
:model="formData"
|
||||
label-width="150px"
|
||||
:disabled="true"
|
||||
>
|
||||
<p>案件信息:</p>
|
||||
<el-dialog title="开庭审理" :visible="showtrialincourt" @close="cancel" :destroy-on-close="true">
|
||||
<el-form ref="form" :model="formData" label-width="180px">
|
||||
<div class="caseInfo">案件信息:</div>
|
||||
<el-divider></el-divider>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="案件编号:" prop="caseNum">
|
||||
<el-input
|
||||
v-model="formData.caseNum"
|
||||
placeholder="请输入案件编号"
|
||||
/>
|
||||
<el-input v-model="formData.caseNum" placeholder="请输入案件编号" :disabled="true" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="申请人:" prop="applicantName">
|
||||
<el-input v-model="adjudicatename.applicantName" />
|
||||
<el-input v-model="adjudicatename.applicantName" :disabled="true" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="被申请人:" prop="respondentName">
|
||||
<el-input v-model="adjudicatename.respondentName" />
|
||||
<el-input v-model="adjudicatename.respondentName" :disabled="true" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="借款开始日期:" prop="loanStartDate">
|
||||
<el-date-picker
|
||||
v-model="formData.loanStartDate"
|
||||
type="datetime"
|
||||
placeholder="借款开始日期"
|
||||
>
|
||||
<el-date-picker v-model="formData.loanStartDate" type="datetime" placeholder="借款开始日期" :disabled="true">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="借款结束日期:" prop="loanEndDate">
|
||||
<el-date-picker
|
||||
v-model="formData.loanEndDate"
|
||||
type="datetime"
|
||||
placeholder="借款结束日期"
|
||||
>
|
||||
<el-date-picker v-model="formData.loanEndDate" type="datetime" placeholder="借款结束日期" :disabled="true">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="案件标的:" prop="caseSubjectAmount">
|
||||
<el-input
|
||||
v-model="formData.caseSubjectAmount"
|
||||
placeholder="请输入案件标的"
|
||||
/>
|
||||
<el-input v-model="formData.caseSubjectAmount" placeholder="请输入案件标的" :disabled="true" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="12">
|
||||
@@ -71,18 +47,12 @@
|
||||
</el-col> -->
|
||||
<el-col :span="12">
|
||||
<el-form-item label="仲裁费用:" prop="feePayable">
|
||||
<el-input
|
||||
v-model="adjudicatename.feePayable"
|
||||
placeholder="请输入仲裁费用"
|
||||
/>
|
||||
<el-input v-model="adjudicatename.feePayable" placeholder="请输入仲裁费用" :disabled="true" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="申请人主张欠本金:" prop="claimPrinciOwed">
|
||||
<el-input
|
||||
v-model="formData.claimPrinciOwed"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
<el-input v-model="formData.claimPrinciOwed" placeholder="请输入" :disabled="true" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="12">
|
||||
@@ -92,262 +62,303 @@
|
||||
</el-col> -->
|
||||
<el-col :span="12">
|
||||
<el-form-item label="案件状态:" prop="caseStatus">
|
||||
<el-input
|
||||
v-model="formData.caseStatusName"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
<el-input v-model="formData.caseStatusName" placeholder="请输入" :disabled="true" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="仲裁员:" prop="arbitratorName">
|
||||
<el-input
|
||||
v-model="adjudicatename.arbitratorName"
|
||||
placeholder="请输入"
|
||||
/>
|
||||
<el-input v-model="adjudicatename.arbitratorName" placeholder="请输入" :disabled="true" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item label="开庭日期:" prop="hearDate">
|
||||
<el-date-picker
|
||||
v-model="adjudicatename.hearDate"
|
||||
type="datetime"
|
||||
placeholder="开庭日期"
|
||||
>
|
||||
<el-date-picker v-model="adjudicatename.hearDate" type="datetime" placeholder="开庭日期" :disabled="true">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-col :span="24">
|
||||
<!-- <el-col :span="24">
|
||||
<el-form-item label="案件资料:" prop="claimPrinciOwed">
|
||||
<el-input v-model="formData.claimPrinciOwed" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col :span="24">
|
||||
<el-form-item label="申请人案件证据:">
|
||||
<div v-if="applicateArr.length == 0">申请人暂未提供证据!</div>
|
||||
<div v-else v-for="(item, index) in applicateArr" :key="index">
|
||||
<a href="#" @click="toFile(item, index)" style="color: blue">
|
||||
{{ item.annexName }}
|
||||
</a>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="被申请人案件证据:">
|
||||
<div v-if="quiltArr.length == 0">被申请人暂未提供证据!</div>
|
||||
<div v-for="(item, index) in quiltArr" :key="index">
|
||||
<a href="#" @click="toFile1(item, index)" style="color: blue">
|
||||
{{ item.annexName }}
|
||||
</a>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24" v-if="recordArr.length > 0">
|
||||
<el-form-item label="庭审笔录:">
|
||||
<div v-for="(item, index) in recordArr" :key="index" style="color: blue">
|
||||
<a href="#" @click="toFile2(item, index)">{{ item.annexName }}</a>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="预约会议房间号:">
|
||||
<div>{{ roomId }}</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="开庭时间:">
|
||||
<div>{{ startTime }}</div>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- </el-form> -->
|
||||
</el-form>
|
||||
<el-button @click="openmeeting" type="primary"
|
||||
>发起会议
|
||||
<!-- <iframe src="http://47.97.117.253:9005/#/">发起会议</iframe> -->
|
||||
</el-button>
|
||||
<el-button @click="openArbitrationresults" type="primary"
|
||||
>提交仲裁结果</el-button
|
||||
>
|
||||
<el-button @click="openmeeting" type="primary">发起会议</el-button>
|
||||
<el-button @click="openArbitrationresults" type="primary" v-if="this.recordArr.length <= 0">生成庭审笔录</el-button>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<!-- <el-button @click="submitForm" class="endbutton"
|
||||
><span>结束审理</span></el-button
|
||||
> -->
|
||||
<el-button @click="cancel" class="endbutton1"
|
||||
><span>关 闭</span></el-button
|
||||
>
|
||||
<el-button class="endbutton" :disabled="showsubmit && recordArr.length == 0" @click="submitResults">提交</el-button>
|
||||
<el-button @click="cancel" class="endbutton1"><span>关 闭</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<el-dialog
|
||||
title="提交仲裁结果"
|
||||
:visible="showArbitrationresults"
|
||||
@close="closeArbitrationresults"
|
||||
center
|
||||
>
|
||||
<!-- <el-dialog title="庭审笔录" :visible="showArbitrationresults" @close="closeArbitrationresults" center>
|
||||
<el-form ref="form2" :model="form2" label-width="150px">
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="经庭审质证,对各方提供的证据认定如下:"
|
||||
prop="evidenDetermi"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请输入',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
:autosize="{ minRows: 4 }"
|
||||
placeholder="请输入"
|
||||
v-model="form2.evidenDetermi"
|
||||
>
|
||||
</el-input>
|
||||
<el-form-item label="被申请人是否缺席:" prop="appliIsAbsen" :rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请输入',
|
||||
},
|
||||
]">
|
||||
<el-radio-group v-model="form2.appliIsAbsen">
|
||||
<el-radio :label="1">是</el-radio>
|
||||
<el-radio :label="0">否</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="仲裁庭经审理查明(写明仲裁庭认定的事实):"
|
||||
prop="factDetermi"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请输入',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
:autosize="{ minRows: 4 }"
|
||||
placeholder="请输入"
|
||||
v-model="form2.factDetermi"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="综上所述:"
|
||||
prop="caseSketch"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请输入',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
placeholder="请输入"
|
||||
v-model="form2.caseSketch"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="本庭认为:"
|
||||
prop="arbitrateThink"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请输入',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
placeholder="请输入"
|
||||
v-model="form2.arbitrateThink"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
label="裁决如下:"
|
||||
prop="rulingFollows"
|
||||
:rules="[
|
||||
{
|
||||
required: true,
|
||||
message: '请输入',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
autosize
|
||||
placeholder="请输入"
|
||||
v-model="form2.rulingFollows"
|
||||
>
|
||||
</el-input>
|
||||
<el-form-item label="笔录内容:" prop="responCrossOpin">
|
||||
<el-input type="textarea" :autosize="{ minRows: 6 }" v-model="form2.responCrossOpin" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="submitForm" class="endbutton">
|
||||
<span>提交仲裁结果</span></el-button
|
||||
>
|
||||
<el-button @click="closeArbitrationresults" class="endbutton1"
|
||||
><span>取 消</span></el-button
|
||||
>
|
||||
<span>确定</span></el-button>
|
||||
<el-button @click="closeArbitrationresults" class="endbutton1"><span>取 消</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</el-dialog> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getUserProfile } from "@/api/system/user";
|
||||
import { writtenHear } from "@/api/caseManagement/caseManagement.js";
|
||||
|
||||
import {
|
||||
writtenHear,
|
||||
creatTrialRecord,
|
||||
document,
|
||||
attachListByCaseId
|
||||
} from "@/api/caseManagement/caseManagement.js";
|
||||
import { reserveConferenceList } from '@/api/meeting/index.js'
|
||||
export default {
|
||||
props: ["showtrialincourt", "adjudicatename", "form", "queryParams"],
|
||||
data() {
|
||||
return {
|
||||
formData: {},
|
||||
user: "",
|
||||
showArbitrationresults: false,
|
||||
userId:1,
|
||||
form2: {},
|
||||
applicateArr: [], //申请人案件资料
|
||||
quiltArr: [], //被申请人案件资料
|
||||
recordArr: [], //笔录附件
|
||||
showsubmit: true, //生成庭审笔录,方可提交
|
||||
annexName: "", //笔录文件名
|
||||
annexPath: "", //笔录文件地址
|
||||
roomId:null,
|
||||
startTime:""
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
showtrialincourt: {
|
||||
handler(val) {
|
||||
if (val) {
|
||||
this.reserveConferenceListFn({caseId:this.form.id});
|
||||
this.getUser();
|
||||
this.formData = this.form;
|
||||
this.applicateArr = [];
|
||||
this.quiltArr = [];
|
||||
this.recordArr = [];
|
||||
setTimeout(() => {
|
||||
if (this.adjudicatename.caseAttachList.length > 0) {
|
||||
this.adjudicatename.caseAttachList.forEach((item) => {
|
||||
// 申请人案件附件
|
||||
if (item.annexType == 2) {
|
||||
this.applicateArr.push({
|
||||
annexName: item.annexName,
|
||||
annexPath: item.annexPath,
|
||||
});
|
||||
}
|
||||
// 被申请人案件附件
|
||||
if (item.annexType == 6) {
|
||||
this.quiltArr.push({
|
||||
annexName: item.annexName,
|
||||
annexPath: item.annexPath,
|
||||
});
|
||||
}
|
||||
// 笔录生成附件
|
||||
if (item.annexType == 7) {
|
||||
this.recordArr.push({
|
||||
annexName: item.annexName,
|
||||
annexPath: item.annexPath,
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.getUser();
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 根据案件id查询会议号
|
||||
reserveConferenceListFn(data){
|
||||
reserveConferenceList(data).then(res=>{
|
||||
this.roomId = res.data[0].roomId;
|
||||
this.startTime = res.data[0].scheduleStartTime;
|
||||
})
|
||||
},
|
||||
// 详情显示,展示申请人案件文件
|
||||
toFile(item, index) {
|
||||
window.open(
|
||||
window.location.origin + "/API" + this.applicateArr[index].annexPath,
|
||||
"_black"
|
||||
);
|
||||
},
|
||||
// 被申请人文件
|
||||
toFile1(item, index) {
|
||||
window.open(
|
||||
window.location.origin + "/API" + this.quiltArr[index].annexPath,
|
||||
"_black"
|
||||
);
|
||||
},
|
||||
// 庭审笔录附件
|
||||
toFile2(item, index) {
|
||||
window.open(
|
||||
window.location.origin + "/API" + this.recordArr[index].annexPath,
|
||||
"_black"
|
||||
);
|
||||
},
|
||||
getUser() {
|
||||
getUserProfile().then((response) => {
|
||||
this.user = response.data.userName;
|
||||
this.userId = response.data.userId;
|
||||
});
|
||||
},
|
||||
// 打开会议
|
||||
openmeeting() {
|
||||
// window.open('https://txroom.xayunmei.com');
|
||||
window.open(`https://txroom.xayunmei.com/#/home?name=${this.user}`);
|
||||
window.open(
|
||||
// `http://localhost:8081/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}`
|
||||
`https://txroom.xayunmei.com/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}&roomId=${this.roomId}`
|
||||
);
|
||||
},
|
||||
// 提交仲裁结果
|
||||
// 生成庭申笔录
|
||||
openArbitrationresults() {
|
||||
this.showArbitrationresults = true;
|
||||
},
|
||||
closeArbitrationresults() {
|
||||
this.showArbitrationresults = false;
|
||||
},
|
||||
submitForm() {
|
||||
this.$refs["form2"].validate((valid) => {
|
||||
if (valid) {
|
||||
writtenHear({
|
||||
caseAppliId: this.formData.id,
|
||||
evidenDetermi: this.form2.evidenDetermi,
|
||||
factDetermi: this.form2.factDetermi,
|
||||
caseSketch: this.form2.caseSketch,
|
||||
arbitrateThink: this.form2.arbitrateThink,
|
||||
rulingFollows: this.form2.rulingFollows,
|
||||
})
|
||||
.then((res) => {
|
||||
this.$modal.msgSuccess("提交成功");
|
||||
this.cancel();
|
||||
this.closeArbitrationresults();
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
})
|
||||
.catch((err) => {});
|
||||
}
|
||||
});
|
||||
attachListByCaseId({
|
||||
caseAppliId:this.formData.id,
|
||||
annexType:7
|
||||
}).then(res=>{
|
||||
console.log(res,"llllllll");
|
||||
if(res.data.length == 0){
|
||||
this.$modal.msgSuccess("请先进行会议");
|
||||
}else{
|
||||
this.recordArr = res.data;
|
||||
this.$modal.msgSuccess("生成成功");
|
||||
}
|
||||
})
|
||||
},
|
||||
// closeArbitrationresults() {
|
||||
// this.showArbitrationresults = false;
|
||||
// },
|
||||
// 提交庭审笔录弹框结果
|
||||
// submitForm() {
|
||||
// this.$refs["form2"].validate((valid) => {
|
||||
// if (valid) {
|
||||
// creatTrialRecord({
|
||||
// caseAppliId: this.formData.id,
|
||||
// evidenDetermi: this.form2.evidenDetermi,
|
||||
// factDetermi: this.form2.factDetermi,
|
||||
// caseSketch: this.form2.caseSketch,
|
||||
// arbitrateThink: this.form2.arbitrateThink,
|
||||
// rulingFollows: this.form2.rulingFollows,
|
||||
// isAbsence: this.form2.isAbsence,
|
||||
// appliIsAbsen: this.form2.appliIsAbsen,
|
||||
// responCrossOpin: this.form2.responCrossOpin,
|
||||
// applicaCrossOpin: this.form2.applicaCrossOpin,
|
||||
// responDefenOpini: this.form2.responDefenOpini,
|
||||
// })
|
||||
// .then((res) => {
|
||||
// res.data.caseAttachList.forEach((item) => {
|
||||
// if (item.annexType == 7) {
|
||||
// this.recordArr.push({
|
||||
// annexName: item.annexName,
|
||||
// annexPath: item.annexPath,
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
// this.$modal.msgSuccess("提交成功");
|
||||
// this.showsubmit = false;
|
||||
// this.closeArbitrationresults();
|
||||
// })
|
||||
// .catch((err) => { });
|
||||
// }
|
||||
// });
|
||||
// },
|
||||
cancel() {
|
||||
this.$emit("canceltrialincourt");
|
||||
},
|
||||
// 提交开庭审理结果
|
||||
submitResults() {
|
||||
console.log(this.formData.id, "this.formData.id");
|
||||
let id = this.formData.id;
|
||||
document({
|
||||
id: id,
|
||||
}).then((res) => {
|
||||
console.log(res, "提交开庭审理结果");
|
||||
if (res.code == 200) {
|
||||
this.$emit("getcaseApply", this.queryParams);
|
||||
this.cancel();
|
||||
}
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-dialog {
|
||||
width: 800px;
|
||||
width: 900px;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.endbutton {
|
||||
width: 154px;
|
||||
height: 37px;
|
||||
background: #0072ff;
|
||||
background: #488de2;
|
||||
border-radius: 19px;
|
||||
color: #ffffff;
|
||||
|
||||
span {
|
||||
width: 96px;
|
||||
height: 15px;
|
||||
@@ -357,19 +368,25 @@ export default {
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
.endbutton1 {
|
||||
width: 154px;
|
||||
height: 37px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d0d0d0;
|
||||
border-radius: 19px;
|
||||
span {
|
||||
width: 31px;
|
||||
height: 13px;
|
||||
font-size: 16px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
color: #959595;
|
||||
}
|
||||
// span {
|
||||
// width: 31px;
|
||||
// height: 13px;
|
||||
// font-size: 16px;
|
||||
// font-family: Microsoft YaHei;
|
||||
// font-weight: 400;
|
||||
color: #959595;
|
||||
// }
|
||||
}
|
||||
|
||||
.caseInfo {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,137 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog title="上传证据目录" :visible="uploadCaseVisable" @close="cancel" center :distroy-on-close="true">
|
||||
<el-upload class="upload-demo" :before-upload="beforeUpload" ref="upload" accept=".zip"
|
||||
action="https://jsonplaceholder.typicode.com/posts/" :action="UploadUrl()" :headers="headers"
|
||||
:data="filedata" :on-preview="handlePreview" :on-remove="handleRemove" :on-success="handleSuccess"
|
||||
:file-list="fileList" :auto-upload="false">
|
||||
<el-button slot="trigger" size="small" type="primary" :disabled="flagBtn">选取文件</el-button>
|
||||
<el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload"
|
||||
:disabled="flagBtn">上传压缩包</el-button>
|
||||
<div slot="tip" class="el-upload__tip">
|
||||
<div>结构示例</div>
|
||||
<el-tree :data="dataTip"></el-tree>
|
||||
<div>说明:1、压缩包目录结构为三级目录,
|
||||
2、第2级目录名称应为“申请书”或“证据材料”。</div>
|
||||
</div>
|
||||
</el-upload>
|
||||
<div class="title">证据目录结构</div>
|
||||
<el-tree :data="data" @node-click="handleNodeClick"></el-tree>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<!-- hearDate -->
|
||||
<script>
|
||||
import { evidenceTree } from '@/api/caseAccess/caseEntry.js'
|
||||
import { getToken } from "@/utils/auth";
|
||||
export default {
|
||||
props: ["uploadCaseVisable", "uploadCaseData"],
|
||||
data() {
|
||||
return {
|
||||
fileList: [],
|
||||
data: [],
|
||||
headers: {
|
||||
Authorization: "Bearer " + getToken(),
|
||||
},
|
||||
filedata: {
|
||||
id: this.uploadCaseData.id
|
||||
},
|
||||
flagBtn: false,
|
||||
dataTip: [{
|
||||
label: '压缩包名称',
|
||||
children: [{
|
||||
label: '申请书',
|
||||
children: [{
|
||||
label: '申请书名称.pdf'
|
||||
}]
|
||||
}, {
|
||||
label: '证据材料',
|
||||
children: [{
|
||||
label: '证据1.pdf'
|
||||
}, {
|
||||
label: '证据2.pdf'
|
||||
}]
|
||||
}]
|
||||
},],
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
uploadCaseVisable(val) {
|
||||
if (val) {
|
||||
this.evidenceTreeFn({ caseId: this.uploadCaseData.id })
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
UploadUrl() {
|
||||
return window.location.origin + "/API/caseApplication/uploadZipFile";
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("uploadCaseCancel");
|
||||
},
|
||||
submitUpload() {
|
||||
this.filedata.id = this.uploadCaseData.id
|
||||
this.$refs.upload.submit();
|
||||
},
|
||||
handleRemove(file, fileList) {
|
||||
console.log(file, fileList);
|
||||
},
|
||||
handlePreview(file) {
|
||||
console.log(file);
|
||||
},
|
||||
handleNodeClick(data) {
|
||||
console.log(data);
|
||||
let headPath = window.location.origin + "/API";
|
||||
if(data.annexPath){
|
||||
window.open(headPath + data.annexPath, "_blank")
|
||||
}
|
||||
},
|
||||
// 递归替换key
|
||||
setData(data) {
|
||||
data.forEach((val, i) => {
|
||||
val.label = val.evidenceName
|
||||
this.setData(val.children)
|
||||
})
|
||||
},
|
||||
// 获取证据目录
|
||||
evidenceTreeFn(data) {
|
||||
evidenceTree(data).then(res => {
|
||||
this.setData(res.data);
|
||||
this.data = res.data;
|
||||
if (this.data.length > 0) {
|
||||
this.flagBtn = true;
|
||||
} else {
|
||||
this.flagBtn = false;
|
||||
}
|
||||
})
|
||||
},
|
||||
handleSuccess() {
|
||||
this.evidenceTreeFn({ caseId: this.uploadCaseData.id })
|
||||
},
|
||||
beforeUpload(file) {
|
||||
console.log(file.type);
|
||||
const isZip = file.type === 'application/x-zip-compressed'
|
||||
if (!isZip) {
|
||||
this.$message.error('只能上传zip格式的文件')
|
||||
}
|
||||
return isZip
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.title {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 30px;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.el-upload__tip {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,66 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog title="案件流程" :visible="processVisable" @close="cancel" center :distroy-on-close="true">
|
||||
<div>
|
||||
<el-steps class="steps" :active="caseStatus">
|
||||
<el-step :title="item.caseNodeName || item.content" v-for="(item,index) in pageData.allCasenode" :key="index" :description="(item.createNickName || '') + (item.caseNodeTime || '')"></el-step>
|
||||
|
||||
</el-steps>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {selectCaseProgress} from '@/api/caseManagement/caseManagement'
|
||||
export default {
|
||||
props: ["processVisable","processData"],
|
||||
data() {
|
||||
return {
|
||||
processId:null,
|
||||
pageData:{},
|
||||
caseStatus:0
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
processVisable(val){
|
||||
if(val){
|
||||
this.processId = this.processData.id;
|
||||
this.selectCaseProgressFn({id:this.processId});
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
this.$emit("cancelViewProcess");
|
||||
},
|
||||
selectCaseProgressFn(data){
|
||||
selectCaseProgress(data).then(res=>{
|
||||
this.pageData = res.data.data;
|
||||
let allCasenode = res.data.data.allCasenode;
|
||||
allCasenode.forEach((item,index) => {
|
||||
if(item.caseNode==res.data.data.caseStatus){
|
||||
this.caseStatus = index
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.steps{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
::v-deep .el-step{
|
||||
// width: 150px;
|
||||
flex-basis:25% !important;
|
||||
margin-right: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,104 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
|
||||
<el-form-item label="案件编号" prop="caseNum">
|
||||
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%">
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="名称" align="center" prop="mailName" :show-overflow-tooltip="true" />
|
||||
<!-- <el-table-column label="证件号码" align="center" prop="caseNum" :show-overflow-tooltip="true" /> -->
|
||||
<el-table-column label="邮箱地址" align="center" prop="mailAddress" />
|
||||
<el-table-column label="发送时间" align="center" prop="sendTime" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="发送状态" align="center" prop="sendStatus" />
|
||||
<!-- <el-table-column label="文书类型" align="center" prop="hearDate" :show-overflow-tooltip="true" /> -->
|
||||
<!-- 缴费人 -->
|
||||
<!-- <el-table-column label="案件状态" align="center" prop="caseStatusName" /> -->
|
||||
<el-table-column label="内容" align="center" prop="mailContent"></el-table-column>
|
||||
</el-table>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getList(queryParams)" />
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
emailList,
|
||||
} from "@/api/deliveryRecord/deliveryRecord.js";
|
||||
|
||||
import { getDicts } from '@/api/system/dict/data.js'
|
||||
export default {
|
||||
name: "paymentList",
|
||||
dicts: ["case_status"],
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
caseStatus: [],
|
||||
// 遮罩层
|
||||
loading: false,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 表格数据
|
||||
form: {},
|
||||
// 校验表单
|
||||
rules: {},
|
||||
dataList: [],
|
||||
};
|
||||
},
|
||||
created() {
|
||||
getDicts("case_status").then(res => {
|
||||
this.caseStatus = res.data;
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList(this.queryParams);
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
// 查询列表数据
|
||||
getList(parms) {
|
||||
this.loading = true;
|
||||
emailList(parms).then((response) => {
|
||||
this.dataList = response.rows;
|
||||
this.dataList.forEach(item => {
|
||||
if (item.sendStatus == 0) {
|
||||
item.sendStatus = "未发送"
|
||||
} else if (item.sendStatus == 1) {
|
||||
item.sendStatus = "已发送"
|
||||
} else {
|
||||
item.sendStatus = "未发送"
|
||||
}
|
||||
})
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@@ -0,0 +1,100 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
|
||||
<el-form-item label="案件编号" prop="caseNum">
|
||||
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%">
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="手机号" align="center" prop="phone" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="发送时间" align="center" prop="sendTime" />
|
||||
<el-table-column label="发送状态" align="center" prop="sendStatus" />
|
||||
<el-table-column label="发送内容" align="center" prop="sendContent" :show-overflow-tooltip="true" />
|
||||
</el-table>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getList({caseNum:queryParams.caseNum},{pageNum:queryParams.pageNum,pageSize:queryParams.pageSize})" />
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
smsList,
|
||||
} from "@/api/deliveryRecord/deliveryRecord.js";
|
||||
|
||||
import { getDicts } from '@/api/system/dict/data.js'
|
||||
export default {
|
||||
name: "paymentList",
|
||||
dicts: ["case_status"],
|
||||
components: { },
|
||||
data() {
|
||||
return {
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
caseStatus: [],
|
||||
// 遮罩层
|
||||
loading: false,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 表格数据
|
||||
form: {},
|
||||
// 校验表单
|
||||
rules: {},
|
||||
dataList: [],
|
||||
};
|
||||
},
|
||||
created() {
|
||||
getDicts("case_status").then(res => {
|
||||
this.getList({caseNum:this.queryParams.caseNum},{pageNum:this.queryParams.pageNum,pageSize:this.queryParams.pageSize});
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList({caseNum:this.queryParams.caseNum},{pageNum:this.queryParams.pageNum,pageSize:this.queryParams.pageSize});
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
// 查询列表数据
|
||||
getList(data,params) {
|
||||
this.loading = true;
|
||||
smsList(data,params).then((response) => {
|
||||
this.dataList = response.rows;
|
||||
this.dataList.forEach(item=>{
|
||||
if(item.sendStatus == 0){
|
||||
item.sendStatus = "发送失败"
|
||||
}else if(item.sendStatus == 1){
|
||||
item.sendStatus = "已送达"
|
||||
}else if(item.sendStatus == 2){
|
||||
item.sendStatus = "已读取"
|
||||
}else{
|
||||
item.sendStatus = "发送失败"
|
||||
}
|
||||
})
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
+246
-60
@@ -1,93 +1,279 @@
|
||||
<template>
|
||||
<div class="app-container home">
|
||||
<el-row :gutter="20">
|
||||
<el-col :sm="24" :lg="24">
|
||||
智慧仲裁
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :sm="24" :lg="12" style="padding-left: 20px">
|
||||
<h2>我的待办事项</h2>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-divider />
|
||||
<div class="header">
|
||||
<div class="iconTitle"></div>
|
||||
<div class="headerMain">我的待办事项</div>
|
||||
</div>
|
||||
<div class="homeMain">
|
||||
<div class="cardList" v-hasPermi="['home:caseApply']" @click="pushPage(0)">
|
||||
<div class="badge">{{ dataCount.caseApply }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待立案申请</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyCheck']" @click="pushPage(1)">
|
||||
<div class="badge">{{ dataCount.caseApplyCheck }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待立案审查</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyPay']" @click="pushPage(2)">
|
||||
<div class="badge">{{ dataCount.caseApplyPay }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待缴费</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyPayCheck']" @click="pushPage(3)">
|
||||
<div class="badge">{{ dataCount.caseApplyPayCheck }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待缴费确认</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="cardList" v-hasPermi="['home:caseApplyEvidence']" @click="pushPage(4)">
|
||||
<div class="badge">{{ dataCount.caseApplyEvidence }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待案件质证</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyGroupCheck']" @click="pushPage(5)">
|
||||
<div class="badge">{{ dataCount.caseApplyGroupCheck }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待组庭审核</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyGroupConfirm']" @click="pushPage(6)">
|
||||
<div class="badge">{{ dataCount.caseApplyGroupConfirm }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待组庭确定</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyArbitrateWay']" @click="pushPage(7)">
|
||||
<div class="badge">{{ dataCount.caseApplyArbitrateWay }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待审核仲裁方式</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseModifyHearDate']" @click="pushPage(31)">
|
||||
<div class="badge">{{ dataCount.updateOnlineHearDate }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待确认开庭时间</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyGroupOnline']" @click="pushPage(8)">
|
||||
<div class="badge">{{ dataCount.caseApplyGroupOnline }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待开庭审理</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyGroupOffline']" @click="pushPage(9)">
|
||||
<div class="badge">{{ dataCount.caseApplyGroupOffline }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待书面审理</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyAwardCheck']" @click="pushPage(11)">
|
||||
<div class="badge">{{ dataCount.caseApplyAwardCheck }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待核验仲裁文书</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyAwardConfirm']" @click="pushPage(12)">
|
||||
<div class="badge">{{ dataCount.caseApplyAwardConfirm }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待审核仲裁文书</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyAwardSignature']" @click="pushPage(13)">
|
||||
<div class="badge">{{ dataCount.caseApplyAwardSign }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待仲裁文书签名</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyAwardSignature']" @click="pushPage(14)">
|
||||
<div class="badge">{{ dataCount.caseApplyAwardSeal }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待仲裁文书用印</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyAwardSend']" @click="pushPage(15)">
|
||||
<div class="badge">{{ dataCount.caseApplyAwardSend }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待仲裁文书送达</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cardList" v-hasPermi="['home:caseApplyStored']" @click="pushPage(16)">
|
||||
<div class="badge">{{ dataCount.caseApplyStored }}</div>
|
||||
<div class="cardMain">
|
||||
<img class="iconImg" src="@/assets/images/daishencha.png" alt="">
|
||||
</div>
|
||||
<div class="cardMain">
|
||||
<div class="imgTitle">待案件归档</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
toDoCount
|
||||
} from "@/api/home.js";
|
||||
export default {
|
||||
name: "Index",
|
||||
data() {
|
||||
return {
|
||||
dataCount: {
|
||||
|
||||
}
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
goTarget(href) {
|
||||
window.open(href, "_blank");
|
||||
// 获取数字角标数量
|
||||
getToDoCount() {
|
||||
toDoCount().then(res => {
|
||||
this.dataCount = res.data;
|
||||
})
|
||||
},
|
||||
// 点击代办案件按钮
|
||||
pushPage(status) {
|
||||
if (status == 0 || status == 1 || status == 2 || status == 5 || status == 6 || status == 7 || status == 31 || status == 8 || status == 9) {
|
||||
this.$router.push({ name: 'CaseManagement/caseList', params: { status: status } })
|
||||
} else if (status == 11 || status == 12 || status == 13 || status == 14 || status == 15 || status == 16) {
|
||||
this.$router.push({ name: 'AwardManagement/listofAwards', params: { status: status } })
|
||||
} else if (status == 3){
|
||||
this.$router.push({ name: 'PaymentManagement/paymentList', params: { status: status } })
|
||||
}
|
||||
}
|
||||
// goTarget(href) {
|
||||
// window.open(href, "_blank");
|
||||
// }
|
||||
},
|
||||
created() {
|
||||
this.getToDoCount()
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.home {
|
||||
blockquote {
|
||||
padding: 10px 20px;
|
||||
margin: 0 0 20px;
|
||||
font-size: 17.5px;
|
||||
border-left: 5px solid #eee;
|
||||
}
|
||||
hr {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
border: 0;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
.col-item {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
color: #676a6c;
|
||||
overflow-x: hidden;
|
||||
background-color: #f1f1f1;
|
||||
height: 100vh;
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
.header {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
h4 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
.iconTitle {
|
||||
width: 5px;
|
||||
height: 25px;
|
||||
background-color: #0f5c9b;
|
||||
margin-right: 25px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 10px;
|
||||
font-size: 26px;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 10px;
|
||||
|
||||
b {
|
||||
font-weight: 700;
|
||||
.headerMain {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.update-log {
|
||||
ol {
|
||||
display: block;
|
||||
list-style-type: decimal;
|
||||
margin-block-start: 1em;
|
||||
margin-block-end: 1em;
|
||||
margin-inline-start: 0;
|
||||
margin-inline-end: 0;
|
||||
padding-inline-start: 40px;
|
||||
.homeMain {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
// justify-content: space-between;
|
||||
.cardList {
|
||||
width: 14%;
|
||||
height: 200px;
|
||||
border-radius: 30px;
|
||||
background-color: #ffffff;
|
||||
position: relative;
|
||||
margin-right: 30px;
|
||||
margin-bottom: 30px;
|
||||
|
||||
.badge {
|
||||
width: 50px;
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
color: #e32a4f;
|
||||
border-radius: 10px 30px 10px 30px;
|
||||
background-color: #05baf1;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.cardMain {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 20px;
|
||||
|
||||
.iconImg {
|
||||
width: 100px;
|
||||
height: 110px;
|
||||
}
|
||||
|
||||
.imgTitle {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="login">
|
||||
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
|
||||
<h3 class="title">智慧仲裁后台管理系统</h3>
|
||||
<h3 class="title">智慧仲裁系统</h3>
|
||||
<el-form-item prop="username">
|
||||
<el-input
|
||||
v-model="loginForm.username"
|
||||
@@ -56,7 +56,7 @@
|
||||
</el-form>
|
||||
<!-- 底部 -->
|
||||
<div class="el-login-footer">
|
||||
<span>Copyright © 2018-2023 Smart arbitration.vip All Rights Reserved.</span>
|
||||
<span>Copyright © 2023 乙巢(上海)企业管理服务有限公司</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -72,8 +72,8 @@ export default {
|
||||
return {
|
||||
codeUrl: "",
|
||||
loginForm: {
|
||||
username: "admin",
|
||||
password: "admin123",
|
||||
username: "",
|
||||
password: "",
|
||||
rememberMe: false,
|
||||
code: "",
|
||||
uuid: ""
|
||||
@@ -161,7 +161,7 @@ export default {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
background-image: url("../assets/images/login-background.jpg");
|
||||
background-image: url("../assets/images/loginbg.jpg");
|
||||
background-size: cover;
|
||||
}
|
||||
.title {
|
||||
|
||||
@@ -0,0 +1,124 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog :title="title" :visible="operateVisable" v-if="operateVisable" @close="cancel" width="600px" center
|
||||
:distroy-on-close="true">
|
||||
|
||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="130px" class="demo-ruleForm">
|
||||
<el-form-item label="机构名称" prop="identifyName">
|
||||
<el-input v-model="ruleForm.identifyName"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="机构邮箱" prop="identifyEmail">
|
||||
<el-input v-model="ruleForm.identifyEmail"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="经办人姓名" prop="operName">
|
||||
<el-input v-model="ruleForm.operName"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="经办人用户名" prop="operUserName">
|
||||
<el-input v-model="ruleForm.operUserName"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="经办人手机号" prop="operPhone">
|
||||
<el-input v-model="ruleForm.operPhone"></el-input>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="机构信用代码" prop="creditCode">
|
||||
<el-input v-model="ruleForm.creditCode"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="法人姓名" prop="legalPerName">
|
||||
<el-input v-model="ruleForm.legalPerName"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="法人手机号" prop="legalPerPhone">
|
||||
<el-input v-model="ruleForm.legalPerPhone"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton"><span>取 消</span></el-button>
|
||||
<el-button type="primary" @click="submitForm" class="endbutton"><span>确认</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
insert,
|
||||
} from "@/api/officialSeal/officialSeal.js";
|
||||
import { listUser } from '@/api/system/user.js'
|
||||
export default {
|
||||
props: ["operateVisable", "queryParams"],
|
||||
data() {
|
||||
return {
|
||||
title: "新增机构",
|
||||
ruleForm: {},
|
||||
rules: {
|
||||
identifyName: [
|
||||
{ required: true, message: '请输入机构名称', trigger: 'blur' },
|
||||
],
|
||||
// operName: [
|
||||
// { required: true, message: '请输入经办人姓名', trigger: 'blur' },
|
||||
// ],
|
||||
// operPhone: [
|
||||
// { required: true, message: '请输入经办人手机号', trigger: 'blur' },
|
||||
// { pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/, message: '请输入正确的手机号码', trigger: 'blur', },
|
||||
// ],
|
||||
creditCode: [
|
||||
{ required: true, message: '请输入机构信用代码', trigger: 'blur' },
|
||||
],
|
||||
legalPerName: [
|
||||
{ required: true, message: '请输入法人姓名', trigger: 'blur' },
|
||||
],
|
||||
legalPerPhone: [
|
||||
{ required: true, message: '请输入法人手机号', trigger: 'blur' },
|
||||
{ pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/, message: '请输入正确的手机号码', trigger: 'blur', },
|
||||
],
|
||||
// operUserName: [
|
||||
// { required: true, message: '请输入经办人用户名', trigger: 'blur' },
|
||||
// ],
|
||||
identifyEmail: [
|
||||
{ required: true, message: '请输入邮箱', trigger: 'blur' },
|
||||
{ type: 'email', message: '请输入正确的邮箱地址', trigger: 'blur' }
|
||||
]
|
||||
}
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
operateVisable(val) {
|
||||
if (val) {
|
||||
}
|
||||
},
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 新增部门
|
||||
insertFn(data) {
|
||||
insert(data).then(res => {
|
||||
this.$modal.msgSuccess("新增成功!");
|
||||
this.$emit("cancelFilingreview");
|
||||
this.$emit('getList', this.queryParams);
|
||||
})
|
||||
},
|
||||
// 提交form表单
|
||||
submitForm() {
|
||||
this.$refs['ruleForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.insertFn(this.ruleForm)
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancelFilingreview");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.steps {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.radiobox {
|
||||
margin-top: 30px;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,123 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog title="新增模板" :visible="uploadVisable" v-if="uploadVisable" @close="cancel" width="600px" center>
|
||||
<el-form :model="ruleForm" label-position="left" :rules="rules" ref="ruleForm" label-width="90px"
|
||||
class="demo-ruleForm">
|
||||
<el-form-item label="模板名称" prop="temName">
|
||||
<el-input v-model="ruleForm.temName"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="模板类型" prop="temType">
|
||||
<el-select v-model="ruleForm.temType" placeholder="请选择">
|
||||
<el-option v-for="dict in dict.type.template_type" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="机构名称" prop="identifyId">
|
||||
<el-select v-model="ruleForm.identifyId" placeholder="请选择">
|
||||
<el-option v-for="item in tempList" :key="item.id" :label="item.identifyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-upload class="avatar-uploader" :before-upload="beforeUpload" :on-success="handleSuccess" ref="upload"
|
||||
:action="UploadUrl()" :headers="headers" :data="filedata" :on-remove="handleRemove"
|
||||
:on-change="handleChange" accept=".doc,.docx" :file-list="fileList" :auto-upload="false">
|
||||
<el-button size="small" type="primary">选择模板文件</el-button>
|
||||
</el-upload>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton"><span>取 消</span></el-button>
|
||||
<el-button type="primary" @click="submitUpload" class="endbutton"><span>确认</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { getToken } from "@/utils/auth";
|
||||
import {
|
||||
deptIdentifyList,
|
||||
} from "@/api/officialSeal/officialSeal.js";
|
||||
export default {
|
||||
props: ["uploadVisable", "uploadData", "queryParams"],
|
||||
dicts: ["template_type"],
|
||||
data() {
|
||||
return {
|
||||
fileList: [],
|
||||
data: [],
|
||||
tempList: [],
|
||||
isImg:false,
|
||||
headers: {
|
||||
Authorization: "Bearer " + getToken(),
|
||||
},
|
||||
filedata: {},
|
||||
flagBtn: false,
|
||||
ruleForm: {},
|
||||
rules: {
|
||||
temName: [
|
||||
{ required: true, message: '请输入模板名称', trigger: 'blur' },
|
||||
],
|
||||
temType: [
|
||||
{ required: true, message: '请输入模板名称', trigger: 'blur' },
|
||||
],
|
||||
identifyId: [
|
||||
{ required: true, message: '请输入模板名称', trigger: 'blur' },
|
||||
]
|
||||
}
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
uploadVisable(val) {
|
||||
if (val) {
|
||||
let queryParams = {
|
||||
pageNum: 1,
|
||||
pageSize: 10000000000000000000000,
|
||||
};
|
||||
deptIdentifyList(queryParams).then(res => {
|
||||
this.tempList = res.rows;
|
||||
})
|
||||
this.ruleForm = {}
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
this.$emit("cancelUpload");
|
||||
},
|
||||
handleChange(file, fileList) {
|
||||
this.isImg = file.type === '.doc' || '.docx'
|
||||
},
|
||||
UploadUrl() {
|
||||
return window.location.origin + "/API/deptIdentify/insertTemplate";
|
||||
},
|
||||
submitUpload() {
|
||||
this.$refs['ruleForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.filedata.identifyId = this.ruleForm.identifyId;
|
||||
this.filedata.temName = this.ruleForm.temName;
|
||||
if (this.isImg) {
|
||||
this.$refs.upload.submit();
|
||||
}else{
|
||||
this.$message.error('只能上传doc,docx格式的文件')
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
handleRemove(file, fileList) {
|
||||
console.log(file, fileList);
|
||||
},
|
||||
beforeUpload(file) {
|
||||
// debugger
|
||||
// this.isImg = file.type === '.doc' || '.docx'
|
||||
},
|
||||
handleSuccess() {
|
||||
this.$message.success('上传成功');
|
||||
this.$emit("cancelUpload");
|
||||
this.$emit('getList', this.queryParams);
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@@ -0,0 +1,127 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog title="修改模板" :visible="editVisable" v-if="editVisable" @close="cancel" width="600px" center>
|
||||
<el-form :model="ruleForm" label-position="left" :rules="rules" ref="ruleForm" label-width="90px"
|
||||
class="demo-ruleForm">
|
||||
<el-form-item label="模板名称" prop="temName">
|
||||
<el-input v-model="ruleForm.temName"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="模板类型" prop="temType">
|
||||
<el-select v-model="ruleForm.temType" placeholder="请选择">
|
||||
<el-option v-for="dict in dict.type.template_type" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="当前模板">
|
||||
<span style="color: #0e5ce3;cursor:pointer" @click="openUrl(editData.temOrigPath)">{{ editData.fileName
|
||||
}}</span>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-upload class="avatar-uploader" :before-upload="beforeUpload" :on-success="handleSuccess" ref="upload"
|
||||
:action="UploadUrl()" :headers="headers" :data="filedata" :on-remove="handleRemove"
|
||||
:on-change="handleChange" accept=".doc,.docx" :file-list="fileList" :auto-upload="false">
|
||||
<el-button size="small" type="primary">选择模板文件</el-button>
|
||||
</el-upload>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton"><span>取 消</span></el-button>
|
||||
<el-button type="primary" @click="submitUpload" class="endbutton"><span>确认</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { getToken } from "@/utils/auth";
|
||||
import { updateTemplate } from "@/api/officialSeal/officialSeal"
|
||||
export default {
|
||||
props: ["editVisable", "editData", "queryParams"],
|
||||
dicts: ["template_type"],
|
||||
data() {
|
||||
return {
|
||||
fileList: [],
|
||||
data: [],
|
||||
headers: {
|
||||
Authorization: "Bearer " + getToken(),
|
||||
},
|
||||
isImg: true,
|
||||
filedata: {},
|
||||
flagBtn: false,
|
||||
ruleForm: {},
|
||||
rules: {
|
||||
temName: [
|
||||
{ required: true, message: '请输入模板名称', trigger: 'blur' },
|
||||
],
|
||||
temType: [
|
||||
{ required: true, message: '请输入模板名称', trigger: 'blur' },
|
||||
],
|
||||
}
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
editData(val) {
|
||||
if (val) {
|
||||
this.ruleForm = val;
|
||||
this.fileList = [];
|
||||
this.ruleForm.temType = this.ruleForm.temType + '';
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 打开链接
|
||||
openUrl(urlTemp) {
|
||||
let headPath = window.location.origin + "/API/";
|
||||
window.open(headPath + urlTemp);
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancelEdit");
|
||||
},
|
||||
handleChange(file, fileList) {
|
||||
this.isImg = file.type === '.doc' || '.docx';
|
||||
this.fileList = fileList;
|
||||
},
|
||||
UploadUrl() {
|
||||
return window.location.origin + "/API/deptIdentify/updateTemplate";
|
||||
},
|
||||
submitUpload() {
|
||||
let that = this;
|
||||
this.$refs['ruleForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
if (that.fileList.length > 0) {
|
||||
that.filedata.id = that.editData.id;
|
||||
that.filedata.temName = that.ruleForm.temName;
|
||||
if (that.isImg) {
|
||||
that.$refs.upload.submit();
|
||||
} else {
|
||||
that.$message.error('只能上传doc,docx格式的文件')
|
||||
}
|
||||
} else {
|
||||
updateTemplate({
|
||||
id: that.editData.id,
|
||||
temName: that.ruleForm.temName
|
||||
}).then(res => {
|
||||
that.$message.success('修改成功');
|
||||
that.$emit("cancelEdit");
|
||||
that.$emit('getList', that.queryParams);
|
||||
})
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
handleRemove(file, fileList) {
|
||||
console.log(file, fileList);
|
||||
},
|
||||
beforeUpload(file) {
|
||||
// this.isImg = file.type === '.doc' || '.docx'
|
||||
},
|
||||
handleSuccess() {
|
||||
this.$message.success('修改成功');
|
||||
this.$emit("cancelEdit");
|
||||
this.$emit('getList', this.queryParams);
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@@ -0,0 +1,112 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog :title="title" :visible="editVisable" v-if="editVisable" @close="cancel" width="600px" center
|
||||
:distroy-on-close="true">
|
||||
<el-form :model="editForm" :rules="rules" ref="editForm" label-width="130px" class="demo-editForm">
|
||||
<el-form-item label="机构名称" prop="identifyName">
|
||||
<el-input v-model="editForm.identifyName"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="机构邮箱" prop="identifyEmail">
|
||||
<el-input v-model="editForm.identifyEmail"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="机构信用代码" prop="creditCode">
|
||||
<el-input v-model="editForm.creditCode"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="法人姓名" prop="legalPerName">
|
||||
<el-input v-model="editForm.legalPerName"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="法人手机号" prop="legalPerPhone">
|
||||
<el-input v-model="editForm.legalPerPhone"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton"><span>取 消</span></el-button>
|
||||
<el-button type="primary" @click="submitForm" class="endbutton"><span>确认</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
sealUpdate
|
||||
} from "@/api/officialSeal/officialSeal.js";
|
||||
export default {
|
||||
props: ["editVisable","editData","queryParams"],
|
||||
data() {
|
||||
return {
|
||||
title: "修改机构",
|
||||
editForm: {},
|
||||
rules: {
|
||||
identifyName: [
|
||||
{ required: true, message: '请输入机构名称', trigger: 'blur' },
|
||||
],
|
||||
creditCode: [
|
||||
{ required: true, message: '请输入机构信用代码', trigger: 'blur' },
|
||||
],
|
||||
legalPerName: [
|
||||
{ required: true, message: '请输入法人姓名', trigger: 'blur' },
|
||||
],
|
||||
legalPerPhone: [
|
||||
{ required: true, message: '请输入法人手机号', trigger: 'blur' },
|
||||
{ pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/, message: '请输入正确的手机号码', trigger: 'blur', },
|
||||
],
|
||||
// operUserName: [
|
||||
// { required: true, message: '请输入经办人用户名', trigger: 'blur' },
|
||||
// ],
|
||||
identifyEmail: [
|
||||
{ required: true, message: '请输入邮箱', trigger: 'blur' },
|
||||
{ type: 'email', message: '请输入正确的邮箱地址', trigger: 'blur' }
|
||||
]
|
||||
}
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
editVisable(val) {
|
||||
if (val) {
|
||||
this.editForm = this.editData;
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 编辑
|
||||
sealUpdateFn(data) {
|
||||
sealUpdate(data).then(res => {
|
||||
this.$modal.msgSuccess("修改成功!");
|
||||
this.$emit("cancelEdit");
|
||||
this.$emit('getList',this.queryParams);
|
||||
})
|
||||
},
|
||||
// 提交form表单
|
||||
submitForm() {
|
||||
this.$refs['editForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.sealUpdateFn({
|
||||
identifyName:this.editForm.identifyName,
|
||||
operName:this.editForm.operName,
|
||||
operPhone:this.editForm.operPhone,
|
||||
id:this.editForm.id,
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancelEdit");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.steps {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.radiobox {
|
||||
margin-top: 30px;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,117 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog title="公章列表" :visible="sealVisable" @close="cancel" width="800px" center :distroy-on-close="true">
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%">
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="印章名称" align="center" prop="sealName"
|
||||
:show-overflow-tooltip="true"></el-table-column>
|
||||
<el-table-column label="印章图片" align="center" prop="annexPath">
|
||||
<template slot-scope="scope">
|
||||
<el-image style="width: 40px; height: 40px;" :src="imgUrl + scope.row.annexPath"
|
||||
:preview-src-list="[imgUrl + scope.row.annexPath]">
|
||||
</el-image>
|
||||
<!-- <span>{{ imgUrl + scope.row.annexPath }}</span> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否启用" align="center" prop="sealStatus">
|
||||
<template slot-scope="scope">
|
||||
<el-tag type="success" v-if="scope.row.isUse == 1">已启用</el-tag>
|
||||
<el-tag type="info"
|
||||
v-if="(scope.row.isUse == 0 || scope.row.isUse == null) && scope.row.sealStatus !== 0">未启用</el-tag>
|
||||
<el-tag type="danger" v-if="scope.row.sealStatus == 0">审核中</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" @click="isUseChange(scope.row.id, 1)" type="text" icon="el-icon-thumb"
|
||||
v-if="(scope.row.isUse == 0 || scope.row.isUse == null) && scope.row.sealStatus !== 0">启用</el-button>
|
||||
<el-button size="mini" @click="isUseChange(scope.row.id, 0)" type="text" icon="el-icon-thumb"
|
||||
v-if="scope.row.isUse == 1">禁用</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize" @pagination="sealListFn(queryParams)" />
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
sealList,
|
||||
updateSealLockStatus
|
||||
} from "@/api/officialSeal/officialSeal.js";
|
||||
export default {
|
||||
props: ["sealVisable", "sealData"],
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
srcList: [],
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
dataList: [
|
||||
|
||||
],
|
||||
total: 0,
|
||||
imgUrl: ""
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
sealVisable(val) {
|
||||
if (val) {
|
||||
this.queryParams.id = this.sealData.id;
|
||||
this.sealListFn(this.queryParams)
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.UploadUrl()
|
||||
},
|
||||
methods: {
|
||||
UploadUrl() {
|
||||
this.imgUrl = window.location.origin + '/API';
|
||||
},
|
||||
// 查询列表数据
|
||||
sealListFn(data) {
|
||||
this.loading = true;
|
||||
sealList(data).then(res => {
|
||||
this.dataList = res.rows;
|
||||
this.total = res.total;
|
||||
this.loading = false;
|
||||
})
|
||||
},
|
||||
// 更新公章状态
|
||||
updateSealLockStatusFn(data) {
|
||||
updateSealLockStatus(data).then(res => {
|
||||
this.$message.success('更新状态成功');
|
||||
this.sealListFn(this.queryParams);
|
||||
})
|
||||
},
|
||||
// 启用或者禁用公章
|
||||
isUseChange(id, type) {
|
||||
let params = {
|
||||
id: id,
|
||||
isUse: type
|
||||
}
|
||||
this.$modal
|
||||
.confirm("是否更改状态")
|
||||
.then((res) => {
|
||||
this.updateSealLockStatusFn(params);
|
||||
})
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancelSeal");
|
||||
},
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@@ -0,0 +1,128 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog title="上传公章" :visible="uploadVisable" v-if="uploadVisable" @close="cancel" width="600px" center>
|
||||
<el-form :model="ruleForm" label-position="left" :rules="rules" ref="ruleForm" label-width="90px"
|
||||
class="demo-ruleForm">
|
||||
<el-form-item label="印章名称" prop="sealName">
|
||||
<el-input v-model="ruleForm.sealName"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-upload class="avatar-uploader" accept="image/png" :before-upload="beforeUpload" :on-success="handleSuccess" ref="upload"
|
||||
:action="UploadUrl()" :headers="headers" :data="filedata" :on-remove="handleRemove"
|
||||
:on-change="handleChange" :show-file-list="false" :file-list="fileList" :auto-upload="false">
|
||||
<img v-if="imageUrl" :src="imageUrl" class="avatar">
|
||||
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
|
||||
</el-upload>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="cancel" class="endbutton"><span>取 消</span></el-button>
|
||||
<el-button type="primary" @click="submitUpload" class="endbutton"><span>确认</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { getToken } from "@/utils/auth";
|
||||
export default {
|
||||
props: ["uploadVisable", "uploadData"],
|
||||
data() {
|
||||
return {
|
||||
fileList: [],
|
||||
data: [],
|
||||
headers: {
|
||||
Authorization: "Bearer " + getToken(),
|
||||
},
|
||||
filedata: {
|
||||
id: this.uploadData.id
|
||||
},
|
||||
flagBtn: false,
|
||||
imageUrl: "",
|
||||
ruleForm: {},
|
||||
rules: {
|
||||
sealName: [
|
||||
{ required: true, message: '请输入印章名称', trigger: 'blur' },
|
||||
],
|
||||
}
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
uploadVisable(val) {
|
||||
if (val) {
|
||||
this.imageUrl = "",
|
||||
this.ruleForm = {}
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
cancel() {
|
||||
this.$emit("cancelUpload");
|
||||
},
|
||||
handleChange(file, fileList) {
|
||||
this.imageUrl = URL.createObjectURL(file.raw);
|
||||
},
|
||||
UploadUrl() {
|
||||
return window.location.origin + "/API/deptIdentify/sealUpload";
|
||||
},
|
||||
submitUpload() {
|
||||
this.$refs['ruleForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.filedata.id = this.uploadData.id;
|
||||
this.filedata.sealName = this.ruleForm.sealName;
|
||||
this.$refs.upload.submit();
|
||||
|
||||
}
|
||||
});
|
||||
},
|
||||
handleRemove(file, fileList) {
|
||||
console.log(file, fileList);
|
||||
},
|
||||
beforeUpload(file) {
|
||||
const isImg = file.type === 'image/png'
|
||||
if (!isImg) {
|
||||
this.$message.error('只能上传图片格式的文件')
|
||||
}
|
||||
return isImg
|
||||
},
|
||||
handleSuccess(response) {
|
||||
if (response.code == 200) {
|
||||
this.$message.success('上传成功');
|
||||
this.cancel()
|
||||
} else {
|
||||
this.$message.error(response.msg);
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .avatar-uploader .el-upload {
|
||||
width: 178px;
|
||||
height: 178px;
|
||||
border: 1px dashed #d9d9d9;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
margin-left: 90px;
|
||||
}
|
||||
|
||||
::v-deep .avatar-uploader .el-upload:hover {
|
||||
border-color: #409EFF;
|
||||
}
|
||||
|
||||
::v-deep .avatar-uploader-icon {
|
||||
font-size: 28px;
|
||||
color: #8c939d;
|
||||
width: 178px;
|
||||
height: 178px;
|
||||
line-height: 178px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
::v-deep .avatar {
|
||||
width: 178px;
|
||||
height: 178px;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,280 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="addInstitution">新增部门</el-button>
|
||||
<!-- v-hasPermi="['caseManagement:list:add']" -->
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%">
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="仲裁机构名称" align="center" prop="identifyName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="经办人姓名" align="center" prop="operName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="经办人手机号" align="center" prop="operPhone" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="认证时间" align="center" prop="identifyDate" />
|
||||
<el-table-column label="认证状态" align="center" prop="identifyStatus" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="是否启用" align="center" prop="isUse"></el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" @click="DeptIndefiUrl(scope.row)" type="text" icon="el-icon-thumb"
|
||||
v-if="scope.row.identifyStatus == '未认证'">认证</el-button>
|
||||
<el-button size="mini" @click="changeStatus(scope.row)" type="text" icon="el-icon-thumb"
|
||||
v-if="scope.row.isUse == '未启用' && scope.row.identifyStatus == '已认证'">启用</el-button>
|
||||
<el-button size="mini" @click="uploadSeal(scope.row)" type="text"
|
||||
v-if="scope.row.identifyStatus == '已认证'" icon="el-icon-upload2">上传公章</el-button>
|
||||
<el-button size="mini" @click="sealManage(scope.row)" type="text"
|
||||
v-if="scope.row.identifyStatus == '已认证'" icon="el-icon-upload2">公章管理</el-button>
|
||||
<el-button size="mini" @click="sealDelete(scope.row)" v-if="scope.row.identifyStatus == '未认证'"
|
||||
type="text" icon="el-icon-delete">删除</el-button>
|
||||
<el-button size="mini" @click="eidtSeal(scope.row)" type="text" v-if="scope.row.identifyStatus == '未认证'"
|
||||
icon="el-icon-edit">修改</el-button>
|
||||
<el-button size="mini" @click="selectUser(scope.row)" type="text"
|
||||
v-if="scope.row.identifyStatus == '未认证'" icon="el-icon-edit">选择经办人</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getList(queryParams)" />
|
||||
<addInstitution :operateVisable="operateVisable" @cancelFilingreview="cancelFilingreview" :queryParams="queryParams"
|
||||
@getList="getList">
|
||||
</addInstitution>
|
||||
<uploadSeal :uploadVisable="uploadVisable" @cancelUpload="cancelUpload" :queryParams="queryParams"
|
||||
:uploadData="uploadData" @getList="getList">
|
||||
</uploadSeal>
|
||||
<sealManage :sealVisable="sealVisable" @cancelSeal="cancelSeal" :queryParams="queryParams" :sealData="sealData">
|
||||
</sealManage>
|
||||
<eidtInstitution :editVisable="editVisable" @cancelEdit="cancelEdit" :queryParams="queryParams" @getList="getList"
|
||||
:editData="editData"></eidtInstitution>
|
||||
<el-dialog title="选择经办人" :visible.sync="selectVisible" width="600px" @close="selectClose">
|
||||
<el-form :model="slectFrom" :rules="rules" ref="slectFrom" label-width="80px">
|
||||
<el-form-item label="经办人" prop="id">
|
||||
<el-select v-model="slectFrom.id" clearable placeholder="请选择">
|
||||
<el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="selectClose" class="endbutton"><span>取 消</span></el-button>
|
||||
<el-button type="primary" @click="submitUser" class="endbutton"><span>确认</span></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
deptIdentifyList,
|
||||
enableDept,
|
||||
selectDeptIndefiUrl,
|
||||
deleteSeal,
|
||||
selectPostUserByDeptId,
|
||||
bindHandler
|
||||
} from "@/api/officialSeal/officialSeal.js";
|
||||
|
||||
import addInstitution from "./components/addInstitution";
|
||||
import uploadSeal from "./components/uploadSeal";
|
||||
import sealManage from "./components/sealManage";
|
||||
import eidtInstitution from "./components/eidtInstitution";
|
||||
export default {
|
||||
name: "paymentList",
|
||||
components: {
|
||||
addInstitution,
|
||||
uploadSeal,
|
||||
sealManage,
|
||||
eidtInstitution
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
// 遮罩层
|
||||
loading: false,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 表格数据
|
||||
form: {},
|
||||
// 校验表单
|
||||
rules: {},
|
||||
dataList: [1],
|
||||
operateVisable: false,//新增弹窗
|
||||
uploadVisable: false,//上传弹窗
|
||||
sealVisable: false,//公章列表弹窗
|
||||
uploadData: {},
|
||||
sealData: {},
|
||||
editVisable: false,
|
||||
editData: {},
|
||||
selectVisible: false,
|
||||
slectFrom: {},
|
||||
userList: [],
|
||||
templateId: null,
|
||||
rules: {
|
||||
id: [
|
||||
{ required: true, message: '请选择经办人', trigger: 'blur' },
|
||||
]
|
||||
}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getList(this.queryParams)
|
||||
},
|
||||
methods: {
|
||||
// 选择经办人
|
||||
selectUser(row) {
|
||||
this.selectVisible = true;
|
||||
this.templateId = row.id;
|
||||
selectPostUserByDeptId({ id: row.id }).then(res => {
|
||||
this.userList = res.data;
|
||||
if (row.userId) {
|
||||
this.slectFrom.id = row.userId;
|
||||
} else {
|
||||
this.slectFrom = {};
|
||||
}
|
||||
})
|
||||
},
|
||||
// 确认经办人
|
||||
submitUser() {
|
||||
this.$refs['slectFrom'].validate((valid) => {
|
||||
if (valid) {
|
||||
bindHandler({ id: this.templateId, userId: this.slectFrom.id }).then(res => {
|
||||
this.$modal.msgSuccess("选择成功");
|
||||
this.selectVisible = false;
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
selectClose() {
|
||||
this.selectVisible = false;
|
||||
},
|
||||
// 删除
|
||||
sealDelete(row) {
|
||||
this.$modal
|
||||
.confirm("是否更改状态")
|
||||
.then((res) => {
|
||||
this.deleteSealFn({ id: row.id })
|
||||
})
|
||||
},
|
||||
// 删除接口
|
||||
deleteSealFn(data) {
|
||||
deleteSeal(data).then(res => {
|
||||
this.$modal.msgSuccess("删除成功!");
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
},
|
||||
// 公章管理
|
||||
sealManage(row) {
|
||||
this.sealVisable = true;
|
||||
this.sealData = row;
|
||||
},
|
||||
cancelSeal() {
|
||||
this.sealVisable = false;
|
||||
},
|
||||
// 上传公章
|
||||
uploadSeal(row) {
|
||||
this.uploadVisable = true;
|
||||
this.uploadData = row;
|
||||
},
|
||||
closeUploadSeal(){
|
||||
this.uploadVisable = false
|
||||
},
|
||||
cancelFilingreview() {
|
||||
this.operateVisable = false;
|
||||
},
|
||||
cancelUpload() {
|
||||
this.uploadVisable = false;
|
||||
},
|
||||
// 新增部门
|
||||
addInstitution() {
|
||||
this.operateVisable = true;
|
||||
},
|
||||
// 编辑
|
||||
eidtSeal(row) {
|
||||
this.editVisable = true;
|
||||
this.editData = row;
|
||||
},
|
||||
cancelEdit() {
|
||||
this.editVisable = false;
|
||||
},
|
||||
// 启用认证按钮
|
||||
changeStatus(row) {
|
||||
this.$modal.confirm('是否进行启用?')
|
||||
.then(function () {
|
||||
|
||||
})
|
||||
.then(() => {
|
||||
enableDept({ id: row.id }).then(res => {
|
||||
this.$modal.msgSuccess("启用成功!");
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
|
||||
})
|
||||
.catch(function () {
|
||||
});
|
||||
},
|
||||
// 认证按钮
|
||||
DeptIndefiUrl(row) {
|
||||
if (!row.operName || !row.legalPerPhone) {
|
||||
this.$modal.msgError("当前没有经办人 ,无法认证!!");
|
||||
return
|
||||
}
|
||||
this.$modal.confirm('是否认证?')
|
||||
.then(function () {
|
||||
selectDeptIndefiUrl({ id: row.id }).then(res => {
|
||||
let url = res.data.identifyUrl;
|
||||
window.open(url)
|
||||
})
|
||||
})
|
||||
.then(() => {
|
||||
// this.$modal.msgSuccess("认证成功!");
|
||||
// this.getList(this.queryParams);
|
||||
})
|
||||
.catch(function () {
|
||||
});
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList(this.queryParams);
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
// 查询列表数据
|
||||
getList(parms) {
|
||||
this.loading = true;
|
||||
deptIdentifyList(parms).then((response) => {
|
||||
this.dataList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
this.dataList.forEach(item => {
|
||||
if (item.identifyStatus == 0 || item.identifyStatus == null) {
|
||||
item.identifyStatus = '未认证'
|
||||
} else if (item.identifyStatus == 2) {
|
||||
item.identifyStatus = '认证中'
|
||||
} else if (item.identifyStatus == 1) {
|
||||
item.identifyStatus = '已认证'
|
||||
}
|
||||
if (item.isUse == 0 || item.isUse == null) {
|
||||
item.isUse = '未启用'
|
||||
} else {
|
||||
item.isUse = '已启用'
|
||||
}
|
||||
})
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@@ -0,0 +1,153 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="addtemplate">新增裁决书模板</el-button>
|
||||
<!-- v-hasPermi="['caseManagement:list:add']" -->
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%">
|
||||
<el-table-column label="序号" type="index" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="仲裁机构名称" align="center" prop="identifyName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="裁决书名称" align="center" prop="temName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" @click="deleteTemplate(scope.row)" type="text" icon="el-icon-delete">删除</el-button>
|
||||
<el-button size="mini" @click="eidtTemplate(scope.row)" type="text" icon="el-icon-edit">修改模板</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getList(queryParams)" />
|
||||
|
||||
<addTemplate :uploadVisable="uploadVisable" @cancelUpload="cancelUpload" :uploadData="uploadData" @getList="getList" :queryParams="queryParams">
|
||||
</addTemplate>
|
||||
<sealManage :sealVisable="sealVisable" @cancelSeal="cancelSeal" :sealData="sealData">
|
||||
</sealManage>
|
||||
<editTemplate :editVisable="editVisable" @cancelEdit="cancelEdit" @getList="getList" :editData="editData" :queryParams="queryParams"></editTemplate>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getTemplate,
|
||||
deleteTemplate
|
||||
} from "@/api/officialSeal/officialSeal.js";
|
||||
|
||||
import addInstitution from "./components/addInstitution";
|
||||
import addTemplate from "./components/addTemplate";
|
||||
import sealManage from "./components/sealManage";
|
||||
import editTemplate from "./components/editTemplate";
|
||||
export default {
|
||||
name: "paymentList",
|
||||
components: {
|
||||
addInstitution,
|
||||
addTemplate,
|
||||
sealManage,
|
||||
editTemplate
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
// 遮罩层
|
||||
loading: false,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 表格数据
|
||||
form: {},
|
||||
// 校验表单
|
||||
rules: {},
|
||||
dataList: [],
|
||||
operateVisable: false,//新增弹窗
|
||||
uploadVisable: false,//上传弹窗
|
||||
sealVisable: false,//公章列表弹窗
|
||||
uploadData: {},
|
||||
sealData: {},
|
||||
editVisable:false,
|
||||
editData:{}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getList(this.queryParams)
|
||||
},
|
||||
methods: {
|
||||
// 删除
|
||||
deleteTemplate(row) {
|
||||
this.$modal
|
||||
.confirm("是否删除")
|
||||
.then((res) => {
|
||||
this.deleteSealFn({ id: row.id })
|
||||
})
|
||||
},
|
||||
// 删除接口
|
||||
deleteSealFn(data) {
|
||||
deleteTemplate(data).then(res => {
|
||||
this.$modal.msgSuccess("删除成功!");
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
},
|
||||
cancelSeal() {
|
||||
this.sealVisable = false;
|
||||
},
|
||||
// 新增模板
|
||||
addtemplate(row) {
|
||||
this.uploadVisable = true;
|
||||
this.uploadData = row;
|
||||
},
|
||||
cancelUpload() {
|
||||
this.uploadVisable = false;
|
||||
},
|
||||
// 编辑
|
||||
eidtTemplate(row) {
|
||||
this.editVisable = true;
|
||||
this.editData = row;
|
||||
},
|
||||
cancelEdit() {
|
||||
this.editVisable = false;
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList(this.queryParams);
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
// 查询列表数据
|
||||
getList(parms) {
|
||||
this.loading = true;
|
||||
getTemplate(parms).then((response) => {
|
||||
this.dataList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
console.log(this.dataList,"LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
|
||||
// this.dataList.forEach(item => {
|
||||
// if (item.identifyStatus == 0 || item.identifyStatus == null) {
|
||||
// item.identifyStatus = '未认证'
|
||||
// } else {
|
||||
// item.identifyStatus = '已认证'
|
||||
// }
|
||||
// if (item.isUse == 0 || item.isUse == null) {
|
||||
// item.isUse = '未启用'
|
||||
// } else {
|
||||
// item.isUse = '已启用'
|
||||
// }
|
||||
// })
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@@ -1,52 +1,41 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog
|
||||
:title="title"
|
||||
:visible="openDialog"
|
||||
width="800px"
|
||||
@close="cancel"
|
||||
:destroy-on-close="true"
|
||||
center
|
||||
>
|
||||
<el-form ref="form" :model="form" label-width="150px" :disabled="true">
|
||||
<el-dialog :title="title" :visible="openDialog" @close="cancel" :destroy-on-close="true" center>
|
||||
<el-form ref="form" :model="form" label-width="90px" :disabled="true">
|
||||
<el-form-item label="案件编号:" prop="caseNum">
|
||||
<el-input v-model="form.caseNum" placeholder="" />
|
||||
</el-form-item>
|
||||
<el-form-item label="案件标的:" prop="caseSubjectAmount">
|
||||
<el-input-number
|
||||
v-model="form.caseSubjectAmount"
|
||||
controls-position="right"
|
||||
:min="0"
|
||||
/>
|
||||
<el-input v-model="form.caseSubjectAmount" />
|
||||
</el-form-item>
|
||||
<el-form-item label="缴费人:" prop="caseNum">
|
||||
<el-input v-model="form.caseNum" placeholder="" />
|
||||
<el-form-item label="缴费人:" prop="applicantName">
|
||||
<el-input v-model="form.applicantName" placeholder="" />
|
||||
</el-form-item>
|
||||
<el-form-item label="缴费金额:" prop="feePayable">
|
||||
<el-input-number
|
||||
v-model="form.feePayable"
|
||||
controls-position="right"
|
||||
:min="0"
|
||||
/>
|
||||
<el-input v-model="form.feePayable" />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="缴费截图:" prop="respondent">
|
||||
<el-input v-model="form.Respondent" placeholder="" />
|
||||
</el-form-item> -->
|
||||
<el-form-item label="案件状态:" prop="caseStatusName">
|
||||
<el-input v-model="form.caseStatusName" placeholder="" />
|
||||
<!-- <el-input v-model="form.caseStatusName" placeholder="" /> -->
|
||||
<el-tag>{{ form.caseStatusName }}</el-tag>
|
||||
</el-form-item>
|
||||
<el-form-item label="支付状态:" prop="paymentStatusName">
|
||||
<el-input v-model="form.paymentStatusName" placeholder="" />
|
||||
<!-- <el-input v-model="form.paymentStatusName" placeholder="" /> -->
|
||||
<el-tag effect="dark" type="success">
|
||||
{{ form.paymentStatusName }}
|
||||
</el-tag>
|
||||
</el-form-item>
|
||||
<el-form-item label="缴费凭证:" prop="caseStatusName">
|
||||
<div style="color: #104fad;cursor:pointer" v-for="(item, index) in form.payOrderList" :key="index" @click="preview(item.annexPath)">
|
||||
{{ item.annexName }}
|
||||
</div>
|
||||
<!-- <el-tag>{{ form.caseStatusName }}</el-tag> -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="submitForm"
|
||||
v-if="flag == 0"
|
||||
class="endbutton"
|
||||
>确认已缴费</el-button
|
||||
>
|
||||
<el-button type="primary" @click="submitForm" v-if="flag == 0" class="endbutton">确认已缴费</el-button>
|
||||
<el-button @click="cancel" class="endbutton1">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -61,21 +50,26 @@ export default {
|
||||
return {
|
||||
// key: value
|
||||
form: {},
|
||||
srcList: []
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
detailform: {
|
||||
handler(val) {
|
||||
if (val) {
|
||||
setTimeout(() => {
|
||||
this.form = this.detailform;
|
||||
console.log(this.form, "this.form");
|
||||
}, 1000);
|
||||
this.form = val;
|
||||
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
preview(data) {
|
||||
window.open(
|
||||
window.location.origin + "/API" + data,
|
||||
"_blank"
|
||||
);
|
||||
},
|
||||
// 确认缴费
|
||||
submitForm() {
|
||||
confirmPay({ id: this.form.id }).then((res) => {
|
||||
@@ -98,15 +92,17 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-dialog {
|
||||
width: 800px;
|
||||
width: 50%;
|
||||
background: #ffffff;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.endbutton {
|
||||
width: 124px;
|
||||
height: 37px;
|
||||
background: #0072ff;
|
||||
border-radius: 19px;
|
||||
|
||||
span {
|
||||
width: 32px;
|
||||
height: 15px;
|
||||
@@ -117,12 +113,14 @@ export default {
|
||||
// line-height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
.endbutton1 {
|
||||
width: 124px;
|
||||
height: 37px;
|
||||
background: #ffffff;
|
||||
border: 1px solid #d0d0d0;
|
||||
border-radius: 19px;
|
||||
|
||||
span {
|
||||
width: 31px;
|
||||
height: 13px;
|
||||
|
||||
@@ -1,33 +1,19 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form
|
||||
:model="queryParams"
|
||||
ref="queryForm"
|
||||
size="small"
|
||||
:inline="true"
|
||||
label-width="68px"
|
||||
>
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
|
||||
<el-form-item label="案件编号" prop="caseNum">
|
||||
<el-input
|
||||
v-model="queryParams.caseNum"
|
||||
placeholder="请输入案件编号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
<el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="案件状态" prop="caseStatus">
|
||||
<el-select
|
||||
v-model="queryParams.caseStatus"
|
||||
placeholder="请选择案件状态"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in dict.type.case_status"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
></el-option>
|
||||
<el-select :disabled="caseStatusType" v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable @keyup.enter.native="handleQuery">
|
||||
<el-option v-for="dict in caseStatus" :key="dict.dictSort" :label="dict.dictLabel"
|
||||
:value="dict.dictSort"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否完成" prop="selectCaseStatus">
|
||||
<el-select v-model="queryParams.selectCaseStatus" placeholder="请选择状态" clearable @keyup.enter.native="handleQuery">
|
||||
<el-option v-for="dict in selectCaseStatusList" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="立案日期" prop="registerDate">
|
||||
@@ -41,16 +27,8 @@
|
||||
</el-date-picker>
|
||||
</el-form-item> -->
|
||||
<el-form-item>
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-search"
|
||||
size="mini"
|
||||
@click="handleQuery"
|
||||
>搜索</el-button
|
||||
>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
||||
>重置</el-button
|
||||
>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table v-loading="loading" :data="dataList" style="width: 100%">
|
||||
@@ -61,23 +39,9 @@
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="案件编号"
|
||||
align="center"
|
||||
prop="caseNum"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="案件标的"
|
||||
align="center"
|
||||
prop="caseSubjectAmount"
|
||||
/>
|
||||
<el-table-column
|
||||
label="立案日期"
|
||||
align="center"
|
||||
prop="registerDate"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
|
||||
<el-table-column label="立案日期" align="center" prop="registerDate" :show-overflow-tooltip="true" />
|
||||
<!-- 缴费人 -->
|
||||
<!-- <el-table-column label="缴费人" align="center" prop="caseArbitrator" /> -->
|
||||
<el-table-column label="案件状态" align="center" prop="caseStatusName">
|
||||
@@ -85,47 +49,20 @@
|
||||
<el-tag type="warning">{{ scope.row.caseStatusName }}</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
class-name="small-padding fixed-width"
|
||||
>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-zoom-in"
|
||||
@click="paymentconfirmationRow(scope.row)"
|
||||
v-hasPermi="['monitor:online:forceLogout']"
|
||||
>缴费确认</el-button
|
||||
>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="viewpaymentformRow(scope.row)"
|
||||
v-hasPermi="['monitor:online:forceLogout']"
|
||||
>查看缴费单</el-button
|
||||
>
|
||||
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="paymentconfirmationRow(scope.row)"
|
||||
v-if="checkPermi(['paymentManagement:list:payconfirm']) && btnStatus">缴费确认</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="viewpaymentformRow(scope.row)"
|
||||
v-hasPermi="['paymentManagement:list:detail']">查看缴费单</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getList" />
|
||||
<!-- 缴费确认数据详情 -->
|
||||
<paymentdetailsDialog
|
||||
:openDialog="openDialog"
|
||||
:detailform="detailform"
|
||||
:title="title"
|
||||
:flag="flag"
|
||||
:getList="getList"
|
||||
@cancelpaymentdetails="cancelpaymentdetails"
|
||||
></paymentdetailsDialog>
|
||||
<paymentdetailsDialog :openDialog="openDialog" :detailform="detailform" :title="title" :flag="flag" :getList="getList"
|
||||
@cancelpaymentdetails="cancelpaymentdetails"></paymentdetailsDialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -136,10 +73,10 @@ import {
|
||||
casePay,
|
||||
} from "@/api/pay/pay";
|
||||
import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
|
||||
|
||||
import { getDicts } from '@/api/system/dict/data.js'
|
||||
export default {
|
||||
name: "paymentList",
|
||||
dicts: ["case_status"],
|
||||
// dicts: ["case_status"],
|
||||
components: { paymentdetailsDialog },
|
||||
data() {
|
||||
return {
|
||||
@@ -180,16 +117,44 @@ export default {
|
||||
detailform: {}, //缴费详情数据
|
||||
openDialog: false, //缴费详情数据弹框
|
||||
flag: null,
|
||||
caseStatus: [],
|
||||
selectCaseStatusList: [
|
||||
{
|
||||
label: "待办案件",
|
||||
value: 0
|
||||
},
|
||||
{
|
||||
label: "已办案件",
|
||||
value: 1
|
||||
}
|
||||
],
|
||||
caseStatusType:false,
|
||||
btnStatus:true,
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
getDicts("case_status").then(res => {
|
||||
this.caseStatus = res.data;
|
||||
let params = this.$route.params.status;
|
||||
if (params >= 0) {
|
||||
this.queryParams.caseStatus = params;
|
||||
}
|
||||
this.getList();
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
if (this.queryParams.selectCaseStatus == 1) {
|
||||
this.queryParams.caseStatus = null;
|
||||
this.caseStatusType = true;
|
||||
this.btnStatus = false;
|
||||
} else if (this.queryParams.selectCaseStatus == 0) {
|
||||
this.caseStatusType = false;
|
||||
this.btnStatus = true;
|
||||
}
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
@@ -217,19 +182,21 @@ export default {
|
||||
},
|
||||
// 缴费确认
|
||||
paymentconfirmationRow(row) {
|
||||
// console.log("缴费确认", row);
|
||||
// console.log("缴费确认", row);
|
||||
this.getDetail({ id: row.id });
|
||||
this.openDialog = true;
|
||||
this.title = "缴费确认";
|
||||
this.flag = 0;
|
||||
this.detailform = {}
|
||||
},
|
||||
// 查看缴费单
|
||||
viewpaymentformRow(row) {
|
||||
// console.log("查看缴费单", row);
|
||||
// console.log("查看缴费单", row);
|
||||
this.getDetail({ id: row.id });
|
||||
this.openDialog = true;
|
||||
this.title = "缴费单详情";
|
||||
this.flag = 1;
|
||||
this.detailform = {}
|
||||
},
|
||||
// 关闭弹窗
|
||||
cancelpaymentdetails() {
|
||||
@@ -249,5 +216,4 @@ export default {
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
||||
<style lang="scss" scoped></style>
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="register">
|
||||
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
|
||||
<h3 class="title">智慧仲裁后台管理系统</h3>
|
||||
<h3 class="title">智慧仲裁系统</h3>
|
||||
<el-form-item prop="username">
|
||||
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
|
||||
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
|
||||
@@ -61,7 +61,7 @@
|
||||
</el-form>
|
||||
<!-- 底部 -->
|
||||
<div class="el-register-footer">
|
||||
<span>Copyright © 2018-2023 Smart arbitration.vip All Rights Reserved.</span>
|
||||
<span>Copyright © 2023 乙巢(上海)企业管理服务有限公司</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -2,21 +2,12 @@
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch">
|
||||
<el-form-item label="部门名称" prop="deptName">
|
||||
<el-input
|
||||
v-model="queryParams.deptName"
|
||||
placeholder="请输入部门名称"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
<el-input v-model="queryParams.deptName" placeholder="请输入部门名称" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="状态" prop="status">
|
||||
<el-select v-model="queryParams.status" placeholder="部门状态" clearable>
|
||||
<el-option
|
||||
v-for="dict in dict.type.sys_normal_disable"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
<el-option v-for="dict in dict.type.sys_normal_disable" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
@@ -27,40 +18,22 @@
|
||||
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['system:dept:add']"
|
||||
>新增</el-button>
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd(1)"
|
||||
v-hasPermi="['system:dept:add']">新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="info"
|
||||
plain
|
||||
icon="el-icon-sort"
|
||||
size="mini"
|
||||
@click="toggleExpandAll"
|
||||
>展开/折叠</el-button>
|
||||
<el-button type="info" plain icon="el-icon-sort" size="mini" @click="toggleExpandAll">展开/折叠</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<el-table
|
||||
v-if="refreshTable"
|
||||
v-loading="loading"
|
||||
:data="deptList"
|
||||
row-key="deptId"
|
||||
:default-expand-all="isExpandAll"
|
||||
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
|
||||
>
|
||||
<el-table v-if="refreshTable" v-loading="loading" :data="deptList" row-key="deptId" :default-expand-all="isExpandAll"
|
||||
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
|
||||
<el-table-column prop="deptName" label="部门名称" width="260"></el-table-column>
|
||||
<el-table-column prop="orderNum" label="排序" width="200"></el-table-column>
|
||||
<el-table-column prop="status" label="状态" width="100">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status"/>
|
||||
<dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.status" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" width="200">
|
||||
@@ -70,28 +43,12 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['system:dept:edit']"
|
||||
>修改</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-plus"
|
||||
@click="handleAdd(scope.row)"
|
||||
v-hasPermi="['system:dept:add']"
|
||||
>新增</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.parentId != 0"
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['system:dept:remove']"
|
||||
>删除</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['system:dept:edit']">修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-plus" @click="handleAdd(scope.row)"
|
||||
v-hasPermi="['system:dept:add']">新增</el-button>
|
||||
<el-button v-if="scope.row.parentId != 0" size="mini" type="text" icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)" v-hasPermi="['system:dept:remove']">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -100,7 +57,12 @@
|
||||
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-row>
|
||||
<el-col :span="24" v-if="form.parentId !== 0">
|
||||
<!-- <el-col :span="24" v-if="form.parentId !== 0">
|
||||
<el-form-item label="上级部门" prop="parentId">
|
||||
<treeselect v-model="form.parentId" :options="deptOptions" :normalizer="normalizer" placeholder="选择上级部门" />
|
||||
</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col :span="24" v-if="flag">
|
||||
<el-form-item label="上级部门" prop="parentId">
|
||||
<treeselect v-model="form.parentId" :options="deptOptions" :normalizer="normalizer" placeholder="选择上级部门" />
|
||||
</el-form-item>
|
||||
@@ -136,14 +98,26 @@
|
||||
<el-input v-model="form.email" placeholder="请输入邮箱" maxlength="50" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="12">
|
||||
<el-form-item label="部门类型" prop="deptType">
|
||||
<el-input v-model="form.deptType" placeholder="请输入部门编码" maxlength="50" />
|
||||
</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col :span="12">
|
||||
<el-form-item label="部门类型" prop="deptType">
|
||||
<el-select v-model="form.deptType" placeholder="请选择部门类型">
|
||||
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="部门状态">
|
||||
<el-radio-group v-model="form.status">
|
||||
<el-radio
|
||||
v-for="dict in dict.type.sys_normal_disable"
|
||||
:key="dict.value"
|
||||
:label="dict.value"
|
||||
>{{dict.label}}</el-radio>
|
||||
<el-radio v-for="dict in dict.type.sys_normal_disable" :key="dict.value" :label="dict.value">{{ dict.label
|
||||
}}</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -168,6 +142,7 @@ export default {
|
||||
components: { Treeselect },
|
||||
data() {
|
||||
return {
|
||||
flag: false,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 显示搜索条件
|
||||
@@ -199,6 +174,9 @@ export default {
|
||||
deptName: [
|
||||
{ required: true, message: "部门名称不能为空", trigger: "blur" }
|
||||
],
|
||||
deptType: [
|
||||
{ required: true, message: "部门类型不能为空", trigger: "blur" }
|
||||
],
|
||||
orderNum: [
|
||||
{ required: true, message: "显示排序不能为空", trigger: "blur" }
|
||||
],
|
||||
@@ -216,7 +194,14 @@ export default {
|
||||
trigger: "blur"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
options: [{
|
||||
value: 1,
|
||||
label: '仲裁机构'
|
||||
}, {
|
||||
value: 2,
|
||||
label: '金融公司'
|
||||
},],
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -272,6 +257,12 @@ export default {
|
||||
},
|
||||
/** 新增按钮操作 */
|
||||
handleAdd(row) {
|
||||
console.log(row, "LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
|
||||
if (row == 1) {
|
||||
this.flag = false;
|
||||
} else {
|
||||
this.flag = true;
|
||||
}
|
||||
this.reset();
|
||||
if (row != undefined) {
|
||||
this.form.parentId = row.deptId;
|
||||
@@ -307,7 +298,7 @@ export default {
|
||||
});
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm: function() {
|
||||
submitForm: function () {
|
||||
this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
if (this.form.deptId != undefined) {
|
||||
@@ -328,12 +319,12 @@ export default {
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?').then(function() {
|
||||
this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?').then(function () {
|
||||
return delDept(row.deptId);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
}).catch(() => {});
|
||||
}).catch(() => { });
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
+106
-192
@@ -4,75 +4,35 @@
|
||||
<!--部门数据-->
|
||||
<el-col :span="4" :xs="24">
|
||||
<div class="head-container">
|
||||
<el-input
|
||||
v-model="deptName"
|
||||
placeholder="请输入部门名称"
|
||||
clearable
|
||||
size="small"
|
||||
prefix-icon="el-icon-search"
|
||||
style="margin-bottom: 20px"
|
||||
/>
|
||||
<el-input v-model="deptName" placeholder="请输入部门名称" clearable size="small" prefix-icon="el-icon-search"
|
||||
style="margin-bottom: 20px" />
|
||||
</div>
|
||||
<div class="head-container">
|
||||
<el-tree
|
||||
:data="deptOptions"
|
||||
:props="defaultProps"
|
||||
:expand-on-click-node="false"
|
||||
:filter-node-method="filterNode"
|
||||
ref="tree"
|
||||
node-key="id"
|
||||
default-expand-all
|
||||
highlight-current
|
||||
@node-click="handleNodeClick"
|
||||
/>
|
||||
<el-tree :data="deptOptions" :props="defaultProps" :expand-on-click-node="false"
|
||||
:filter-node-method="filterNode" ref="tree" node-key="id" default-expand-all highlight-current
|
||||
@node-click="handleNodeClick" />
|
||||
</div>
|
||||
</el-col>
|
||||
<!--用户数据-->
|
||||
<el-col :span="20" :xs="24">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||
<el-form-item label="用户名称" prop="userName">
|
||||
<el-input
|
||||
v-model="queryParams.userName"
|
||||
placeholder="请输入用户名称"
|
||||
clearable
|
||||
style="width: 240px"
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
<el-input v-model="queryParams.userName" placeholder="请输入用户名称" clearable style="width: 240px"
|
||||
@keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="手机号码" prop="phonenumber">
|
||||
<el-input
|
||||
v-model="queryParams.phonenumber"
|
||||
placeholder="请输入手机号码"
|
||||
clearable
|
||||
style="width: 240px"
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
<el-input v-model="queryParams.phonenumber" placeholder="请输入手机号码" clearable style="width: 240px"
|
||||
@keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="状态" prop="status">
|
||||
<el-select
|
||||
v-model="queryParams.status"
|
||||
placeholder="用户状态"
|
||||
clearable
|
||||
style="width: 240px"
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in dict.type.sys_normal_disable"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
<el-select v-model="queryParams.status" placeholder="用户状态" clearable style="width: 240px">
|
||||
<el-option v-for="dict in dict.type.sys_normal_disable" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="创建时间">
|
||||
<el-date-picker
|
||||
v-model="dateRange"
|
||||
style="width: 240px"
|
||||
value-format="yyyy-MM-dd"
|
||||
type="daterange"
|
||||
range-separator="-"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
></el-date-picker>
|
||||
<el-date-picker v-model="dateRange" style="width: 240px" value-format="yyyy-MM-dd" type="daterange"
|
||||
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
@@ -82,56 +42,24 @@
|
||||
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['system:user:add']"
|
||||
>新增</el-button>
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
|
||||
v-hasPermi="['system:user:add']">新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
icon="el-icon-edit"
|
||||
size="mini"
|
||||
:disabled="single"
|
||||
@click="handleUpdate"
|
||||
v-hasPermi="['system:user:edit']"
|
||||
>修改</el-button>
|
||||
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
|
||||
v-hasPermi="['system:user:edit']">修改</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
icon="el-icon-delete"
|
||||
size="mini"
|
||||
:disabled="multiple"
|
||||
@click="handleDelete"
|
||||
v-hasPermi="['system:user:remove']"
|
||||
>删除</el-button>
|
||||
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
||||
v-hasPermi="['system:user:remove']">删除</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="info"
|
||||
plain
|
||||
icon="el-icon-upload2"
|
||||
size="mini"
|
||||
@click="handleImport"
|
||||
v-hasPermi="['system:user:import']"
|
||||
>导入</el-button>
|
||||
<el-button type="info" plain icon="el-icon-upload2" size="mini" @click="handleImport"
|
||||
v-hasPermi="['system:user:import']">导入</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="warning"
|
||||
plain
|
||||
icon="el-icon-download"
|
||||
size="mini"
|
||||
@click="handleExport"
|
||||
v-hasPermi="['system:user:export']"
|
||||
>导出</el-button>
|
||||
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
|
||||
v-hasPermi="['system:user:export']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
|
||||
</el-row>
|
||||
@@ -139,18 +67,18 @@
|
||||
<el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="50" align="center" />
|
||||
<el-table-column label="用户编号" align="center" key="userId" prop="userId" v-if="columns[0].visible" />
|
||||
<el-table-column label="用户名称" align="center" key="userName" prop="userName" v-if="columns[1].visible" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="用户昵称" align="center" key="nickName" prop="nickName" v-if="columns[2].visible" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="部门" align="center" key="deptName" prop="dept.deptName" v-if="columns[3].visible" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="手机号码" align="center" key="phonenumber" prop="phonenumber" v-if="columns[4].visible" width="120" />
|
||||
<el-table-column label="用户名称" align="center" key="userName" prop="userName" v-if="columns[1].visible"
|
||||
:show-overflow-tooltip="true" />
|
||||
<el-table-column label="用户昵称" align="center" key="nickName" prop="nickName" v-if="columns[2].visible"
|
||||
:show-overflow-tooltip="true" />
|
||||
<el-table-column label="部门" align="center" key="deptName" prop="dept.deptName" v-if="columns[3].visible"
|
||||
:show-overflow-tooltip="true" />
|
||||
<el-table-column label="手机号码" align="center" key="phonenumber" prop="phonenumber" v-if="columns[4].visible"
|
||||
width="120" />
|
||||
<el-table-column label="状态" align="center" key="status" v-if="columns[5].visible">
|
||||
<template slot-scope="scope">
|
||||
<el-switch
|
||||
v-model="scope.row.status"
|
||||
active-value="0"
|
||||
inactive-value="1"
|
||||
@change="handleStatusChange(scope.row)"
|
||||
></el-switch>
|
||||
<el-switch v-model="scope.row.status" active-value="0" inactive-value="1"
|
||||
@change="handleStatusChange(scope.row)"></el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" v-if="columns[6].visible" width="160">
|
||||
@@ -158,28 +86,14 @@
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
width="160"
|
||||
class-name="small-padding fixed-width"
|
||||
>
|
||||
<el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope" v-if="scope.row.userId !== 1">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['system:user:edit']"
|
||||
>修改</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['system:user:remove']"
|
||||
>删除</el-button>
|
||||
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:user:resetPwd', 'system:user:edit']">
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['system:user:edit']">修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['system:user:remove']">删除</el-button>
|
||||
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)"
|
||||
v-hasPermi="['system:user:resetPwd', 'system:user:edit']">
|
||||
<el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item command="handleResetPwd" icon="el-icon-key"
|
||||
@@ -192,13 +106,8 @@
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
v-show="total>0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getList" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -237,7 +146,7 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item v-if="form.userId == undefined" label="用户密码" prop="password">
|
||||
<el-input v-model="form.password" placeholder="请输入用户密码" type="password" maxlength="20" show-password/>
|
||||
<el-input v-model="form.password" placeholder="请输入用户密码" type="password" maxlength="20" show-password />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -245,23 +154,16 @@
|
||||
<el-col :span="12">
|
||||
<el-form-item label="用户性别">
|
||||
<el-select v-model="form.sex" placeholder="请选择性别">
|
||||
<el-option
|
||||
v-for="dict in dict.type.sys_user_sex"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
></el-option>
|
||||
<el-option v-for="dict in dict.type.sys_user_sex" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="状态">
|
||||
<el-radio-group v-model="form.status">
|
||||
<el-radio
|
||||
v-for="dict in dict.type.sys_normal_disable"
|
||||
:key="dict.value"
|
||||
:label="dict.value"
|
||||
>{{dict.label}}</el-radio>
|
||||
<el-radio v-for="dict in dict.type.sys_normal_disable" :key="dict.value" :label="dict.value">{{ dict.label
|
||||
}}</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -270,30 +172,27 @@
|
||||
<el-col :span="12">
|
||||
<el-form-item label="岗位">
|
||||
<el-select v-model="form.postIds" multiple placeholder="请选择岗位">
|
||||
<el-option
|
||||
v-for="item in postOptions"
|
||||
:key="item.postId"
|
||||
:label="item.postName"
|
||||
:value="item.postId"
|
||||
:disabled="item.status == 1"
|
||||
></el-option>
|
||||
<el-option v-for="item in postOptions" :key="item.postId" :label="item.postName" :value="item.postId"
|
||||
:disabled="item.status == 1"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="角色">
|
||||
<el-select v-model="form.roleIds" multiple placeholder="请选择角色">
|
||||
<el-option
|
||||
v-for="item in roleOptions"
|
||||
:key="item.roleId"
|
||||
:label="item.roleName"
|
||||
:value="item.roleId"
|
||||
:disabled="item.status == 1"
|
||||
></el-option>
|
||||
<el-option v-for="item in roleOptions" :key="item.roleId" :label="item.roleName" :value="item.roleId"
|
||||
:disabled="item.status == 1"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="身份证号码" prop="idCard">
|
||||
<el-input v-model="form.idCard" placeholder="请输入身份证号码"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="备注">
|
||||
@@ -310,18 +209,9 @@
|
||||
|
||||
<!-- 用户导入对话框 -->
|
||||
<el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
|
||||
<el-upload
|
||||
ref="upload"
|
||||
:limit="1"
|
||||
accept=".xlsx, .xls"
|
||||
:headers="upload.headers"
|
||||
:action="upload.url + '?updateSupport=' + upload.updateSupport"
|
||||
:disabled="upload.isUploading"
|
||||
:on-progress="handleFileUploadProgress"
|
||||
:on-success="handleFileSuccess"
|
||||
:auto-upload="false"
|
||||
drag
|
||||
>
|
||||
<el-upload ref="upload" :limit="1" accept=".xlsx, .xls" :headers="upload.headers"
|
||||
:action="upload.url + '?updateSupport=' + upload.updateSupport" :disabled="upload.isUploading"
|
||||
:on-progress="handleFileUploadProgress" :on-success="handleFileSuccess" :auto-upload="false" drag>
|
||||
<i class="el-icon-upload"></i>
|
||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||
<div class="el-upload__tip text-center" slot="tip">
|
||||
@@ -329,7 +219,8 @@
|
||||
<el-checkbox v-model="upload.updateSupport" /> 是否更新已经存在的用户数据
|
||||
</div>
|
||||
<span>仅允许导入xls、xlsx格式文件。</span>
|
||||
<el-link type="primary" :underline="false" style="font-size:12px;vertical-align: baseline;" @click="importTemplate">下载模板</el-link>
|
||||
<el-link type="primary" :underline="false" style="font-size:12px;vertical-align: baseline;"
|
||||
@click="importTemplate">下载模板</el-link>
|
||||
</div>
|
||||
</el-upload>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
@@ -436,6 +327,11 @@ export default {
|
||||
{ min: 5, max: 20, message: '用户密码长度必须介于 5 和 20 之间', trigger: 'blur' }
|
||||
],
|
||||
email: [
|
||||
{
|
||||
required: true,
|
||||
message: '邮箱不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
type: "email",
|
||||
message: "请输入正确的邮箱地址",
|
||||
@@ -444,10 +340,28 @@ export default {
|
||||
],
|
||||
phonenumber: [
|
||||
{
|
||||
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
|
||||
message: "请输入正确的手机号码",
|
||||
trigger: "blur"
|
||||
}
|
||||
required: true,
|
||||
message: '联系电话不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/,
|
||||
message: '请输入正确的手机号码',
|
||||
trigger: 'blur',
|
||||
},
|
||||
],
|
||||
idCard: [
|
||||
{
|
||||
required: true,
|
||||
message: '身份证号不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
pattern:
|
||||
/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
|
||||
message: '请输入正确的身份证号码',
|
||||
trigger: 'blur',
|
||||
},
|
||||
]
|
||||
}
|
||||
};
|
||||
@@ -470,10 +384,10 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
listUser(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
|
||||
this.userList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
}
|
||||
this.userList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
}
|
||||
);
|
||||
},
|
||||
/** 查询部门下拉树结构 */
|
||||
@@ -495,11 +409,11 @@ export default {
|
||||
// 用户状态修改
|
||||
handleStatusChange(row) {
|
||||
let text = row.status === "0" ? "启用" : "停用";
|
||||
this.$modal.confirm('确认要"' + text + '""' + row.userName + '"用户吗?').then(function() {
|
||||
this.$modal.confirm('确认要"' + text + '""' + row.userName + '"用户吗?').then(function () {
|
||||
return changeUserStatus(row.userId, row.status);
|
||||
}).then(() => {
|
||||
this.$modal.msgSuccess(text + "成功");
|
||||
}).catch(function() {
|
||||
}).catch(function () {
|
||||
row.status = row.status === "0" ? "1" : "0";
|
||||
});
|
||||
},
|
||||
@@ -566,7 +480,7 @@ export default {
|
||||
this.roleOptions = response.roles;
|
||||
this.open = true;
|
||||
this.title = "添加用户";
|
||||
this.form.password = this.initPassword;
|
||||
// this.form.password = this.initPassword;
|
||||
});
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
@@ -593,18 +507,18 @@ export default {
|
||||
inputPattern: /^.{5,20}$/,
|
||||
inputErrorMessage: "用户密码长度必须介于 5 和 20 之间"
|
||||
}).then(({ value }) => {
|
||||
resetUserPwd(row.userId, value).then(response => {
|
||||
this.$modal.msgSuccess("修改成功,新密码是:" + value);
|
||||
});
|
||||
}).catch(() => {});
|
||||
resetUserPwd(row.userId, value).then(response => {
|
||||
this.$modal.msgSuccess("修改成功,新密码是:" + value);
|
||||
});
|
||||
}).catch(() => { });
|
||||
},
|
||||
/** 分配角色操作 */
|
||||
handleAuthRole: function(row) {
|
||||
handleAuthRole: function (row) {
|
||||
const userId = row.userId;
|
||||
this.$router.push("/system/user-auth/role/" + userId);
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm: function() {
|
||||
submitForm: function () {
|
||||
this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
if (this.form.userId != undefined) {
|
||||
@@ -626,12 +540,12 @@ export default {
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const userIds = row.userId || this.ids;
|
||||
this.$modal.confirm('是否确认删除用户编号为"' + userIds + '"的数据项?').then(function() {
|
||||
this.$modal.confirm('是否确认删除用户编号为"' + userIds + '"的数据项?').then(function () {
|
||||
return delUser(userIds);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
}).catch(() => {});
|
||||
}).catch(() => { });
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
|
||||
+5
-3
@@ -11,10 +11,12 @@ const name = process.env.VUE_APP_TITLE || '智慧仲裁管理系统' // 网页
|
||||
|
||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||
|
||||
const API = 'http://121.40.189.20:9001' //测试
|
||||
// const API = 'http://192.168.3.77:8080' //Q
|
||||
const API = 'http://121.40.189.20:9001' //生产
|
||||
// const API = 'http://121.40.189.20:8001' //测试
|
||||
// const API = 'http://192.168.3.18:9001' //B
|
||||
// const API = 'http://192.168.3.77:9001' //Q
|
||||
|
||||
// vue.config.js 配置说明
|
||||
// vue.config.js 配置说明
|
||||
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
|
||||
// 这里只列一部分,具体配置参考文档
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user