洋浦学校 待办工作阶段代码提交

init
gongdi 3 years ago
parent 51b44f43e9
commit 4ba6db00e8

@ -68,10 +68,10 @@
this.twoLevelMenu = twoLevel;
}
} else {
if (oneLevel && Object.keys(oneLevel).length === 0) {
if (!oneLevel || Object.keys(oneLevel).length === 0) {
this.oneLevelMenu = '';
}
if (twoLevel && Object.keys(twoLevel).length === 0) {
if (!twoLevel || Object.keys(twoLevel).length === 0) {
this.twoLevelMenu = '';
}
}

@ -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;

@ -0,0 +1,75 @@
<template>
<div class="handle-dom-style">
<div class="info-row-style">
<div class="info-left">当前节点</div>
<div class="info-right"><span class="node-name-style">{{nodeName}}</span></div>
</div>
<div class="info-row-style">
<div class="info-left">办理意见</div>
<div class="info-right">
<a-textarea placeholder="请输入办理意见最多输入200字"
class="options-textarea-style"
:auto-size="{ minRows: 2, maxRows: 6 }"
v-model="options"
>
</a-textarea>
</div>
</div>
</div>
</template>
<script>
/*
* 公文事务办理
* */
import ATextarea from "ant-design-vue/es/input/TextArea";
export default{
props: {
nodeName: {
type: String
}
},
data(){
return {
options: "",//
}
},
components:{
ATextarea
}
}
</script>
<style scoped lang="scss">
.handle-dom-style {
width: 100%;
height: calc(100% - 50px);
padding: 10px;
display: flex;
flex-direction: column;
.info-row-style {
width: 100%;
min-height: 2.5rem;
display: flex;
.info-left {
width: 25%;
text-align: right;
}
.info-right {
width: 75%;
text-align: left;
display: flex;
/*flex-direction: column;*/
.node-name-style {
color: #31a8fa;
}
.options-textarea-style {
width: 90%;
}
.select-icon-style {
cursor: pointer;
color: #31a8fa;
}
}
}
}
</style>

@ -201,5 +201,12 @@ const interConfig = {
isTestLogin: true,
},
//-------------公文办理--------------------------
'calcCommitNext': {
url: '/intellioa/flow/run/calc_commit_next',
method: 'get',
isTestLogin: true,
}
}
export default interConfig

Loading…
Cancel
Save