选择调解员,时间

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, data: data,
}); });
} }
//获取调解员列表
export function listMediator(data) { export function listMediator(data) {
return request({ return request({
url: "caseApplication/listMediator", url: "caseApplication/listMediator",
@@ -87,4 +86,20 @@ export function updateBooking(data) {
method: "post", method: "post",
data: data, 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> </template>
<script> <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 { listDept } from '@/api/system/dept.js'
import moment from "moment"; import moment from "moment";
import addCase from './components/addCase.vue' import addCase from './components/addCase.vue'
@@ -316,15 +316,37 @@ export default {
}, },
// 法律顾问用印申请 // 法律顾问用印申请
consultantApplica(row) { consultantApplica(row) {
let paramsValue ={
caseId:row.id,
batchNumber:"",
caseFlowId:row.caseFlowId
}
this.$modal.confirm("你确定要用印申请吗?").then((res) => { this.$modal.confirm("你确定要用印申请吗?").then((res) => {
sealApply(paramsValue).then(res=>{
this.getList(this.queryParams);
this.$modal.msgSuccess("用印申请成功");
})
}).catch(() => { }).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){ caseAccep(row){
@@ -40,7 +40,7 @@
import {accept} from '@/api/caseManagement/caseManagement.js' import {accept} from '@/api/caseManagement/caseManagement.js'
export default { export default {
name: "caseAcceptance", name: "caseAcceptance",
props: ["showAcceptance", "caseAcceptanceData", "getList"], props: ["showAcceptance", "caseAcceptanceData", "getList","queryParams"],
data() { data() {
return { return {
courtReviewform: { courtReviewform: {
@@ -69,9 +69,7 @@ export default {
let mergeValue = Object.assign({}, this.courtReviewform, paramsdata) let mergeValue = Object.assign({}, this.courtReviewform, paramsdata)
accept(mergeValue).then((res) => { accept(mergeValue).then((res) => {
this.$modal.msgSuccess("确认成功"); this.$modal.msgSuccess("确认成功");
if (res.code == 200) { this.$emit("getList",this.queryParams)
this.getList();
}
this.cancel(); this.cancel();
}) })
.catch((err) => {}); .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 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: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.18:6001' //B
// const API = 'http://192.168.3.77:9001' //Q // 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 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions