|
@@ -2,8 +2,8 @@
|
|
|
<div class="edit-view">
|
|
<div class="edit-view">
|
|
|
<page-title>
|
|
<page-title>
|
|
|
<el-button @click="$router.go(-1)" :disabled="saving">取消</el-button>
|
|
<el-button @click="$router.go(-1)" :disabled="saving">取消</el-button>
|
|
|
- <el-button @click="onDelete" :disabled="saving" type="danger" v-if="formData.id"> 删除 </el-button>
|
|
|
|
|
- <el-button @click="onSave" :loading="saving" type="primary">保存</el-button>
|
|
|
|
|
|
|
+ <!-- <el-button @click="onDelete" :disabled="saving" type="danger" v-if="formData.id"> 删除 </el-button> -->
|
|
|
|
|
+ <!-- <el-button @click="onSave" :loading="saving" type="primary">保存</el-button> -->
|
|
|
</page-title>
|
|
</page-title>
|
|
|
<div class="edit-view__content-wrapper">
|
|
<div class="edit-view__content-wrapper">
|
|
|
<div class="edit-view__content-section">
|
|
<div class="edit-view__content-section">
|
|
@@ -16,7 +16,7 @@
|
|
|
size="small"
|
|
size="small"
|
|
|
style="max-width: 750px"
|
|
style="max-width: 750px"
|
|
|
>
|
|
>
|
|
|
- <el-form-item prop="reason" label="拒绝理由" v-if="formData.reason">
|
|
|
|
|
|
|
+ <el-form-item prop="reason" label="拒绝理由" v-if="formData.reason && formData.status != 'SUCCESS'">
|
|
|
<el-input
|
|
<el-input
|
|
|
type="textarea"
|
|
type="textarea"
|
|
|
v-model="formData.reason"
|
|
v-model="formData.reason"
|
|
@@ -75,21 +75,29 @@
|
|
|
<el-table-column type="index" label="#"></el-table-column>
|
|
<el-table-column type="index" label="#"></el-table-column>
|
|
|
<el-table-column prop="collectionId" label="ID" width="110">
|
|
<el-table-column prop="collectionId" label="ID" width="110">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
- <el-link>{{ row.collectionId }}</el-link>
|
|
|
|
|
|
|
+ <el-link @click="$router.push('/companyCollectionShelf?id=' + row.collectionId)">{{
|
|
|
|
|
+ row.collectionId
|
|
|
|
|
+ }}</el-link>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="pic" label="图">
|
|
|
|
|
|
|
+ <el-table-column prop="pic" label="图" width="110">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
- <el-image style="width: 30px; height: 30px" :src="row.pic" fit="cover"></el-image>
|
|
|
|
|
|
|
+ <el-image
|
|
|
|
|
+ style="width: 30px; height: 30px"
|
|
|
|
|
+ :src="row.pic"
|
|
|
|
|
+ fit="cover"
|
|
|
|
|
+ :preview-src-list="[row.pic]"
|
|
|
|
|
+ ></el-image>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
+ <el-table-column prop="name" label="名称"></el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item class="form-submit">
|
|
<el-form-item class="form-submit">
|
|
|
- <el-button @click="onSave" :loading="saving" type="primary"> 保存 </el-button>
|
|
|
|
|
- <el-button @click="onDelete" :disabled="saving" type="danger" v-if="formData.id">
|
|
|
|
|
|
|
+ <!-- <el-button @click="onSave" :loading="saving" type="primary"> 保存 </el-button> -->
|
|
|
|
|
+ <!-- <el-button @click="onDelete" :disabled="saving" type="danger" v-if="formData.id">
|
|
|
删除
|
|
删除
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ </el-button> -->
|
|
|
<el-button @click="$router.go(-1)" :disabled="saving">取消</el-button>
|
|
<el-button @click="$router.go(-1)" :disabled="saving">取消</el-button>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|