|
@@ -5,7 +5,9 @@
|
|
<title>采美365网-采美百科-仪器</title>
|
|
<title>采美365网-采美百科-仪器</title>
|
|
<template th:replace="components/head-link"></template>
|
|
<template th:replace="components/head-link"></template>
|
|
<link th:href="@{/css/base/center.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
<link th:href="@{/css/base/center.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
- <link th:if="${pageId==1026}" th:href="@{/css/base/form.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
|
|
|
|
+ <!--element ui 样式表-->
|
|
|
|
+ <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css" />
|
|
|
|
+ <link th:href="@{/lib/element-ui-min.css}" rel="stylesheet" type="text/css">
|
|
<link th:href="@{/css/supplier-center/encyclopedia/article-list.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
<link th:href="@{/css/supplier-center/encyclopedia/article-list.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
<template th:replace="components/analysis"></template>
|
|
<template th:replace="components/analysis"></template>
|
|
</head>
|
|
</head>
|
|
@@ -32,38 +34,61 @@
|
|
<!--筛选-->
|
|
<!--筛选-->
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="hot-tip">温馨提示:发布采美百科有利于曝光您的店铺商品,更有利于客户对产品与仪器有更深的认识度,提高成交率。(注意:发布并且审核通过后,可在采美百科搜索您的仪器)</div>
|
|
<div class="hot-tip">温馨提示:发布采美百科有利于曝光您的店铺商品,更有利于客户对产品与仪器有更深的认识度,提高成交率。(注意:发布并且审核通过后,可在采美百科搜索您的仪器)</div>
|
|
- <div class="form-section">
|
|
|
|
- <div class="form-item">
|
|
|
|
- <label for="productId" class="form-label">仪器ID:</label>
|
|
|
|
- <input id="productId" class="form-control" v-model="listQuery.productId" type="text" placeholder="请输入仪器ID"/>
|
|
|
|
|
|
+ <div class="filter-container">
|
|
|
|
+ <!--仪器ID-->
|
|
|
|
+ <div class="filter-control">
|
|
|
|
+ <span class="label">仪器ID:</span>
|
|
|
|
+ <el-input class="control" v-model="listQuery.productId" placeholder="请输入仪器ID" clearable></el-input>
|
|
</div>
|
|
</div>
|
|
- <div class="form-item">
|
|
|
|
- <label for="productTitle" class="form-label">仪器名称:</label>
|
|
|
|
- <input id="productTitle" class="form-control" v-model="listQuery.name" type="text" placeholder="请输入仪器名称"/>
|
|
|
|
|
|
+ <!--仪器名称-->
|
|
|
|
+ <div class="filter-control">
|
|
|
|
+ <span class="label">仪器名称:</span>
|
|
|
|
+ <el-input class="control" v-model="listQuery.name" placeholder="请输入仪器名称" clearable></el-input>
|
|
</div>
|
|
</div>
|
|
- <div class="form-item">
|
|
|
|
- <label for="productCate" class="form-label">仪器分类:</label>
|
|
|
|
- <select id="productCate" class="form-control form-select" v-model="listQuery.typeId" @change="getArticleList">
|
|
|
|
- <option value="">请选择</option>
|
|
|
|
|
|
+ <!--仪器分类-->
|
|
|
|
+ <div class="filter-control">
|
|
|
|
+ <span class="label">仪器分类:</span>
|
|
|
|
+ <el-select v-model="listQuery.typeId" @change="getArticleList" clearable>
|
|
|
|
+ <el-option label="全部" value=""></el-option>
|
|
<template v-for="(typeInfo, index) in productTypeList">
|
|
<template v-for="(typeInfo, index) in productTypeList">
|
|
- <option :value="typeInfo.typeId" :key="index">{{typeInfo.typeName}}</option>
|
|
|
|
|
|
+ <el-option :key="index" :label="typeInfo.typeName" :value="typeInfo.typeId"></el-option>
|
|
</template>
|
|
</template>
|
|
- </select>
|
|
|
|
|
|
+ </el-select>
|
|
</div>
|
|
</div>
|
|
- <div class="form-item">
|
|
|
|
- <label for="productStatus" class="form-label">审核状态:</label>
|
|
|
|
- <select id="productStatus" class="form-control form-select" v-model="listQuery.auditStatus" @change="handleSearchList">
|
|
|
|
- <option value="">全部</option>
|
|
|
|
- <option value="1">待审核</option>
|
|
|
|
- <option value="2">审核通过</option>
|
|
|
|
- <option value="3">审核未通过</option>
|
|
|
|
- </select>
|
|
|
|
|
|
+ <!--审核状态-->
|
|
|
|
+ <div class="filter-control">
|
|
|
|
+ <span class="label">审核状态:</span>
|
|
|
|
+ <el-select v-model="listQuery.auditStatus" @change="getArticleList" class="mini-width" clearable>
|
|
|
|
+ <el-option label="全部" value=""></el-option>
|
|
|
|
+ <el-option label="待审核" :value="1"></el-option>
|
|
|
|
+ <el-option label="审核通过" :value="2"></el-option>
|
|
|
|
+ <el-option label="审核未通过" :value="3"></el-option>
|
|
|
|
+ </el-select>
|
|
</div>
|
|
</div>
|
|
- <div class="form-item buttons">
|
|
|
|
|
|
+ <!--上线状态-->
|
|
|
|
+ <div class="filter-control">
|
|
|
|
+ <span class="label">上线状态:</span>
|
|
|
|
+ <el-select v-model="listQuery.typeId" @change="getArticleList" class="mini-width" clearable>
|
|
|
|
+ <el-option label="全部" value=""></el-option>
|
|
|
|
+ <el-option label="待上线" :value="1"></el-option>
|
|
|
|
+ <el-option label="已上线" :value="2"></el-option>
|
|
|
|
+ <el-option label="已下线" :value="3"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </div>
|
|
|
|
+ <!--状态-->
|
|
|
|
+ <div class="filter-control">
|
|
|
|
+ <span class="label">状态:</span>
|
|
|
|
+ <el-select v-model="listQuery.typeId" @change="getArticleList" class="mini-width" clearable>
|
|
|
|
+ <el-option label="全部" value=""></el-option>
|
|
|
|
+ <el-option label="已发布" :value="1"></el-option>
|
|
|
|
+ <el-option label="保存草稿箱" :value="2"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </div>
|
|
|
|
+ <!--筛选按钮-->
|
|
|
|
+ <div class="filter-control">
|
|
<button class="form-button search" type="button" @click="handleSearchList">搜索</button>
|
|
<button class="form-button search" type="button" @click="handleSearchList">搜索</button>
|
|
<button class="form-button add" type="button" @click="handleAddArticle">添加</button>
|
|
<button class="form-button add" type="button" @click="handleAddArticle">添加</button>
|
|
</div>
|
|
</div>
|
|
- <div class="form-item"></div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--列表表格-->
|
|
<!--列表表格-->
|
|
@@ -75,6 +100,7 @@
|
|
<th>仪器分类</th>
|
|
<th>仪器分类</th>
|
|
<th>阅读量</th>
|
|
<th>阅读量</th>
|
|
<th>审核状态</th>
|
|
<th>审核状态</th>
|
|
|
|
+ <th>上线状态</th>
|
|
<th>发布时间</th>
|
|
<th>发布时间</th>
|
|
<th>添加时间</th>
|
|
<th>添加时间</th>
|
|
<th>状态</th>
|
|
<th>状态</th>
|
|
@@ -94,6 +120,11 @@
|
|
<span class="state danger" v-else>审核失败</span>
|
|
<span class="state danger" v-else>审核失败</span>
|
|
<span class="reason" v-if="productInfo.auditStatus === 3" :title="'审核失败:' + productInfo.failReason">?</span>
|
|
<span class="reason" v-if="productInfo.auditStatus === 3" :title="'审核失败:' + productInfo.failReason">?</span>
|
|
</td>
|
|
</td>
|
|
|
|
+ <td>
|
|
|
|
+ <span class="state default" v-if="true">待上线</span>
|
|
|
|
+ <span class="state success" v-if="false">已上线</span>
|
|
|
|
+ <span class="state danger" v-if="false">已下线</span>
|
|
|
|
+ </td>
|
|
<td class="time">
|
|
<td class="time">
|
|
<div class="time">{{ productInfo.publishTime | formatDate }}</div>
|
|
<div class="time">{{ productInfo.publishTime | formatDate }}</div>
|
|
</td>
|
|
</td>
|
|
@@ -140,11 +171,9 @@
|
|
<!-- 引入底部 -->
|
|
<!-- 引入底部 -->
|
|
<template th:replace="components/footer"></template>
|
|
<template th:replace="components/footer"></template>
|
|
<template th:replace="components/foot-link"></template>
|
|
<template th:replace="components/foot-link"></template>
|
|
-
|
|
|
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/lib/element-ui.min.js}"></script>
|
|
<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
|
|
<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
|
|
-<script charset="utf-8" type="text/javascript"
|
|
|
|
- th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
|
|
|
|
-<script charset="UTF-8" type="text/javascript"
|
|
|
|
- th:src="@{/js/supplier-center/encyclopedia/instrument-list.js(v=${version})}"></script>
|
|
|
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
|
|
|
|
+<script charset="UTF-8" type="text/javascript" th:src="@{/js/supplier-center/encyclopedia/instrument-list.js(v=${version})}"></script>
|
|
</body>
|
|
</body>
|
|
</html>
|
|
</html>
|