|
@@ -2,10 +2,6 @@
|
|
|
<div class="app-container calendar-list-container">
|
|
|
<!-- 查询和其他操作 -->
|
|
|
<div class="filter-container">
|
|
|
- <!-- <el-select v-model="listQuery.type" clearable placeholder="证书类型" style="top: -4px; width: 200px">
|
|
|
- <el-option :key="item.type" v-for="item in typeList" :label="item.name" :value="item.type">
|
|
|
- </el-option>
|
|
|
- </el-select> -->
|
|
|
<el-select v-model="listQuery.status" clearable placeholder="审批状态" style="top: -4px; width: 200px">
|
|
|
<el-option :key="item.type" v-for="item in statusTypeList" :label="item.name" :value="item.type">
|
|
|
</el-option>
|
|
@@ -56,26 +52,6 @@
|
|
|
layout="total, sizes, prev, pager, next, jumper" :total="total">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
-
|
|
|
- <!-- 添加或修改对话框 -->
|
|
|
- <el-dialog :close-on-click-modal="false" :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" width="45%">
|
|
|
- <el-form :rules="rules" ref="dataForm" :model="dataForm" status-icon label-position="left" label-width="80px"
|
|
|
- style="width: 700px; margin-left: 50px">
|
|
|
- <el-form-item label="证书类型" prop="type">
|
|
|
- <el-select v-model="dataForm.type" filterable placeholder="请选择" style="width: 350px">
|
|
|
- <el-option :key="item.type" v-for="item in typeList" :label="item.name" :value="item.type">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
-
|
|
|
- </el-form>
|
|
|
-
|
|
|
- <div slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialogFormVisible = false">取消</el-button>
|
|
|
- <el-button type="primary" @click="handleComplete(0)">通过</el-button>
|
|
|
- <el-button type="warning" @click="handleComplete(1)">不通过</el-button>
|
|
|
- </div>
|
|
|
- </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -112,7 +88,6 @@
|
|
|
typeVisible: false,
|
|
|
fileImgUrl: this.upLoadUrl,
|
|
|
recipientsList: [],
|
|
|
- typeList: [],
|
|
|
statusTypeList: [
|
|
|
{
|
|
|
type: 0,
|
|
@@ -166,15 +141,9 @@
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.getTypeList();
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
- getTypeList(){
|
|
|
- types().then(response => {
|
|
|
- this.typeList = response.data.data;
|
|
|
- })
|
|
|
- },
|
|
|
getList() {
|
|
|
this.listLoading = true;
|
|
|
list(this.listQuery)
|