签收和归档页面接口开发
This commit is contained in:
@@ -73,7 +73,8 @@
|
||||
<el-button size="mini" @click="viewpaymentformRow(scope.row)" type="text"
|
||||
icon="el-icon-edit">查看缴费单</el-button>
|
||||
<!-- <el-button size="mini" @click="caseFiling(scope.row)" type="text" icon="el-icon-tickets">案件归档</el-button> -->
|
||||
<!-- <el-button size="mini" @click="signMediation(scope.row)" type="text" icon="el-icon-edit-outline">签收调解书</el-button> -->
|
||||
<!-- <el-button size="mini" @click="signMediation(scope.row)" type="text" icon="el-icon-edit-outline">申请人签收</el-button> -->
|
||||
<!-- <el-button size="mini" @click="receivedMediation(scope.row)" type="text" icon="el-icon-edit-outline">被申请人签收</el-button> -->
|
||||
<el-button size="mini" type="text" icon="el-icon-edit"
|
||||
@click="evidenceUpload(scope.row)">证据修改</el-button>
|
||||
<!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)">缴费</el-button> -->
|
||||
@@ -133,7 +134,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl,listCaseLogRecord} from '@/api/caseManagement/caseManagement.js'
|
||||
import { caseApplicationList, caseApplicationSelectById,submitCaseApply,selectPaymentDetail,sealApply,selectSealUrl,listCaseLogRecord,msCaseFile,msCaseSign} from '@/api/caseManagement/caseManagement.js'
|
||||
import { listDept } from '@/api/system/dept.js'
|
||||
import { queryCaseFlowInfo } from '@/api/caseprocessManagement/caseprocessManagement.js'
|
||||
import moment from "moment";
|
||||
@@ -268,10 +269,15 @@ export default {
|
||||
// 用印
|
||||
}else if(type == 14){
|
||||
// 归档
|
||||
this.caseFiling(val);
|
||||
}else if(type == 15){
|
||||
// 签收
|
||||
// 申请人签收
|
||||
this.signMediation(val)
|
||||
}else if(type == 16){
|
||||
// 结束
|
||||
// 被申请人签收
|
||||
this.receivedMediation(val)
|
||||
}else if(type == 17){
|
||||
//结束
|
||||
}
|
||||
},
|
||||
/**查询按钮列表 */
|
||||
@@ -545,24 +551,45 @@ export default {
|
||||
this.showcaseLog = false
|
||||
},
|
||||
// 案件归档
|
||||
caseFiling() {
|
||||
caseFiling(row) {
|
||||
console.log(row.id)
|
||||
let paramValues = {
|
||||
ids:[row.id]
|
||||
}
|
||||
this.$modal.confirm("你确定要案件归档吗?").then((res) => {
|
||||
|
||||
msCaseFile(paramValues).then(res=>{
|
||||
this.$modal.msgSuccess("案件归档成功");
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
}).catch(() => {
|
||||
|
||||
})
|
||||
},
|
||||
//签收调解书
|
||||
signMediation() {
|
||||
//申请人签收调解书
|
||||
signMediation(row) {
|
||||
this.$modal.confirm("你确定要签收调解书吗?").then((res) => {
|
||||
|
||||
this.signingMediationAgreement({caseId:row.id,isSignApply:1})
|
||||
}).catch(() => {
|
||||
|
||||
})
|
||||
},
|
||||
departmentApplica() {
|
||||
//被申请人签收调解书
|
||||
receivedMediation(row) {
|
||||
this.$modal.confirm("你确定要签收调解书吗?").then((res) => {
|
||||
this.signingMediationAgreement({caseId:row.id,isSignRespon:1})
|
||||
}).catch(() => {
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
// 申请人和被申请人签收调解书接口
|
||||
signingMediationAgreement(val){
|
||||
console.log(val)
|
||||
msCaseSign(val).then(res=>{
|
||||
this.$modal.msgSuccess("签收成功");
|
||||
this.getList(this.queryParams);
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user