diff --git a/src/api/engine/engine.js b/src/api/engine/engine.js index e7ce071..7b061ca 100644 --- a/src/api/engine/engine.js +++ b/src/api/engine/engine.js @@ -87,7 +87,7 @@ export function dels(id) { -//天机规则数据 +//添加规则数据 export function add(data){ return request({ url: "/engine/version/insertVersion", diff --git a/src/views/engine/engine/index.vue b/src/views/engine/engine/index.vue index 6765d46..af6e7d9 100644 --- a/src/views/engine/engine/index.vue +++ b/src/views/engine/engine/index.vue @@ -243,8 +243,6 @@ 确 定 - 取 消 - diff --git a/src/views/engine/engine/list.vue b/src/views/engine/engine/list.vue index bb42a99..5f6cbfa 100644 --- a/src/views/engine/engine/list.vue +++ b/src/views/engine/engine/list.vue @@ -122,11 +122,11 @@ - + - 删除引擎 + - + @@ -208,8 +208,6 @@ @@ -383,13 +381,16 @@ export default { this.versions.status = 1 + console.log(this.versions) + add(this.versions).then(res => { - this.$modal.msgSuccess(res.msg || "新增成功") + + this.$message.success(res.msg || "新增成功") }) - this.findById(); + this.List(); }, @@ -401,7 +402,7 @@ export default { }) - this.findById(); + this.List(); }, @@ -439,7 +440,8 @@ export default { del(id) { - if (confirm("你确定删除吗?")) { + if (confirm("你确定" + + "删除吗?")) { dels(id).then(res => { diff --git a/src/views/port/port/assets.vue b/src/views/port/port/assets.vue index 69f805c..1738349 100644 --- a/src/views/port/port/assets.vue +++ b/src/views/port/port/assets.vue @@ -1,5 +1,12 @@ + + + + + 查询 + + 余额:{{ userBalanceData.userBalance || '加载中...' }} - - - - - - - - - - - + + + 编辑 + 删除 + + diff --git a/src/views/port/port/employee.vue b/src/views/port/port/employee.vue index 1572507..6e80399 100644 --- a/src/views/port/port/employee.vue +++ b/src/views/port/port/employee.vue @@ -6,8 +6,12 @@ 全部类型: - > - + + + {{ connectSort.connectorSort }} + @@ -16,16 +20,16 @@ - - 查询 + + 查询 - + - {{connector.connectorName}} + {{connector.connectorName}} 购买 产品图片: @@ -109,26 +113,26 @@ - years: {{this.formBirthday.years}} - months: {{this.formBirthday.months}} - days: {{this.formBirthday.days}} - animal: {{this.formBirthday.animal}} - imonthcn: {{this.formBirthday.imonthcn}} - idaycn: {{this.formBirthday.idaycn}} - cyear: {{this.formBirthday.cyear}} - cmonth: {{this.formBirthday.cmonth}} - cday: {{this.formBirthday.cday}} - gzyear: {{this.formBirthday.gzyear}} - gzmonth: {{this.formBirthday.gzmonth}} - gzday: {{this.formBirthday.gzday}} - isleap: {{this.formBirthday.isleap}} - ncweek: {{this.formBirthday.ncweek}} - isterm: {{this.formBirthday.isterm}} - term: {{this.formBirthday.term}} - astro: {{this.formBirthday.astro}} - eightall: {{this.formBirthday.eightall}} - fiveall: {{this.formBirthday.fiveall}} - + years: {{this.formBirthday.years}} + months: {{this.formBirthday.months}} + days: {{this.formBirthday.days}} + animal: {{this.formBirthday.animal}} + imonthcn: {{this.formBirthday.imonthcn}} + idaycn: {{this.formBirthday.idaycn}} + cyear: {{this.formBirthday.cyear}} + cmonth: {{this.formBirthday.cmonth}} + cday: {{this.formBirthday.cday}} + gzyear: {{this.formBirthday.gzyear}} + gzmonth: {{this.formBirthday.gzmonth}} + gzday: {{this.formBirthday.gzday}} + isleap: {{this.formBirthday.isleap}} + ncweek: {{this.formBirthday.ncweek}} + isterm: {{this.formBirthday.isterm}} + term: {{this.formBirthday.term}} + astro: {{this.formBirthday.astro}} + eightall: {{this.formBirthday.eightall}} + fiveall: {{this.formBirthday.fiveall}} +
余额:{{ userBalanceData.userBalance || '加载中...' }}