-
-
-
-
-
+
diff --git a/src/views/parnerOperation/info.vue b/src/views/parnerOperation/info.vue
new file mode 100644
index 0000000..93b2b4e
--- /dev/null
+++ b/src/views/parnerOperation/info.vue
@@ -0,0 +1,339 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.isRelease ? '已发布' : '草稿' }}
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/parnerOperation/learn.vue b/src/views/parnerOperation/learn.vue
new file mode 100644
index 0000000..c5ad7d8
--- /dev/null
+++ b/src/views/parnerOperation/learn.vue
@@ -0,0 +1,339 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.isRelease ? '已发布' : '草稿' }}
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/parnerOperation/learnMg.vue b/src/views/parnerOperation/learnMg.vue
index f3dc136..cc11892 100644
--- a/src/views/parnerOperation/learnMg.vue
+++ b/src/views/parnerOperation/learnMg.vue
@@ -660,6 +660,9 @@ export default {
preview () {
window.open((Setting.isDev ? `http://${location.hostname}:8095` : this.$store.state.content.site.domainName) + `#/article?articleId=${this.form.id}&siteId=${this.form.siteId}&id=${this.form.columnId}`)
},
+ backPage () {
+ this.$router.push(this.$store.state.referrer || '/parnerOperation')
+ },
// 返回
back () {
this.pass = true
@@ -671,17 +674,16 @@ export default {
}).then(() => {
this.submit(this.form.isRelease)
}).catch(() => {
- this.$router.back()
+ this.backPage()
})
} else {
- this.$router.back()
+ this.backPage()
}
},
// 提交
submit (isRelease, next) {
if (this.submiting) return false
const form = JSON.parse(JSON.stringify(this.form))
- console.log('form=>', form)
if (!form.title) return Util.errorMsg('请填写标题')
if (this.nameRepeat) return Util.errorMsg('该标题已重复!')
// 如果是发布
@@ -702,7 +704,7 @@ export default {
delete form.children
this.$post(this.api.updateParnerArticle, form).then(res => {
Util.successMsg('修改成功')
- next ? next() : this.$router.back()
+ next ? next() : this.backPage()
}).catch(err => {
this.submiting = false
})
diff --git a/src/views/parnerOperation/mobileRole.vue b/src/views/parnerOperation/mobileRole.vue
deleted file mode 100644
index 28d6007..0000000
--- a/src/views/parnerOperation/mobileRole.vue
+++ /dev/null
@@ -1,221 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.isRelease ? '已发布' : '草稿' }}
-
-
-
-
- 编辑
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/parnerOperation/pcRole.vue b/src/views/parnerOperation/pcRole.vue
deleted file mode 100644
index 2e2522f..0000000
--- a/src/views/parnerOperation/pcRole.vue
+++ /dev/null
@@ -1,269 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.isRelease ? '已发布' : '草稿' }}
-
-
-
-
-
-
-
-
-
- 编辑
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/parnerOperation/plan.vue b/src/views/parnerOperation/plan.vue
new file mode 100644
index 0000000..8635267
--- /dev/null
+++ b/src/views/parnerOperation/plan.vue
@@ -0,0 +1,279 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.isRelease ? '已发布' : '草稿' }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/parnerOperation/schemeSet.vue b/src/views/parnerOperation/schemeSet.vue
index 46a2d68..fc54cfa 100644
--- a/src/views/parnerOperation/schemeSet.vue
+++ b/src/views/parnerOperation/schemeSet.vue
@@ -574,6 +574,9 @@ export default {
`当前限制选择 1 个文件,如需更换,请删除上一个文件再重新选择!`
)
},
+ backPage () {
+ this.$router.push(this.$store.state.referrer || '/parnerOperation?type=plan')
+ },
// 返回
back () {
this.pass = true
@@ -585,10 +588,10 @@ export default {
}).then(() => {
this.submit(this.form.isRelease)
}).catch(() => {
- this.$router.back()
+ this.backPage()
})
} else {
- this.$router.back()
+ this.backPage()
}
},
// 更新附件的状态为发布
@@ -622,7 +625,7 @@ export default {
if (form.id) {
this.$post(this.api.updateScheme, form).then(res => {
Util.successMsg('修改成功')
- next ? next() : this.$router.back()
+ next ? next() : this.backPage()
}).catch(err => {
this.submiting = false
})
diff --git a/src/views/parnerOperation/staff.vue b/src/views/parnerOperation/staff.vue
deleted file mode 100644
index 0737dfb..0000000
--- a/src/views/parnerOperation/staff.vue
+++ /dev/null
@@ -1,268 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.isRelease ? '已发布' : '草稿' }}
-
-
-
-
-
-
-
-
-
- 编辑
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/serve/Configure.vue b/src/views/serve/Configure.vue
index 52b7242..bc4f5b1 100644
--- a/src/views/serve/Configure.vue
+++ b/src/views/serve/Configure.vue
@@ -12,27 +12,27 @@
-
-
+
-
-
+
@@ -41,7 +41,7 @@
@@ -56,7 +56,7 @@
服务列表
-
@@ -73,7 +73,7 @@
label="系统类型"
align="center">
- {{ systemTypeKeys[scope.row.type] }}
+ {{ types[scope.row.type] }}
- {{ systemBelongKeys[scope.row.belong] }}
+ {{ belongs[scope.row.belong] }}
- {{ systemStatusKeys[scope.row.state] }}
+ {{ states[scope.row.state] }}
+ :current-page="page"
+ :total="total">
@@ -136,56 +136,32 @@
diff --git a/src/views/serve/backstage/index.vue b/src/views/serve/backstage/index.vue
index 7f550f3..f75cb5e 100644
--- a/src/views/serve/backstage/index.vue
+++ b/src/views/serve/backstage/index.vue
@@ -57,7 +57,7 @@ export default {
})
},
back () {
- this.$router.push('/configure')
+ this.$router.push(this.$store.state.referrer || '/configure')
}
}
};
diff --git a/src/views/serve/backstage/model.vue b/src/views/serve/backstage/model.vue
index 6e8c8ba..afa11d0 100644
--- a/src/views/serve/backstage/model.vue
+++ b/src/views/serve/backstage/model.vue
@@ -106,7 +106,6 @@