选择调解员,时间

This commit is contained in:
Your Name
2024-01-17 09:10:49 +08:00
4 changed files with 46 additions and 11 deletions
+17 -2
View File
@@ -72,7 +72,6 @@ export function selectPaymentDetail(data) {
data: data,
});
}
//获取调解员列表
export function listMediator(data) {
return request({
url: "caseApplication/listMediator",
@@ -87,4 +86,20 @@ export function updateBooking(data) {
method: "post",
data: data,
});
}
}
//用印申请
export function sealApply(data) {
return request({
url: "/mssignSeal/sealApply",
method: "post",
data: data,
});
}
// 用印确认
export function selectSealUrl(data) {
return request({
url: "/mssignSeal/selectSealUrl",
method: "post",
data: data,
});
}
+25 -3
View File
@@ -109,7 +109,7 @@
</template>
<script>
import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail } from '@/api/caseManagement/caseManagement.js'
import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl } from '@/api/caseManagement/caseManagement.js'
import { listDept } from '@/api/system/dept.js'
import moment from "moment";
import addCase from './components/addCase.vue'
@@ -316,15 +316,37 @@ export default {
},
// 法律顾问用印申请
consultantApplica(row) {
let paramsValue ={
caseId:row.id,
batchNumber:"",
caseFlowId:row.caseFlowId
}
this.$modal.confirm("你确定要用印申请吗?").then((res) => {
sealApply(paramsValue).then(res=>{
this.getList(this.queryParams);
this.$modal.msgSuccess("用印申请成功");
})
}).catch(() => {
})
},
// 部门长用印申请
departmentApplica() {
departmentApplica(row) {
this.$modal.confirm("你确定要用印确认吗?").then((res) => {
let paramsValue ={
caseId:row.id
}
selectSealUrl(paramsValue).then(res=>{
window.open(res.data.sealUrl)
this.$modal.confirm("你确认用印了吗?").then((res) => {
this.getList(this.queryParams);
}).catch(() => {
})
})
}).catch(() => {
})
},
// 案件受理
caseAccep(row){
@@ -40,7 +40,7 @@
import {accept} from '@/api/caseManagement/caseManagement.js'
export default {
name: "caseAcceptance",
props: ["showAcceptance", "caseAcceptanceData", "getList"],
props: ["showAcceptance", "caseAcceptanceData", "getList","queryParams"],
data() {
return {
courtReviewform: {
@@ -69,9 +69,7 @@ export default {
let mergeValue = Object.assign({}, this.courtReviewform, paramsdata)
accept(mergeValue).then((res) => {
this.$modal.msgSuccess("确认成功");
if (res.code == 200) {
this.getList();
}
this.$emit("getList",this.queryParams)
this.cancel();
})
.catch((err) => {});
+2 -2
View File
@@ -12,10 +12,10 @@ 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://121.40.189.20:6001' //测试
const API = 'http://121.40.189.20:6001' //测试
// const API = 'http://192.168.3.18:6001' //B
// const API = 'http://192.168.3.77:9001' //Q
const API = 'http://172.16.1.14:6001' //w
// const API = 'http://172.16.1.14:6001' //w
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions