From 171b1a9d833d9f915ac9ba52aa9fbec2a6ad17f0 Mon Sep 17 00:00:00 2001
From: yanghao <781521347@qq.com>
Date: Mon, 14 Mar 2022 16:36:08 +0800
Subject: [PATCH] =?UTF-8?q?=E7=9C=81=E8=89=BA=E6=9C=AF=E5=8D=8F=E4=BC=9A?=
=?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=9C=80=E6=96=B0=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.production | 2 +-
src/api/Expert.js | 27 +++++++
src/views/information/index.vue | 10 +--
src/views/shop/expert/index.vue | 125 ++++++++++++++++++++++++++++++++
wsl.txt | 2 +-
5 files changed, 159 insertions(+), 7 deletions(-)
create mode 100644 src/api/Expert.js
create mode 100644 src/views/shop/expert/index.vue
diff --git a/.env.production b/.env.production
index 39b7707..110b305 100644
--- a/.env.production
+++ b/.env.production
@@ -1,6 +1,6 @@
ENV = 'production'
# 接口地址
-VUE_APP_BASE_API = 'http://www.cyjyyjy.com:8094'
+VUE_APP_BASE_API = 'http://art.admin.cyjyyjy.com'
VUE_APP_WS_API = 'ws:///127.0.0.1:8001'
diff --git a/src/api/Expert.js b/src/api/Expert.js
new file mode 100644
index 0000000..3e6f263
--- /dev/null
+++ b/src/api/Expert.js
@@ -0,0 +1,27 @@
+import request from '@/utils/request'
+
+export function add(data) {
+ return request({
+ url: 'api/Expert',
+ method: 'post',
+ data
+ })
+}
+
+export function del(ids) {
+ return request({
+ url: 'api/Expert/',
+ method: 'delete',
+ data: ids
+ })
+}
+
+export function edit(data) {
+ return request({
+ url: 'api/Expert',
+ method: 'put',
+ data
+ })
+}
+
+export default { add, edit, del }
diff --git a/src/views/information/index.vue b/src/views/information/index.vue
index 60112d1..7577bc2 100644
--- a/src/views/information/index.vue
+++ b/src/views/information/index.vue
@@ -148,15 +148,15 @@ export default {
data() {
return {
delLoading: false,
- articleCatetoryId: null,
+ articleCatetoryId: '',
articleCatetoryList: [],
setLoading: false
}
},
created() {
- this.$nextTick(() => {
- this.init()
- })
+ // this.$nextTick(() => {
+ // this.init()
+ // })
},
mounted(){
this.getArticleCatetory()
@@ -197,7 +197,7 @@ export default {
page: this.page,
size: this.size,
sort: sort,
- cid: this.articleCatetoryId
+ cid: this.articleCatetoryId
}
return true
},
diff --git a/src/views/shop/expert/index.vue b/src/views/shop/expert/index.vue
new file mode 100644
index 0000000..7d43fa0
--- /dev/null
+++ b/src/views/shop/expert/index.vue
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wsl.txt b/wsl.txt
index a25b307..ff318ad 100644
--- a/wsl.txt
+++ b/wsl.txt
@@ -1,2 +1,2 @@
-url: rsync -r ./ root@39.105.46.0:/root/html/distclode
+url: rsync -r ./ root@39.105.46.0:/root/html/sysxh_admin
password: CXkj2021!@#
\ No newline at end of file