正在显示
1 个修改的文件
包含
11 行增加
和
17 行删除
| @@ -17,14 +17,7 @@ | @@ -17,14 +17,7 @@ | ||
| 17 | @keyup.enter.native="handleQuery" | 17 | @keyup.enter.native="handleQuery" |
| 18 | /> | 18 | /> |
| 19 | </el-form-item> | 19 | </el-form-item> |
| 20 | - <el-form-item label="到期日期" prop="expirationDate"> | ||
| 21 | - <el-date-picker clearable | ||
| 22 | - v-model="queryParams.expirationDate" | ||
| 23 | - type="date" | ||
| 24 | - value-format="yyyy-MM-dd" | ||
| 25 | - placeholder="请选择到期日期"> | ||
| 26 | - </el-date-picker> | ||
| 27 | - </el-form-item> | 20 | + |
| 28 | <el-form-item label="甲方" prop="partyA"> | 21 | <el-form-item label="甲方" prop="partyA"> |
| 29 | <el-input | 22 | <el-input |
| 30 | v-model="queryParams.partyA" | 23 | v-model="queryParams.partyA" |
| @@ -41,14 +34,6 @@ | @@ -41,14 +34,6 @@ | ||
| 41 | @keyup.enter.native="handleQuery" | 34 | @keyup.enter.native="handleQuery" |
| 42 | /> | 35 | /> |
| 43 | </el-form-item> | 36 | </el-form-item> |
| 44 | - <el-form-item label="签订日期" prop="signingDate"> | ||
| 45 | - <el-date-picker clearable | ||
| 46 | - v-model="queryParams.signingDate" | ||
| 47 | - type="date" | ||
| 48 | - value-format="yyyy-MM-dd" | ||
| 49 | - placeholder="请选择签订日期"> | ||
| 50 | - </el-date-picker> | ||
| 51 | - </el-form-item> | ||
| 52 | <el-form-item> | 37 | <el-form-item> |
| 53 | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> | 38 | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
| 54 | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> | 39 | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
| @@ -129,7 +114,14 @@ | @@ -129,7 +114,14 @@ | ||
| 129 | <img v-if="scope.row.attachments" src="@/assets/images/PDF.png" @click="preview(scope.row.attachments)" width="40px" height="auto" style="cursor: pointer"/> | 114 | <img v-if="scope.row.attachments" src="@/assets/images/PDF.png" @click="preview(scope.row.attachments)" width="40px" height="auto" style="cursor: pointer"/> |
| 130 | </template> | 115 | </template> |
| 131 | </el-table-column> | 116 | </el-table-column> |
| 132 | - <el-table-column label="合同状态" align="center" prop="status" /> | 117 | + <el-table-column label="合同状态" align="center" prop="status" > |
| 118 | + <template slot-scope="scope"> | ||
| 119 | + <el-tag v-if="scope.row.status=='0'" type="success">已完成</el-tag> | ||
| 120 | + <el-tag v-if="scope.row.status=='1'" >进行中</el-tag> | ||
| 121 | + <el-tag v-if="scope.row.status=='2'" type="warning">已终止</el-tag> | ||
| 122 | + <el-tag v-if="scope.row.status=='3'" type="danger">已解除</el-tag> | ||
| 123 | + </template> | ||
| 124 | + </el-table-column> | ||
| 133 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 125 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 134 | <template slot-scope="scope"> | 126 | <template slot-scope="scope"> |
| 135 | <el-button | 127 | <el-button |
| @@ -241,6 +233,7 @@ | @@ -241,6 +233,7 @@ | ||
| 241 | 233 | ||
| 242 | <script> | 234 | <script> |
| 243 | import { listComplianceReview, getComplianceReview, delComplianceReview, addComplianceReview, updateComplianceReview } from "@/api/compliancemanagement/compliancereview"; | 235 | import { listComplianceReview, getComplianceReview, delComplianceReview, addComplianceReview, updateComplianceReview } from "@/api/compliancemanagement/compliancereview"; |
| 236 | +import { startProcess, stopProcess } from "@/api/workflow/process"; | ||
| 244 | import VuePdf from 'vue-pdf'; | 237 | import VuePdf from 'vue-pdf'; |
| 245 | export default { | 238 | export default { |
| 246 | name: "ComplianceReview", | 239 | name: "ComplianceReview", |
| @@ -493,6 +486,7 @@ export default { | @@ -493,6 +486,7 @@ export default { | ||
| 493 | }, | 486 | }, |
| 494 | handleAgain(row) { | 487 | handleAgain(row) { |
| 495 | console.log(row) | 488 | console.log(row) |
| 489 | + // return | ||
| 496 | startProcess(row.procDefId,row).then((res) =>{ | 490 | startProcess(row.procDefId,row).then((res) =>{ |
| 497 | if(res){ | 491 | if(res){ |
| 498 | this.$modal.msgSuccess("流程重启动成功"); | 492 | this.$modal.msgSuccess("流程重启动成功"); |
-
请 注册 或 登录 后发表评论