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

附件

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