@@ -64,8 +64,8 @@ export default {
};
-
diff --git a/src/views/data/Introduce.vue b/src/views/data/Introduce.vue
index b4c9d7d..5790eb5 100644
--- a/src/views/data/Introduce.vue
+++ b/src/views/data/Introduce.vue
@@ -6,51 +6,49 @@
-
-
-
-
数据简介
-
编辑
+
+
+
+
请添加简介
+
+ 添加
-
-
-
-
-
+
+
+
-
关键字
-
-
-
- 保 存
-
-
-
-
- {{tag.keyword}}
-
-
+
数据源
+
+
+
+
+
关键字
+
+
+
+ 保 存
+
-
-
取 消
-
确 定
+
+
+ {{tag.keyword}}
+
-
-
+
+
+ 取 消
+ 确 定
+
+
@@ -216,64 +214,68 @@ export default {
};
diff --git a/src/views/data/Product.vue b/src/views/data/Product.vue
index f4baafa..7e3cbdc 100644
--- a/src/views/data/Product.vue
+++ b/src/views/data/Product.vue
@@ -1,74 +1,68 @@
-
-
-
-
-
-
-
筛选
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 预览
- 编辑
- 删除
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 预览
+ 编辑
+ 删除
+
+
+
+
+
@@ -641,20 +635,23 @@ export default {
\ No newline at end of file
diff --git a/src/views/order/AddOrder.vue b/src/views/order/AddOrder.vue
index 761f1cf..5d3d4e0 100644
--- a/src/views/order/AddOrder.vue
+++ b/src/views/order/AddOrder.vue
@@ -115,7 +115,7 @@
-
+
-
+
配置
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.orderContent }}
-
- {{ scope.row.orderContent }}
-
-
-
- {{ scope.row.orderContent }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.orderStatus === "已完成" ? "修改" : "处理" }}
-
- 查看
- 删除
- 续费
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.orderContent }}
+
+ {{ scope.row.orderContent }}
+
+
+
+ {{ scope.row.orderContent }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.orderStatus === "已完成" ? "修改" : "处理" }}
+
+ 查看
+ 删除
+ 续费
+
+
+
+
+
+
@@ -327,6 +321,9 @@ export default {
\ No newline at end of file
diff --git a/src/views/system/addLog.vue b/src/views/system/addLog.vue
index 959b3d0..f87e1db 100644
--- a/src/views/system/addLog.vue
+++ b/src/views/system/addLog.vue
@@ -14,8 +14,8 @@
-
-
+
+
@@ -160,7 +160,8 @@ export default {
versionName,
coverUrl: this.form.coverUrl,
logContents,
- draft // 0:发布,1:草稿
+ open: draft, // 启用禁用,0:启用,1:禁用
+ draft // 状态,0:发布,1:草稿
}
if (id) {
data.logId = id
@@ -180,6 +181,11 @@ export default {
\ No newline at end of file
diff --git a/src/views/system/manageLog.vue b/src/views/system/manageLog.vue
index 90dea63..cffb430 100644
--- a/src/views/system/manageLog.vue
+++ b/src/views/system/manageLog.vue
@@ -5,52 +5,55 @@
返回
- 日志更新
+ 职站日志管理
-
-
-
- {{ item.draft ? '未发布' : item.updateTime }}
-
-
- {{ platformName + item.versionName }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ item.draft ? '未发布' : item.updateTime }}
+
+
+ {{ platformName + item.versionName + (item.draft ? '(草稿)' : '') }}
+
+
+
+
+
+
+
+
+
+
+
@@ -109,7 +112,15 @@ export default {
},
// 新增日志
add() {
- this.$router.push(`/addLog?platformId=${this.platformId}`)
+ if (this.listData.find(e => e.draft)) {
+ this.$confirm("当前有未发布的版本,是否要新增版本?", "提示", {
+ type: "warning"
+ }).then(() => {
+ this.$router.push(`/addLog?platformId=${this.platformId}`)
+ }).catch(() => {})
+ } else {
+ this.$router.push(`/addLog?platformId=${this.platformId}`)
+ }
},
// 编辑
edit(item) {
@@ -144,7 +155,12 @@ export default {
diff --git a/vue.config.js b/vue.config.js
index b43d9d5..2474820 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,24 +1,5 @@
-// 引入等比适配插件
-const px2rem = require("postcss-px2rem");
-
-// 配置基本大小
-const postcss = px2rem({
- // 基准大小 baseSize,需要和rem.js中相同
- remUnit: 16
-});
-
-// 使用等比适配插件
module.exports = {
lintOnSave: true,
- css: {
- loaderOptions: {
- postcss: {
- plugins: [
- postcss
- ]
- }
- }
- },
publicPath: "./",
outputDir: "dist",
assetsDir: "static",