正在显示
1 个修改的文件
包含
69 行增加
和
0 行删除
| @@ -246,6 +246,14 @@ | @@ -246,6 +246,14 @@ | ||
| 246 | type="text" | 246 | type="text" |
| 247 | size="mini" | 247 | size="mini" |
| 248 | icon="el-icon-edit-outline" | 248 | icon="el-icon-edit-outline" |
| 249 | + v-hasPermi="['workflow:process:start']" | ||
| 250 | + @click="handleEvaluate(scope.row)" | ||
| 251 | + >履行评价</el-button | ||
| 252 | + > | ||
| 253 | + <el-button | ||
| 254 | + type="text" | ||
| 255 | + size="mini" | ||
| 256 | + icon="el-icon-edit-outline" | ||
| 249 | @click="handleEdit(scope.row)" | 257 | @click="handleEdit(scope.row)" |
| 250 | >合同变更</el-button | 258 | >合同变更</el-button |
| 251 | > | 259 | > |
| @@ -356,6 +364,33 @@ | @@ -356,6 +364,33 @@ | ||
| 356 | <el-button @click="cancel">取 消</el-button> | 364 | <el-button @click="cancel">取 消</el-button> |
| 357 | </div> | 365 | </div> |
| 358 | </el-dialog> | 366 | </el-dialog> |
| 367 | + <!-- 履行评价 --> | ||
| 368 | + <el-dialog :title="title" :visible.sync="showDialogEvaluate"> | ||
| 369 | + <el-table :data="tableData" style="width: 100%" border> | ||
| 370 | + <el-table-column prop="content" label="内容" width="200"></el-table-column> | ||
| 371 | + <el-table-column prop="description" label="评价描述" width="350"> | ||
| 372 | + <template slot-scope="scope"> | ||
| 373 | + <el-input v-model="scope.row.description" | ||
| 374 | + clearable | ||
| 375 | + /> | ||
| 376 | + </template> | ||
| 377 | + </el-table-column> | ||
| 378 | + <el-table-column prop="level" label="评价等级"> | ||
| 379 | + <template slot-scope="scope"> | ||
| 380 | + <el-radio v-model="scope.row.level" label="1">优秀</el-radio> | ||
| 381 | + <el-radio v-model="scope.row.level" label="2">良好</el-radio> | ||
| 382 | + <el-radio v-model="scope.row.level" label="3">一般</el-radio> | ||
| 383 | + <el-radio v-model="scope.row.level" label="4">较差</el-radio> | ||
| 384 | + </template> | ||
| 385 | + </el-table-column> | ||
| 386 | + </el-table> | ||
| 387 | + <div slot="footer" class="dialog-footer"> | ||
| 388 | + <el-button :loading="buttonLoading" type="primary" @click="submitFormEvaluate" | ||
| 389 | + >确 定</el-button | ||
| 390 | + > | ||
| 391 | + <el-button @click="cancelEvaluate">取 消</el-button> | ||
| 392 | + </div> | ||
| 393 | + </el-dialog> | ||
| 359 | </div> | 394 | </div> |
| 360 | </template> | 395 | </template> |
| 361 | 396 | ||
| @@ -376,6 +411,27 @@ export default { | @@ -376,6 +411,27 @@ export default { | ||
| 376 | }, | 411 | }, |
| 377 | data() { | 412 | data() { |
| 378 | return { | 413 | return { |
| 414 | + tableData: [{ | ||
| 415 | + content: '合同规范性', | ||
| 416 | + description: '', | ||
| 417 | + level: '' | ||
| 418 | + }, { | ||
| 419 | + content: '质量', | ||
| 420 | + description: '', | ||
| 421 | + level: '' | ||
| 422 | + }, { | ||
| 423 | + content: '交期(工期)', | ||
| 424 | + description: '', | ||
| 425 | + level: '' | ||
| 426 | + }, { | ||
| 427 | + content: '成本', | ||
| 428 | + description: '', | ||
| 429 | + level: '' | ||
| 430 | + },{ | ||
| 431 | + content: '合作配合情况', | ||
| 432 | + description: '', | ||
| 433 | + level: '' | ||
| 434 | + }], | ||
| 379 | switchValue: true, | 435 | switchValue: true, |
| 380 | pdfUrl: "", | 436 | pdfUrl: "", |
| 381 | dialogVisibleContract: false, | 437 | dialogVisibleContract: false, |
| @@ -463,6 +519,7 @@ export default { | @@ -463,6 +519,7 @@ export default { | ||
| 463 | ], | 519 | ], |
| 464 | id: [{ required: true, message: "不能为空", trigger: "blur" }], | 520 | id: [{ required: true, message: "不能为空", trigger: "blur" }], |
| 465 | }, | 521 | }, |
| 522 | + showDialogEvaluate:false | ||
| 466 | }; | 523 | }; |
| 467 | }, | 524 | }, |
| 468 | created() { | 525 | created() { |
| @@ -652,6 +709,18 @@ export default { | @@ -652,6 +709,18 @@ export default { | ||
| 652 | console.log(row); | 709 | console.log(row); |
| 653 | startProcess(row.procDefId, row).then((res) => {}); | 710 | startProcess(row.procDefId, row).then((res) => {}); |
| 654 | }, | 711 | }, |
| 712 | + handleEvaluate(row){ | ||
| 713 | + console.log('评价',row) | ||
| 714 | + this.title = row.contractName | ||
| 715 | + this.showDialogEvaluate = true | ||
| 716 | + }, | ||
| 717 | + submitFormEvaluate(){ | ||
| 718 | + console.log(this.tableData) | ||
| 719 | + this.showDialogEvaluate = false | ||
| 720 | + }, | ||
| 721 | + cancelEvaluate(){ | ||
| 722 | + this.showDialogEvaluate = false | ||
| 723 | + } | ||
| 655 | }, | 724 | }, |
| 656 | }; | 725 | }; |
| 657 | </script> | 726 | </script> |
-
请 注册 或 登录 后发表评论