|
|
|
@ -103,6 +103,8 @@
|
|
|
|
|
useType: 0,
|
|
|
|
|
leaveDateTime: "",//出车时间
|
|
|
|
|
leaveMileage: 0,//出车时记录的里程数
|
|
|
|
|
//节点信息 公文 事务审批
|
|
|
|
|
nodeName:"",
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
@ -173,6 +175,11 @@
|
|
|
|
|
case "101001"://通知签阅
|
|
|
|
|
this.modalOk();
|
|
|
|
|
break;
|
|
|
|
|
case "103001"://办理公文
|
|
|
|
|
case "104001"://待办事务
|
|
|
|
|
console.log("办理公文")
|
|
|
|
|
this.$emit("clickContent", this.businessData)
|
|
|
|
|
break;
|
|
|
|
|
case "106001001"://物品领用申请审批
|
|
|
|
|
case "107001001"://公车审批
|
|
|
|
|
case "108001001"://会议室审批
|
|
|
|
@ -236,7 +243,7 @@
|
|
|
|
|
//待还车
|
|
|
|
|
this.useType = 2;
|
|
|
|
|
this.modalTitle = "还车处理";
|
|
|
|
|
let callBack = this.getCarApplyInfo(infoBox);
|
|
|
|
|
var callBack = this.getCarApplyInfo(infoBox);
|
|
|
|
|
callBack.then((res) => {
|
|
|
|
|
let applyInfo = res.apply_info;
|
|
|
|
|
console.log(applyInfo)
|
|
|
|
@ -1111,6 +1118,34 @@
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
//公文办理相关
|
|
|
|
|
calcCommitNext: function (infoBox) {
|
|
|
|
|
console.log("infoBox:",infoBox)
|
|
|
|
|
let _this = this;
|
|
|
|
|
let p = new Promise(function (resolve) {
|
|
|
|
|
let param = {
|
|
|
|
|
person_id:_this.BaseConfig.userInfo.person_id_cookie,
|
|
|
|
|
flow_id:infoBox.flow_id,
|
|
|
|
|
node_id:infoBox.node_id,
|
|
|
|
|
run_id:infoBox.run_id,
|
|
|
|
|
run_node_id:infoBox.run_node_id,
|
|
|
|
|
step_id:infoBox.step_id
|
|
|
|
|
}
|
|
|
|
|
_this.InterfaceConfig.callInterface([{
|
|
|
|
|
url: interConfig.calcCommitNext.url,
|
|
|
|
|
params: param,
|
|
|
|
|
method: interConfig.calcCommitNext.method,
|
|
|
|
|
isTestLogin: interConfig.calcCommitNext.isTestLogin
|
|
|
|
|
}], (result) => {
|
|
|
|
|
console.log("result:",result)
|
|
|
|
|
let res = result[0].data;
|
|
|
|
|
if (res.code === 2000) {
|
|
|
|
|
resolve(res.data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
return p;
|
|
|
|
|
},
|
|
|
|
|
//获取系统时间
|
|
|
|
|
getNowTime: function () {
|
|
|
|
|
let _this = this;
|
|
|
|
@ -1140,11 +1175,10 @@
|
|
|
|
|
components: {
|
|
|
|
|
AModal: Modal,
|
|
|
|
|
ApproveCom,
|
|
|
|
|
CarUseReturnDom
|
|
|
|
|
CarUseReturnDom,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
.business-item-container-style {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|