MrShi
2024-11-13 b496da6315314d9bd048ac2214d8bc95d2f1df02
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