Commit ab3b4e65 authored by dingyoujian's avatar dingyoujian

三违过五关

parent 4fcfe316
...@@ -249,6 +249,7 @@ ...@@ -249,6 +249,7 @@
zt:'', zt:'',
//曝光内容 //曝光内容
bgcont:'', bgcont:'',
bgtitle:'',
//安全教育人 //安全教育人
aqjyrid:'', aqjyrid:'',
//安全教育时间 //安全教育时间
......
...@@ -11,6 +11,19 @@ ...@@ -11,6 +11,19 @@
<!-- 权限--> <!-- 权限-->
</el-row> </el-row>
<br> <br>
<el-form ref="form" label-width='80px' >
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="曝光标题">
<el-input v-model="vMain.rowItem.bgtitle" :readonly="readonly" type="textarea" rows="1" >
</el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<el-form ref="form" label-width='80px' > <el-form ref="form" label-width='80px' >
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
...@@ -38,7 +51,7 @@ ...@@ -38,7 +51,7 @@
methods: { methods: {
save(){ save(){
let params=this.vMain.rowItem let params=this.vMain.rowItem
this.vMain.apiUpdate(params).then(res => { this.vMain.apiPg(params).then(res => {
if (res.success) { if (res.success) {
this.$success('更新成功') this.$success('更新成功')
this.readonly=true this.readonly=true
......
...@@ -77,7 +77,11 @@ ...@@ -77,7 +77,11 @@
doQuery, doQuery,
doAdd, doAdd,
doUpdate, doUpdate,
doDelete doDelete,
doPg,
doAq,
doFs,
doTalk
} from '@/api/threeViolations/enterTV.js'; } from '@/api/threeViolations/enterTV.js';
/* edit页面*/ /* edit页面*/
import Edit from './edit' import Edit from './edit'
...@@ -169,6 +173,12 @@ ...@@ -169,6 +173,12 @@
apiUpdate: doUpdate, apiUpdate: doUpdate,
/* 删除操作*/ /* 删除操作*/
apiDelete: doDelete, apiDelete: doDelete,
apiPg:doPg,
apiFs:doFs,
apiAq:doAq,
apiTalk:doTalk,
/* 初始化赋值操作*/ /* 初始化赋值操作*/
init() { init() {
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
}, },
save(){ save(){
let params=this.vMain.rowItem let params=this.vMain.rowItem
this.vMain.apiUpdate(params).then(res => { this.vMain.apiTalk(params).then(res => {
if (res.success) { if (res.success) {
this.$success('更新成功') this.$success('更新成功')
this.readonly=true this.readonly=true
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
}, },
save(){ save(){
let params=this.vMain.rowItem let params=this.vMain.rowItem
this.vMain.apiUpdate(params).then(res => { this.vMain.apiFs(params).then(res => {
if (res.success) { if (res.success) {
this.$success('更新成功') this.$success('更新成功')
this.readonly=true this.readonly=true
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
}, },
save(){ save(){
let params=this.vMain.rowItem let params=this.vMain.rowItem
this.vMain.apiUpdate(params).then(res => { this.vMain.apiAq(params).then(res => {
if (res.success) { if (res.success) {
this.$success('更新成功') this.$success('更新成功')
this.readonly=true this.readonly=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment