Browse Source

修改

master
rose 4 years ago
parent
commit
90a6cabde1
  1. 2
      src/router/index.js
  2. 6
      src/views/firstPages/policy.vue

2
src/router/index.js

@ -51,7 +51,7 @@ export const constantRoutes = [
path: 'dashboard', path: 'dashboard',
name: 'dashboard', name: 'dashboard',
component: () => import('@/views/dashboard/index'), component: () => import('@/views/dashboard/index'),
meta: { title: '推策服务平台管理系统', icon: '' } meta: { title: '推策——科创政策智能推送平台', icon: '' }
}] }]
}, },

6
src/views/firstPages/policy.vue

@ -391,7 +391,8 @@ export default {
intro: '', intro: '',
pushDep: '' pushDep: ''
}, },
options: [] options: [],
contentDetail: ''
} }
}, },
computed: { computed: {
@ -467,6 +468,8 @@ export default {
}) })
}, },
handleUpdate(row) { handleUpdate(row) {
console.log("row")
console.log(row)
const that = this const that = this
that.temp = Object.assign({}, row) // copy obj that.temp = Object.assign({}, row) // copy obj
console.log(that.temp) console.log(that.temp)
@ -489,6 +492,7 @@ export default {
}, },
async Commit() { async Commit() {
const that = this const that = this
console.log("=====>",that.temp.content)
that.temp.type = that.typeList[`${that.policyType1}`] that.temp.type = that.typeList[`${that.policyType1}`]
that.temp.auditStatus = that.status[`${that.policyStatus1}`] that.temp.auditStatus = that.status[`${that.policyStatus1}`]
for (let i = 0; i < that.temp.projectLabels.length; i++) { for (let i = 0; i < that.temp.projectLabels.length; i++) {

Loading…
Cancel
Save