资质填报设置

master
schry 2 years ago
parent 879c2f1c93
commit 9b2ed727fa

@ -1,97 +1,97 @@
<template> <template>
<div> <div>
<el-card> <!-- <el-card>-->
<div> <!-- <div>-->
<p class="form-title">配送企业资质设置</p> <!-- <p class="form-title">配送企业资质设置</p>-->
</div> <!-- </div>-->
<div style=" float: right; text-align: right; margin-bottom: 8px;"> <!-- <div style=" float: right; text-align: right; margin-bottom: 8px;">-->
<el-button type="primary" size="mini" icon="search" @click="addCert" style="text-align:right">添加设置</el-button> <!-- <el-button type="primary" size="mini" icon="search" @click="addCert" style="text-align:right">添加设置</el-button>-->
</div> <!-- </div>-->
<el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row> <!-- <el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row>-->
<el-table-column type="index" label="序号" width="50"></el-table-column> <!-- <el-table-column type="index" label="序号" width="50"></el-table-column>-->
<el-table-column label="证书名称" prop="name"></el-table-column> <!-- <el-table-column label="证书名称" prop="name"></el-table-column>-->
<el-table-column label="是否必传" prop="require" s> <!-- <el-table-column label="是否必传" prop="require" s>-->
<template slot-scope="scope"> <!-- <template slot-scope="scope">-->
<span>{{ enableMap[scope.row.need] }}</span> <!-- <span>{{ enableMap[scope.row.need] }}</span>-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
<el-table-column label="说明" prop="remark"></el-table-column> <!-- <el-table-column label="说明" prop="remark"></el-table-column>-->
<el-table-column label="操作" width="200"> <!-- <el-table-column label="操作" width="200">-->
<template slot-scope="scope"> <!-- <template slot-scope="scope">-->
<el-button <!-- <el-button-->
type="text" <!-- type="text"-->
size="small" <!-- size="small"-->
@click="handleEdit(scope.row)" <!-- @click="handleEdit(scope.row)"-->
>编辑 <!-- >编辑-->
</el-button> <!-- </el-button>-->
<el-button <!-- <el-button-->
type="text" <!-- type="text"-->
size="small" <!-- size="small"-->
@click="handleDel( scope.row)" <!-- @click="handleDel( scope.row)"-->
>删除 <!-- >删除-->
</el-button> <!-- </el-button>-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
</el-table> <!-- </el-table>-->
<pagination <!-- <pagination-->
v-show="total>0" <!-- v-show="total>0"-->
:total="total" <!-- :total="total"-->
:page.sync="query.page" <!-- :page.sync="query.page"-->
:limit.sync="query.limit" <!-- :limit.sync="query.limit"-->
@pagination="handleCurrentChange" <!-- @pagination="handleCurrentChange"-->
></pagination> <!-- ></pagination>-->
<el-dialog <!-- <el-dialog-->
:title="formMap[formName]" <!-- :title="formMap[formName]"-->
:visible.sync="addDialogVisible" <!-- :visible.sync="addDialogVisible"-->
width="60%" <!-- width="60%"-->
:close-on-click-modal="false" <!-- :close-on-click-modal="false"-->
:close-on-press-escape="false" <!-- :close-on-press-escape="false"-->
v-if="addDialogVisible" <!-- v-if="addDialogVisible"-->
> <!-- >-->
<el-form :model="currentSup" :rules="formRules" label-width="100px" ref="dataForm"> <!-- <el-form :model="currentSup" :rules="formRules" label-width="100px" ref="dataForm">-->
<el-row> <!-- <el-row>-->
<el-col :span="11"> <!-- <el-col :span="11">-->
<el-form-item label="证书名称:" prop="name"> <!-- <el-form-item label="证书名称:" prop="name">-->
<el-input v-model="currentSup.name" style="width: 90%" auto-complete="off"></el-input> <!-- <el-input v-model="currentSup.name" style="width: 90%" auto-complete="off"></el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-col :span="11"> <!-- <el-col :span="11">-->
<el-form-item label="是否必传:" prop="need"> <!-- <el-form-item label="是否必传:" prop="need">-->
<el-select style="width: 90%" v-model="currentSup.need"> <!-- <el-select style="width: 90%" v-model="currentSup.need">-->
<el-option label="是" :value=true></el-option> <!-- <el-option label="是" :value=true></el-option>-->
<el-option label="否" :value=false></el-option> <!-- <el-option label="否" :value=false></el-option>-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
</el-row> <!-- </el-row>-->
<el-row> <!-- <el-row>-->
<el-col :span="22"> <!-- <el-col :span="22">-->
<el-form-item label="说明:" prop="remark"> <!-- <el-form-item label="说明:" prop="remark">-->
<el-input v-model="currentSup.remark" style="width: 95.5%" auto-complete="off" type="textarea" <!-- <el-input v-model="currentSup.remark" style="width: 95.5%" auto-complete="off" type="textarea"-->
autosize></el-input> <!-- autosize></el-input>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
</el-row> <!-- </el-row>-->
</el-form> <!-- </el-form>-->
<div style="text-align: center"> <!-- <div style="text-align: center">-->
<el-button type="primary" size="small" icon="search" @click="onAddSubmit" <!-- <el-button type="primary" size="small" icon="search" @click="onAddSubmit"-->
>提交 <!-- >提交-->
</el-button <!-- </el-button-->
> <!-- >-->
<el-button type="primary" size="small" icon="search" @click="cancelDialog" <!-- <el-button type="primary" size="small" icon="search" @click="cancelDialog"-->
>取消 <!-- >取消-->
</el-button <!-- </el-button-->
> <!-- >-->
</div> <!-- </div>-->
</el-dialog> <!-- </el-dialog>-->
</el-card> <!-- </el-card>-->
<el-card> <el-card>
<div> <div>

Loading…
Cancel
Save