|
...
|
...
|
@@ -234,38 +234,19 @@ |
|
|
|
v-hasPermi="['workflow:process:cancel']"
|
|
|
|
>取消</el-button
|
|
|
|
>
|
|
|
|
<el-button
|
|
|
|
type="text"
|
|
|
|
size="mini"
|
|
|
|
icon="el-icon-refresh-right"
|
|
|
|
v-hasPermi="['workflow:process:start']"
|
|
|
|
@click="handleAgain(scope.row)"
|
|
|
|
>重新发起</el-button
|
|
|
|
>
|
|
|
|
<el-button
|
|
|
|
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
|
|
|
|
>
|
|
|
|
<el-switch
|
|
|
|
class="switch"
|
|
|
|
v-model="scope.row.status"
|
|
|
|
:active-value="0"
|
|
|
|
:inactive-value="1"
|
|
|
|
active-text="进行中"
|
|
|
|
inactive-text="已解除"
|
|
|
|
>
|
|
|
|
</el-switch>
|
|
|
|
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['workflow:process:start', 'workflow:process:start']">
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
|
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
|
<el-dropdown-item command="handleAgain" icon="el-icon-refresh-right"
|
|
|
|
v-hasPermi="['workflow:process:start']">重新发起</el-dropdown-item>
|
|
|
|
<el-dropdown-item command="handleEvaluate" icon="el-icon-star-off"
|
|
|
|
>履行评价</el-dropdown-item>
|
|
|
|
<el-dropdown-item command="handleEdit" icon="el-icon-edit-outline"
|
|
|
|
v-hasPermi="['workflow:process:start']">合同变更</el-dropdown-item>
|
|
|
|
<el-dropdown-item command="handleUnbind" icon="el-icon-edit-outline">
|
|
|
|
解绑</el-dropdown-item>
|
|
|
|
</el-dropdown-menu>
|
|
|
|
</el-dropdown>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
...
|
...
|
@@ -289,6 +270,7 @@ |
|
|
|
type="application/pdf"
|
|
|
|
width="100%"
|
|
|
|
height="800px"
|
|
|
|
v-if="pdfUrl"
|
|
|
|
/>
|
|
|
|
</el-dialog>
|
|
|
|
<!-- 添加或修改【请填写功能名称】对话框 -->
|
|
...
|
...
|
@@ -526,6 +508,29 @@ export default { |
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
// 更多操作触发
|
|
|
|
handleCommand(command, row) {
|
|
|
|
switch (command) {
|
|
|
|
case "handleAgain":
|
|
|
|
this.handleAgain(row);
|
|
|
|
break;
|
|
|
|
case "handleEvaluate":
|
|
|
|
this.handleEvaluate(row);
|
|
|
|
break;
|
|
|
|
case "handleEdit":
|
|
|
|
this.handleEdit(row);
|
|
|
|
break;
|
|
|
|
case "handleUnbind":
|
|
|
|
this.handleUnbind(row);
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
handleUnbind(row){
|
|
|
|
console.log(row)
|
|
|
|
},
|
|
|
|
/** 查询【请填写功能名称】列表 */
|
|
|
|
getList() {
|
|
|
|
this.loading = true;
|
...
|
...
|
|