|
@@ -234,38 +234,19 @@ |
|
@@ -234,38 +234,19 @@ |
|
234
|
v-hasPermi="['workflow:process:cancel']"
|
234
|
v-hasPermi="['workflow:process:cancel']"
|
|
235
|
>取消</el-button
|
235
|
>取消</el-button
|
|
236
|
>
|
236
|
>
|
|
237
|
- <el-button
|
|
|
|
238
|
- type="text"
|
|
|
|
239
|
- size="mini"
|
|
|
|
240
|
- icon="el-icon-refresh-right"
|
|
|
|
241
|
- v-hasPermi="['workflow:process:start']"
|
|
|
|
242
|
- @click="handleAgain(scope.row)"
|
|
|
|
243
|
- >重新发起</el-button
|
|
|
|
244
|
- >
|
|
|
|
245
|
- <el-button
|
|
|
|
246
|
- type="text"
|
|
|
|
247
|
- size="mini"
|
|
|
|
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"
|
|
|
|
257
|
- @click="handleEdit(scope.row)"
|
|
|
|
258
|
- >合同变更</el-button
|
|
|
|
259
|
- >
|
|
|
|
260
|
- <el-switch
|
|
|
|
261
|
- class="switch"
|
|
|
|
262
|
- v-model="scope.row.status"
|
|
|
|
263
|
- :active-value="0"
|
|
|
|
264
|
- :inactive-value="1"
|
|
|
|
265
|
- active-text="进行中"
|
|
|
|
266
|
- inactive-text="已解除"
|
|
|
|
267
|
- >
|
|
|
|
268
|
- </el-switch>
|
237
|
+ <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['workflow:process:start', 'workflow:process:start']">
|
|
|
|
238
|
+ <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
|
|
|
|
239
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
|
240
|
+ <el-dropdown-item command="handleAgain" icon="el-icon-refresh-right"
|
|
|
|
241
|
+ v-hasPermi="['workflow:process:start']">重新发起</el-dropdown-item>
|
|
|
|
242
|
+ <el-dropdown-item command="handleEvaluate" icon="el-icon-star-off"
|
|
|
|
243
|
+ >履行评价</el-dropdown-item>
|
|
|
|
244
|
+ <el-dropdown-item command="handleEdit" icon="el-icon-edit-outline"
|
|
|
|
245
|
+ v-hasPermi="['workflow:process:start']">合同变更</el-dropdown-item>
|
|
|
|
246
|
+ <el-dropdown-item command="handleUnbind" icon="el-icon-edit-outline">
|
|
|
|
247
|
+ 解绑</el-dropdown-item>
|
|
|
|
248
|
+ </el-dropdown-menu>
|
|
|
|
249
|
+ </el-dropdown>
|
|
269
|
</template>
|
250
|
</template>
|
|
270
|
</el-table-column>
|
251
|
</el-table-column>
|
|
271
|
</el-table>
|
252
|
</el-table>
|
|
@@ -289,6 +270,7 @@ |
|
@@ -289,6 +270,7 @@ |
|
289
|
type="application/pdf"
|
270
|
type="application/pdf"
|
|
290
|
width="100%"
|
271
|
width="100%"
|
|
291
|
height="800px"
|
272
|
height="800px"
|
|
|
|
273
|
+ v-if="pdfUrl"
|
|
292
|
/>
|
274
|
/>
|
|
293
|
</el-dialog>
|
275
|
</el-dialog>
|
|
294
|
<!-- 添加或修改【请填写功能名称】对话框 -->
|
276
|
<!-- 添加或修改【请填写功能名称】对话框 -->
|
|
@@ -526,6 +508,29 @@ export default { |
|
@@ -526,6 +508,29 @@ export default { |
|
526
|
this.getList();
|
508
|
this.getList();
|
|
527
|
},
|
509
|
},
|
|
528
|
methods: {
|
510
|
methods: {
|
|
|
|
511
|
+ // 更多操作触发
|
|
|
|
512
|
+ handleCommand(command, row) {
|
|
|
|
513
|
+ switch (command) {
|
|
|
|
514
|
+ case "handleAgain":
|
|
|
|
515
|
+ this.handleAgain(row);
|
|
|
|
516
|
+ break;
|
|
|
|
517
|
+ case "handleEvaluate":
|
|
|
|
518
|
+ this.handleEvaluate(row);
|
|
|
|
519
|
+ break;
|
|
|
|
520
|
+ case "handleEdit":
|
|
|
|
521
|
+ this.handleEdit(row);
|
|
|
|
522
|
+ break;
|
|
|
|
523
|
+ case "handleUnbind":
|
|
|
|
524
|
+ this.handleUnbind(row);
|
|
|
|
525
|
+ break;
|
|
|
|
526
|
+
|
|
|
|
527
|
+ default:
|
|
|
|
528
|
+ break;
|
|
|
|
529
|
+ }
|
|
|
|
530
|
+ },
|
|
|
|
531
|
+ handleUnbind(row){
|
|
|
|
532
|
+ console.log(row)
|
|
|
|
533
|
+ },
|
|
529
|
/** 查询【请填写功能名称】列表 */
|
534
|
/** 查询【请填写功能名称】列表 */
|
|
530
|
getList() {
|
535
|
getList() {
|
|
531
|
this.loading = true;
|
536
|
this.loading = true;
|