Commit 16d972c2 authored by 李苏's avatar 李苏 💬

附件

parent f0f0c3ae
......@@ -39,11 +39,12 @@
<ViewButton ref="view" :app='app'></ViewButton>
<EditButton ref="edit" :app='app'></EditButton>
<DeleteButton :app='app'></DeleteButton>
<el-button size='mini' @click="zdzrr" type="primary">整改完成</el-button>
<!-- <AttachFileButton :app='app' ></AttachFileButton>
<WorkFlowButton :app='app' ></WorkFlowButton> -->
<AttachFileButton_aqyh :params="{childPath:'yhzg'}" :app='this'></AttachFileButton_aqyh>
<WorkFlowButton :app='app' ></WorkFlowButton>
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<el-button size='mini' @click="zdzrr" type="primary">整改完成</el-button>
<!-- 权限-->
</el-row>
......
......@@ -20,7 +20,9 @@
</DefaultDialog>
</template>
<script>
import {
doZg
} from "@/api/dangerManagement/common.js"
export default {
props: {
app: {
......@@ -40,7 +42,18 @@
}},
methods: {
save(){
let params={
id:this.rowItem.id,
clff:this.rowItem.clff,
}
doZg(params).then(res=>{
if(res.success){
this.$success('提交成功')
this.app.$refs['TablePager'].reLoad()
this.app.$refs['TablePager'].clearSelected()
this.app.showDialog=false
}
})
},
}
}
......
......@@ -31,7 +31,9 @@
</DefaultDialog>
</template>
<script>
import {
doFc
} from "@/api/dangerManagement/common.js"
export default {
props: {
app: {
......@@ -41,6 +43,7 @@
},
async mounted() {
this.rowItem=_.cloneDeep(this.app.rowItem)
this.fcjg=this.rowItem.fcjg
console.log(this.rowItem)
},
data() {
......@@ -60,7 +63,18 @@
}},
methods: {
save(){
let params={
fcjg:this.fcjg,
fcsm:this.rowItem.fcsm
}
doFc(params).then(res=>{
if(res.success){
this.$success('提交成功')
this.app.$refs['TablePager'].reLoad()
this.app.$refs['TablePager'].clearSelected()
this.app.showDialog=false
}
})
},
}
}
......
......@@ -39,7 +39,7 @@
<!-- <AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton> -->
<EditButton ref="edit" :app='app'></EditButton>
<!-- <AttachFileButton :app='app' ></AttachFileButton> -->
<AttachFileButton_aqyh :params="{childPath:'yhfc'}" :app='this'></AttachFileButton_aqyh>
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<el-button size='mini' @click="zdzrr" type="primary">复查结果</el-button>
......@@ -88,7 +88,7 @@
showDialog:false,
type: '',
/* 基础url*/
baseUrl: 'kzzx/role',
baseUrl: '/aqgl/yhgl/yhjl',
/* 查询参数*/
queryParams: {
ksrq: new Date().getTime()-1000*60*60*24*30,
......
......@@ -39,6 +39,7 @@
<CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton>
<DeleteButton :app='app'></DeleteButton>
<AttachFileButton_aqyh :params="{childPath:'yhsb'}" :app='this'></AttachFileButton_aqyh>
<!-- <AttachFileButton :app='app'></AttachFileButton>
<WorkFlowButton :app='app'></WorkFlowButton> -->
<FieldButton :app='app'></FieldButton>
......
......@@ -56,7 +56,7 @@
<!-- <DeleteButton :app='app'></DeleteButton> -->
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<AttachFileButton :app='app' ></AttachFileButton>
<!-- <AttachFileButton_aqyh :app='app' ></AttachFileButton_aqyh> -->
<!-- 权限-->
</el-row>
......
......@@ -55,6 +55,7 @@
<script>
import Zdzrr from './zdzrr'
/* 引入需要的接口*/
import {
doQuery,
doAdd,
......
......@@ -26,7 +26,9 @@
</DefaultDialog>
</template>
<script>
import {
doFp
} from "@/api/dangerManagement/common.js"
export default {
props: {
app: {
......@@ -50,7 +52,19 @@
}},
methods: {
save(){
let params={
id:this.rowItem.id,
fcr:this.rowItem.fcr,
zrr:this.rowItem.zrr,
}
doFp(params).then(res=>{
if(res.success){
this.$success('分配成功')
this.app.$refs['TablePager'].reLoad()
this.app.$refs['TablePager'].clearSelected()
this.app.showDialog=false
}
})
},
zrrSelected(row){
this.rowItem.zrr=row.id
......
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