|
...
|
...
|
@@ -246,6 +246,14 @@ |
|
|
|
type="text"
|
|
|
|
size="mini"
|
|
|
|
icon="el-icon-edit-outline"
|
|
|
|
v-hasPermi="['workflow:process:start']"
|
|
|
|
@click="handleEvaluate(scope.row)"
|
|
|
|
>履行评价</el-button
|
|
|
|
>
|
|
|
|
<el-button
|
|
|
|
type="text"
|
|
|
|
size="mini"
|
|
|
|
icon="el-icon-edit-outline"
|
|
|
|
@click="handleEdit(scope.row)"
|
|
|
|
>合同变更</el-button
|
|
|
|
>
|
|
...
|
...
|
@@ -356,6 +364,33 @@ |
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
<!-- 履行评价 -->
|
|
|
|
<el-dialog :title="title" :visible.sync="showDialogEvaluate">
|
|
|
|
<el-table :data="tableData" style="width: 100%" border>
|
|
|
|
<el-table-column prop="content" label="内容" width="200"></el-table-column>
|
|
|
|
<el-table-column prop="description" label="评价描述" width="350">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-input v-model="scope.row.description"
|
|
|
|
clearable
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column prop="level" label="评价等级">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-radio v-model="scope.row.level" label="1">优秀</el-radio>
|
|
|
|
<el-radio v-model="scope.row.level" label="2">良好</el-radio>
|
|
|
|
<el-radio v-model="scope.row.level" label="3">一般</el-radio>
|
|
|
|
<el-radio v-model="scope.row.level" label="4">较差</el-radio>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<el-button :loading="buttonLoading" type="primary" @click="submitFormEvaluate"
|
|
|
|
>确 定</el-button
|
|
|
|
>
|
|
|
|
<el-button @click="cancelEvaluate">取 消</el-button>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
...
|
...
|
@@ -376,6 +411,27 @@ export default { |
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
tableData: [{
|
|
|
|
content: '合同规范性',
|
|
|
|
description: '',
|
|
|
|
level: ''
|
|
|
|
}, {
|
|
|
|
content: '质量',
|
|
|
|
description: '',
|
|
|
|
level: ''
|
|
|
|
}, {
|
|
|
|
content: '交期(工期)',
|
|
|
|
description: '',
|
|
|
|
level: ''
|
|
|
|
}, {
|
|
|
|
content: '成本',
|
|
|
|
description: '',
|
|
|
|
level: ''
|
|
|
|
},{
|
|
|
|
content: '合作配合情况',
|
|
|
|
description: '',
|
|
|
|
level: ''
|
|
|
|
}],
|
|
|
|
switchValue: true,
|
|
|
|
pdfUrl: "",
|
|
|
|
dialogVisibleContract: false,
|
|
...
|
...
|
@@ -463,6 +519,7 @@ export default { |
|
|
|
],
|
|
|
|
id: [{ required: true, message: "不能为空", trigger: "blur" }],
|
|
|
|
},
|
|
|
|
showDialogEvaluate:false
|
|
|
|
};
|
|
|
|
},
|
|
|
|
created() {
|
|
...
|
...
|
@@ -652,6 +709,18 @@ export default { |
|
|
|
console.log(row);
|
|
|
|
startProcess(row.procDefId, row).then((res) => {});
|
|
|
|
},
|
|
|
|
handleEvaluate(row){
|
|
|
|
console.log('评价',row)
|
|
|
|
this.title = row.contractName
|
|
|
|
this.showDialogEvaluate = true
|
|
|
|
},
|
|
|
|
submitFormEvaluate(){
|
|
|
|
console.log(this.tableData)
|
|
|
|
this.showDialogEvaluate = false
|
|
|
|
},
|
|
|
|
cancelEvaluate(){
|
|
|
|
this.showDialogEvaluate = false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
...
|
...
|
|