Browse Source

外采

master
yxt_djz 3 years ago
parent
commit
be080a7df5
  1. 43
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplication.vue
  2. 2
      anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue

43
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplication.vue

@ -107,7 +107,7 @@
</el-row>
<el-row >
<el-col :span="3" class="tleftb">
<span><span class="icon">*</span>备注</span>
<span>备注</span>
</el-col>
<el-col :span="21" class="trightb">
<el-form-item prop="remarks">
@ -178,6 +178,21 @@
<el-button type="info " size="mini" @click="closeNodeDialog"> </el-button>
</div>
</el-form>
</el-dialog>
<!-- 选择待办人 的弹出框-->
<el-dialog title="填写审批意见" :visible.sync="nodeDialogVisibleForstop" width="80%">
<el-form label-position="right" class="formadd" >
<el-row>
<el-col :span="4" class="tleftb">意见</el-col>
<el-col :span="20" class="trightb">
<el-input size="small" v-model="formobj.comment" placeholder="审批意见" class="addinputw" clearable ></el-input>
</el-col>
</el-row>
<div style="text-align:center;margin-top: 20px;">
<el-button type="primary" size="mini" @click="handleStop()"> </el-button>
<el-button type="info " size="mini" @click="closeNodeDialog"> </el-button>
</div>
</el-form>
</el-dialog>
</div>
</template>
@ -201,6 +216,7 @@ export default {
//
nodeDialogVisible:false,
nodeDialogVisibleForReject:false,
nodeDialogVisibleForstop:false,
//
nodeUserDialogVisible:false,
// xml
@ -330,24 +346,12 @@ export default {
closeNodeDialog(){
this.nodeDialogVisible = false
this.nodeDialogVisibleForReject=false
this.nodeDialogVisibleForstop=false
},
//
openStop() {
this.$confirm('是否确认执行终止操作', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
this.handleStop()
})
.catch(() => {
this.$message({
type: 'info',
message: '已取消终止'
})
})
this.nodeDialogVisibleForstop=true
},
//
openReject() {
@ -376,7 +380,6 @@ export default {
this.nodeDialogVisible = true
}
});
},
handleReturn() {
this.$emit('doback')
@ -424,6 +427,7 @@ export default {
reject(){
if(this.formobj.comment==''){
alert('请填写审批意见!');
return false;
}
this.handleReject();
},
@ -431,6 +435,7 @@ export default {
agree() {
if(this.formobj.comment==''){
alert('请填写审批意见!');
return false;
}
//
//sid
@ -487,7 +492,11 @@ export default {
} ,
/** 终止任务 */
handleStop() {
this.stopList.comment = this.comment
if(this.formobj.comment==''){
alert('请填写审批意见!');
return false;
}
this.stopList.comment = this.formobj.comment
req.breakTask(this.stopList).then((response) => {
if (response.code === '200') {
this.$notify({

2
anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue

@ -135,7 +135,7 @@
<el-row >
<el-col :span="3" class="tleftb">
<span><span class="icon">*</span>备注</span>
<span>备注</span>
</el-col>
<el-col :span="21" class="trightb">
<el-form-item prop="remarks"><el-input size="small" v-model="formobj.remarks" placeholder="备注" class="addinputw" clearable /></el-form-item>

Loading…
Cancel
Save