From b496da6315314d9bd048ac2214d8bc95d2f1df02 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 13 十一月 2024 08:59:18 +0800
Subject: [PATCH] 优化
---
company/src/components/business/modification.vue | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/company/src/components/business/modification.vue b/company/src/components/business/modification.vue
index 7c2181f..6bcff4c 100644
--- a/company/src/components/business/modification.vue
+++ b/company/src/components/business/modification.vue
@@ -24,7 +24,7 @@
label="淇濋櫓鏂规">
<template slot-scope="scope">
<!-- :value="{ id:item.id, baseId: item.baseId }"-->
- <el-select v-model="scope.row.solution.id" @change="changeSolution($event, scope.$index)" placeholder="璇烽�夋嫨">
+ <el-select v-model="scope.row.solution.id" filterable @change="changeSolution($event, scope.$index)" placeholder="璇烽�夋嫨">
<el-option
v-for="item in programme"
:key="item.id"
@@ -57,11 +57,19 @@
</template>
</el-table-column>
<el-table-column
+ align="center"
+ label="绛剧讲鐘舵��">
+ <template slot-scope="{row}">
+ <template v-if="row.signStatus === 0">寰呯绔�</template>
+ <template v-if="row.signStatus === 1">宸茬绔�</template>
+ </template>
+ </el-table-column>
+ <el-table-column
label="鎿嶄綔"
align="center"
width="100">
<template slot-scope="scope">
- <el-button type="text" size="small" style="color: red;" @click="dele(scope.$index)">鍒犻櫎</el-button>
+ <el-button type="text" size="small" style="color: red;" @click="dele(scope.$index)" v-if="scope.row.signStatus === 0 || !scope.row.signStatus">鍒犻櫎</el-button>
</template>
</el-table-column>
</el-table>
@@ -73,7 +81,7 @@
import GlobalWindow from '@/components/common/GlobalWindow'
import { all, listForCompany } from '@/api/business/solutions'
-import { updateSolutions, pageAll as shopList } from '@/api/business/company'
+import {updateSolutions, pageAll as shopList, allForFp} from '@/api/business/company'
export default {
name: 'modification',
@@ -145,7 +153,7 @@
.then(res => {
this.programme = res
})
- shopList({ type: 1, status: 0 })
+ allForFp({ type: 1, status: 0 })
.then(res => {
console.log(res)
this.shops = res
--
Gitblit v1.9.3