Browse Source

版本管理

master
jiangyy 5 years ago
parent
commit
8f4b8d5c45
  1. 4
      epmet-oper-web/.env.development
  2. 4
      epmet-oper-web/src/views/modules/code/CommitForm.vue
  3. 9
      epmet-oper-web/src/views/modules/code/LowVersion.vue
  4. 8
      epmet-oper-web/src/views/modules/code/OperHistory.vue
  5. 4
      epmet-oper-web/src/views/modules/code/SubmitFailReason.vue
  6. 4
      epmet-oper-web/src/views/modules/code/SubmitForm.vue
  7. 4
      epmet-oper-web/src/views/modules/code/SubmitFormReject.vue
  8. 8
      epmet-oper-web/src/views/modules/code/SubmitItem.vue
  9. 34
      epmet-oper-web/src/views/modules/code/VersionItem.vue
  10. 4
      epmet-oper-web/src/views/modules/code/VersionManage.vue

4
epmet-oper-web/.env.development

@ -1,5 +1,5 @@
NODE_ENV=development
# VUE_APP_API_SERVER = http://192.168.1.130:8080/api
VUE_APP_API_SERVER = http://10.10.10.207:8080/api
VUE_APP_API_SERVER = http://192.168.1.130:8080/api
# VUE_APP_API_SERVER = http://10.10.10.207:8080/api
# VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api
VUE_APP_NODE_ENV=dev

4
epmet-oper-web/src/views/modules/code/CommitForm.vue

@ -44,8 +44,8 @@ export default {
return {
params: {},//
tempForm: {
// commitUrl: 'https://epmet-cloud.elinkservice.cn/api/third/code/upload',
commitUrl: '/third/code/upload',
commitUrl: 'https://epmet-cloud.elinkservice.cn/api/third/code/upload',
// commitUrl: '/third/code/upload',
method: 'A',
dataUrl: [], // //url
data: {

9
epmet-oper-web/src/views/modules/code/LowVersion.vue

@ -95,9 +95,8 @@ export default {
loadData () {
this.startLoading()
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/pacustomer/getweappsupportversion'
// const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/pacustomer/getweappsupportversion'
const url = '/third/pacustomer/getweappsupportversion'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/pacustomer/getweappsupportversion'
// const url = '/third/pacustomer/getweappsupportversion'
const param = {
customerId: this.customerId,
clientType: this.clientType
@ -126,8 +125,8 @@ export default {
this.$message.warning('请选择版本')
return
}
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/pacustomer/setweappsupportversion'
const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/pacustomer/setweappsupportversion'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/pacustomer/setweappsupportversion'
// const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/pacustomer/setweappsupportversion'
this.startLoading()
let params = {
customerId: this.customerId,

8
epmet-oper-web/src/views/modules/code/OperHistory.vue

@ -82,8 +82,8 @@ export default {
params: {},
codeId: '',
//
// tableUrl: 'https://epmet-cloud.elinkservice.cn/api/third/code/history',
tableUrl: '/third/code/history',
tableUrl: 'https://epmet-cloud.elinkservice.cn/api/third/code/history',
// tableUrl: '/third/code/history',
tableParams: {
type: Object, // table
default () {
@ -136,8 +136,8 @@ export default {
},
//
loadSubmitFailHistory () {
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/reason'
const url = '/third/code/reason'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/reason'
// const url = '/third/code/reason'
const param = {
codeId: this.codeId
}

4
epmet-oper-web/src/views/modules/code/SubmitFailReason.vue

@ -67,8 +67,8 @@ export default {
this.diaVisible = true
// this.dataForm.reason = ','
// this.dataForm.screenshotUrl = ['https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg', 'https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg']
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/reason'
const url = '/third/code/reason'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/reason'
// const url = '/third/code/reason'
const param = {
codeId: codeId
}

4
epmet-oper-web/src/views/modules/code/SubmitForm.vue

@ -453,8 +453,8 @@ export default {
console.log(params)
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/audit'
const url = '/third/code/audit'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/audit'
// const url = '/third/code/audit'
this.startLoading()
window.app.ajax.post(url, params,
(data, rspMsg) => {

4
epmet-oper-web/src/views/modules/code/SubmitFormReject.vue

@ -189,8 +189,8 @@ export default {
// console.log('')
// console.log(params.feedbackStuff)
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/audit'
const url = '/third/code/audit'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/audit'
// const url = '/third/code/audit'
this.startLoading()
window.app.ajax.post(url, params,
(data, rspMsg) => {

8
epmet-oper-web/src/views/modules/code/SubmitItem.vue

@ -190,10 +190,10 @@ export default {
data () {
return {
codeId: '',
// addressUrl: 'https://epmet-cloud.elinkservice.cn/api/third/code/getpage',
addressUrl: '/third/code/getpage',
// categoryUrl: 'https://epmet-cloud.elinkservice.cn/api/third/code/getcategory',
categoryUrl: '/third/code/getcategory',
addressUrl: 'https://epmet-cloud.elinkservice.cn/api/third/code/getpage',
// addressUrl: '/third/code/getpage',
categoryUrl: 'https://epmet-cloud.elinkservice.cn/api/third/code/getcategory',
// categoryUrl: '/third/code/getcategory',
addressList: [], //
categoryList: [], //
templateRadio: '',

34
epmet-oper-web/src/views/modules/code/VersionItem.vue

@ -210,7 +210,8 @@
<submit-fail-reason ref="ref_submit_fail_reason"></submit-fail-reason>
<c-dialog :showFooter="false"
<c-dialog :modal-append-to-body="false"
:showFooter="false"
:title="'二维码'"
:width="40"
:visible="qrCodeDia.visible"
@ -340,9 +341,8 @@ export default {
//
loadData () {
const url = '/third/code/version'
// const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/code/version'
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/version'
// const url = '/third/code/version'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/version'
this.startLoading()
window.app.ajax.post(url, this.params,
@ -408,9 +408,8 @@ export default {
//
QRCodeShow () {
this.qrCodeDia.visible = true
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/qrcode'
// const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/code/qrcode'
const url = '/third/code/qrcode'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/qrcode'
// const url = '/third/code/qrcode'
const param = {
codeId: this.commit.codeId
}
@ -463,9 +462,8 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/undo'
// const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/code/undo'
const url = '/third/code/undo'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/undo'
// const url = '/third/code/undo'
const param = {
codeId: this.audit.codeId
}
@ -489,9 +487,8 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/release'
// const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/code/release'
const url = '/third/code/release'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/release'
// const url = '/third/code/release'
const param = {
codeId: this.audit.codeId
}
@ -518,8 +515,7 @@ export default {
grayreleaseOk () {
// eslint-disable-next-line
// debugger
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/grayrelease'
const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/third/code/grayrelease'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/grayrelease'
const param = {
codeId: this.selCodeId,
grayPercentage: this.grayPercentage
@ -547,8 +543,8 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/release'
const url = '/third/code/speedupaudit'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/release'
// const url = '/third/code/speedupaudit'
const param = {
codeId: this.audit.codeId
}
@ -569,8 +565,8 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/release'
const url = '/third/code/revertcoderelease'
const url = 'https://epmet-cloud.elinkservice.cn/api/third/code/release'
// const url = '/third/code/revertcoderelease'
const param = {
codeId: this.release.codeId
}

4
epmet-oper-web/src/views/modules/code/VersionManage.vue

@ -92,8 +92,8 @@ export default {
source: this.env
},
//
// tableUrl: 'https://epmet-cloud.elinkservice.cn/api/third/pacustomer/miniprolist',
tableUrl: '/third/pacustomer/miniprolist',
tableUrl: 'https://epmet-cloud.elinkservice.cn/api/third/pacustomer/miniprolist',
// tableUrl: '/third/pacustomer/miniprolist',
//
operations: [
{

Loading…
Cancel
Save