| @@ -140,6 +140,9 @@ const whiteList = [ | |||||
| '/sunVillage_info/paidExitDetail', | '/sunVillage_info/paidExitDetail', | ||||
| '/sunVillage_info/arbitrationList', | '/sunVillage_info/arbitrationList', | ||||
| '/sunVillage_info/arbitrationDetail', | '/sunVillage_info/arbitrationDetail', | ||||
| '/sunVillage_info/list_signature', | |||||
| '/sunVillage_info/list_official', | |||||
| '/sunVillage_info/list_signature_add', | |||||
| // 新型经营主体 | // 新型经营主体 | ||||
| 'newBusinessEntity/newsBulletin', //新闻公告 | 'newBusinessEntity/newsBulletin', //新闻公告 | ||||
| @@ -3722,6 +3722,33 @@ export const constantRoutes = [ | |||||
| }, | }, | ||||
| component: (resolve) => require(['@/views/sunVillage_info/list_vote'], resolve) | component: (resolve) => require(['@/views/sunVillage_info/list_vote'], resolve) | ||||
| }, | }, | ||||
| { ////阳光村务(新)-- 合同网签 | |||||
| path: '/sunVillage_info/list_signature', | |||||
| name: 'sunVillageInfoListSignature', | |||||
| meta: { | |||||
| title: '合同网签', | |||||
| hidden: true, | |||||
| }, | |||||
| component: (resolve) => require(['@/views/sunVillage_info/list_signature'], resolve) | |||||
| }, | |||||
| { ////阳光村务(新)-- 合同网签 | |||||
| path: '/sunVillage_info/list_signature_add', | |||||
| name: 'sunVillageInfoListSignatureAdd', | |||||
| meta: { | |||||
| title: '合同网签', | |||||
| hidden: true, | |||||
| }, | |||||
| component: (resolve) => require(['@/views/sunVillage_info/list_signature_add'], resolve) | |||||
| }, | |||||
| { ////阳光村务(新)-- 村级公章 | |||||
| path: '/sunVillage_info/list_official', | |||||
| name: 'sunVillageInfoListOfficial', | |||||
| meta: { | |||||
| title: '村级公章', | |||||
| hidden: true, | |||||
| }, | |||||
| component: (resolve) => require(['@/views/sunVillage_info/list_official'], resolve) | |||||
| }, | |||||
| { ////阳光村务(新)-- 宅基地申请 | { ////阳光村务(新)-- 宅基地申请 | ||||
| path: '/sunVillage_info/homeApplication/applicationList', | path: '/sunVillage_info/homeApplication/applicationList', | ||||
| name: 'sunVillageInfoApplicationList', | name: 'sunVillageInfoApplicationList', | ||||
| @@ -0,0 +1,442 @@ | |||||
| <template> | |||||
| <div class="home_wrapper"> | |||||
| <div | |||||
| class="header_main" | |||||
| :style="`background-image:url(${require(showBtn?'@/assets/images/sunVillage_info/list_head.png':'@/assets/images/sunVillage_info/list_head_red.png')})`" | |||||
| > | |||||
| 村级公章 | |||||
| <div class="return_btn" @click="onClickLeft"></div> | |||||
| <!-- <div class="add_btn" @click="goAdd" v-show="showBtn"></div>--> | |||||
| </div> | |||||
| <!-- <div class="record_main">--> | |||||
| <!-- <div class="record_det">--> | |||||
| <!-- <div class="year_l" @click="tabShow"><i :class="{'icon':true , 'zk':!showTab , 'ss':showTab } "></i>{{queryParams.year == '' ? '全部': queryParams.year}}<span class="unit">{{queryParams.year == '' ? '': '年'}}</span></div>--> | |||||
| <!-- <div class="total_r">共{{listLength}}条公告</div>--> | |||||
| <!-- </div>--> | |||||
| <!-- <div class="record_list" v-if="showTab">--> | |||||
| <!-- <div :class="{'flex_block':true , 'current':queryParams.year == ''}" @click="tabClick('')">全部</div>--> | |||||
| <!-- <div v-for="(item,index) in yearList" :key="index" :class="{'flex_block':true , 'current':queryParams.year == item}" @click="tabClick(item)">{{item}}</div>--> | |||||
| <!-- </div>--> | |||||
| <!-- </div>--> | |||||
| <div class="list_main"> | |||||
| <van-list | |||||
| v-model="loading" | |||||
| :finished="finished" | |||||
| finished-text="没有更多了" | |||||
| @load="getList" | |||||
| > | |||||
| <!----1--> | |||||
| <div class="item" v-for="(item,index) in 5" :key="index"> | |||||
| <div class="info"> | |||||
| <div class="title"> | |||||
| <i class="icon_box"></i> | |||||
| <p class="news_title">居委会公章</p> | |||||
| <img src="../../assets/images/sunVillage_info/signature_icon_07.png" width="30" alt="" style="margin-left: auto;"> | |||||
| <img src="../../assets/images/sunVillage_info/signature_icon_08.png" width="30" alt="" style="margin-left: 5px;"> | |||||
| <img src="../../assets/images/sunVillage_info/signature_icon_09.png" width="30" alt="" style="margin-left: 5px;"> | |||||
| </div> | |||||
| <div class="time"> | |||||
| <img src="../../assets/images/sunVillage_info/signature_icon_06.png" alt="" width="60%"> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| <!-- <div class="operation">--> | |||||
| <!-- <!– delete 删除 edit编辑 view查看 list榜单 –>--> | |||||
| <!-- <div class="opera_btn edit">--> | |||||
| <!-- <i class="icon "></i>--> | |||||
| <!-- </div>--> | |||||
| <!-- <div class="opera_btn delete">--> | |||||
| <!-- <i class="icon"></i>--> | |||||
| <!-- </div>--> | |||||
| <!-- </div>--> | |||||
| </van-list> | |||||
| </div> | |||||
| <!-- <div class="bottom_tips">--> | |||||
| <!-- <span class="xs">已经到底啦</span>--> | |||||
| <!-- </div>--> | |||||
| </div> | |||||
| </template> | |||||
| <script> | |||||
| import { otherPublicList , otherRemove } from "@/api/sunVillage_info/fixedAssets"; | |||||
| import Cookies from "js-cookie"; | |||||
| import request from '@/utils/request' | |||||
| export default { | |||||
| name: "certificateList", | |||||
| data() { | |||||
| return { | |||||
| applicationList:[], | |||||
| applicationListSecond:[], | |||||
| assetStatusOptions:[], | |||||
| otherGkTypeOptions:[], | |||||
| auditStatus:[], | |||||
| loading: false, | |||||
| finished: false, | |||||
| show: false, | |||||
| showTab: false, | |||||
| fileList:[], | |||||
| listLength:'0', | |||||
| searchInput:'', | |||||
| queryParams:{ | |||||
| pageNum:1, | |||||
| pageSize:10, | |||||
| orderByColumn:'openAt', | |||||
| isAsc:'desc', | |||||
| translate_dict:1, | |||||
| otherType:'' | |||||
| }, | |||||
| uploadFiles1:[], | |||||
| projectId:'', | |||||
| projectIndex:'', | |||||
| showBtn:true, | |||||
| nowYear:new Date().getFullYear(), | |||||
| yearList:[] | |||||
| }; | |||||
| }, | |||||
| created() { | |||||
| this.houseGetDicts("other_gk_type").then((response) => { | |||||
| this.otherGkTypeOptions = response.data; | |||||
| }); | |||||
| this.queryParams.bookId = Cookies.get('bookId'); | |||||
| this.queryParams.deptId = Cookies.get('deptId'); | |||||
| this.queryParams.otherType = this.$route.query.typeX; | |||||
| if (this.$route.query.type == 'code'){ | |||||
| this.showBtn = false; | |||||
| } | |||||
| document.title = this.$route.query.typeX=='1'?'合同公开':this.$route.query.typeX=='2'?'党务公开':this.$route.query.typeX=='3'?'政务公开':''; | |||||
| }, | |||||
| methods: { | |||||
| getList(){ | |||||
| var _this = this; | |||||
| console.log(_this.queryParams) | |||||
| otherPublicList(_this.queryParams).then(response => { | |||||
| _this.listLength = response.total; | |||||
| response.rows.map(res=>{ | |||||
| // res.pictureType = this.selectDictLabel(this.pictureTypeOptions, res.pictureType); | |||||
| _this.applicationList.push(res); | |||||
| }) | |||||
| if(_this.applicationList.length >= response.total){ | |||||
| _this.finished = true; | |||||
| return; | |||||
| }else{ | |||||
| _this.loading = false; | |||||
| _this.queryParams.pageNum += 1 ; | |||||
| } | |||||
| }); | |||||
| }, | |||||
| tabClick(year){ | |||||
| this.queryParams.year = year ; | |||||
| this.applicationList = []; | |||||
| this.getList(); | |||||
| }, | |||||
| tabShow(){ | |||||
| this.showTab = !this.showTab; | |||||
| }, | |||||
| /** 删除按钮操作 */ | |||||
| handleDelete(row,index) { | |||||
| let assetStatus = row.assetStatus ? row.assetStatus : data[0].assetStatus; | |||||
| if (assetStatus === '2' || assetStatus === '3') { | |||||
| this.$notify({ | |||||
| message: "不允许删除已出售或已报废的资产", | |||||
| type: "warning", | |||||
| }); | |||||
| return; | |||||
| } | |||||
| let useType = row.useType; | |||||
| if(useType == 3) { | |||||
| this.$notify({ | |||||
| message: "出租或出借的资产不允许删除", | |||||
| type: "warning", | |||||
| }); | |||||
| return ; | |||||
| } | |||||
| const ids = row.id || this.ids; | |||||
| this.$dialog.alert( | |||||
| { | |||||
| message:'是否确认删除固定资产?', | |||||
| title:"警告", | |||||
| confirmButtonText: "确定", | |||||
| cancelButtonText: "取消", | |||||
| } | |||||
| ) | |||||
| .then(function () { | |||||
| return delPermanent(ids); | |||||
| }) | |||||
| .then(() => { | |||||
| this.applicationList.splice(index, 1); | |||||
| this.$notify({ type: 'success', message: '删除成功' }); | |||||
| }); | |||||
| }, | |||||
| goAdd(){ | |||||
| this.$router.push({path: '/sunVillage_info/list_contract_add', query: {type: this.$route.query.typeX}}) | |||||
| }, | |||||
| goDetail(id){ | |||||
| this.$router.push({path:'/sunVillage_info/list_contract_detail',query: {id:id,type:this.$route.query.typeX,showBtn:this.showBtn}}) | |||||
| }, | |||||
| goEdit(id){ | |||||
| this.$router.push({path:'/sunVillage_info/list_contract_edit',query: {id:id,type:this.$route.query.typeX}}) | |||||
| }, | |||||
| goRanking(id,time){ | |||||
| this.$router.push({path:'/sunVillage_info/list_tourists_ranking',query: {id:id,time:time}}) | |||||
| }, | |||||
| goRemove(id,index){ | |||||
| this.$dialog.alert({ | |||||
| title: '提示', | |||||
| message: '确认删除?', | |||||
| showCancelButton:true, | |||||
| }) | |||||
| .then(() => { | |||||
| otherRemove(id).then(response => { | |||||
| this.$notify({ type: 'success', message: '删除成功' }); | |||||
| this.applicationList.splice(index,1); | |||||
| }); | |||||
| }) | |||||
| .catch(() => { | |||||
| // on cancel | |||||
| }); | |||||
| } | |||||
| }, | |||||
| } | |||||
| </script> | |||||
| <style scoped lang="scss"> | |||||
| .home_wrapper{ | |||||
| background: #e9e9e9; | |||||
| min-height: 100vh; | |||||
| width: 100vw; | |||||
| .header_main{ | |||||
| height: 116px; | |||||
| background: url('../../assets/images/sunVillage_info/list_head.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| position: fixed; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| font-size: 36px; | |||||
| line-height: 116px; | |||||
| text-align: center; | |||||
| color: #fff; | |||||
| position: relative; | |||||
| .return_btn{ | |||||
| width: 24px; | |||||
| height: 43.2px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat; | |||||
| background-size: 20px 36px; | |||||
| position: absolute; | |||||
| left: 38px; | |||||
| top: 36px; | |||||
| } | |||||
| .add_btn{ | |||||
| width: 56.4px; | |||||
| height: 40.8px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_9.png') center center no-repeat; | |||||
| background-size: 47px 34px; | |||||
| position: absolute; | |||||
| right: 38px; | |||||
| top: 36px; | |||||
| } | |||||
| } | |||||
| .record_main{ | |||||
| padding:30px 22px; | |||||
| .record_det{ | |||||
| height: 38px; | |||||
| line-height: 38px; | |||||
| display: flex; | |||||
| justify-content:space-between; | |||||
| .year_l{ | |||||
| font-size: 30px; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| color: #858585; | |||||
| .unit{ | |||||
| padding-left: 5px; | |||||
| } | |||||
| .icon{ | |||||
| width: 23px; | |||||
| height: 12px; | |||||
| display: block; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_1.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| margin-bottom: 4px; | |||||
| margin-right: 8px; | |||||
| &.zk { | |||||
| transform: rotate(0deg) | |||||
| } | |||||
| &.ss{ | |||||
| transform: rotate(180deg) | |||||
| } | |||||
| } | |||||
| } | |||||
| .total_r{ | |||||
| font-size: 26px; | |||||
| letter-spacing: 2px; | |||||
| } | |||||
| } | |||||
| .record_list{ | |||||
| display: flex; | |||||
| flex-flow: wrap; | |||||
| margin-top: 12PX; | |||||
| .flex_block{ | |||||
| font-size: 30px; | |||||
| color: #878787; | |||||
| padding-right: 30px; | |||||
| &.current{ | |||||
| color: #4199fe; | |||||
| font-weight: bold; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| .list_main{ | |||||
| padding:0 22px; | |||||
| margin-top: 15PX; | |||||
| .item{ | |||||
| border-radius: 30px; | |||||
| background: #fff; | |||||
| box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1); | |||||
| padding:25px 32px; | |||||
| margin-bottom: 20px; | |||||
| .info{ | |||||
| .title{ | |||||
| display: flex; | |||||
| font-size: 32px; | |||||
| align-items: center; | |||||
| height: 58px; | |||||
| .icon_box{ | |||||
| width: 34px; | |||||
| display: block; | |||||
| height: 30px; | |||||
| background: url('../../assets/images/sunVillage_info/signature_icon_05.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| margin-right: 10px; | |||||
| flex-shrink: 0; | |||||
| } | |||||
| .news_title{ | |||||
| display: -webkit-box; | |||||
| -webkit-box-orient: vertical; | |||||
| -webkit-line-clamp: 1; | |||||
| word-break: break-all; | |||||
| overflow: hidden; | |||||
| color: #333333; | |||||
| } | |||||
| .tips_mark{ | |||||
| background: #ffedcd; | |||||
| border-radius: 8px; | |||||
| font-size: 24px; | |||||
| color: #f8a83d; | |||||
| text-align: center; | |||||
| line-height: 34px; | |||||
| flex-shrink: 0; | |||||
| padding: 0 5Px; | |||||
| margin-left: auto; | |||||
| } | |||||
| .tips_mark2{ | |||||
| background: #eb1616; | |||||
| border-radius: 8px; | |||||
| font-size: 24px; | |||||
| color: #ffffff; | |||||
| text-align: center; | |||||
| line-height: 34px; | |||||
| flex-shrink: 0; | |||||
| padding: 0 5Px; | |||||
| margin-left: 10PX; | |||||
| } | |||||
| } | |||||
| .time{ | |||||
| font-size: 16PX; | |||||
| color: #333333; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| margin-top: 5PX; | |||||
| justify-content: center; | |||||
| .icon_time{ | |||||
| width: 25px; | |||||
| height: 25px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_4.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| margin-right: 10px; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| .operation{ | |||||
| display: flex; | |||||
| align-items: center; | |||||
| justify-content: right; | |||||
| text-align: center; | |||||
| border-radius: 30px; | |||||
| background: #fff; | |||||
| box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1); | |||||
| height: 100%; | |||||
| padding: 0 15Px; | |||||
| margin-left: 10PX; | |||||
| .opera_btn{ | |||||
| border-radius: 50%; | |||||
| &.delete{ | |||||
| background:#df0707; | |||||
| margin-left: 10PX; | |||||
| .icon{ | |||||
| width: 22PX; | |||||
| height: 29PX; | |||||
| background: url('../../assets/images/sunVillage_info/signature_icon_03.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| } | |||||
| } | |||||
| &.edit{ | |||||
| background: #79cf13; | |||||
| margin-left: 10PX; | |||||
| .icon { | |||||
| width: 26PX; | |||||
| height: 25PX; | |||||
| background: url('../../assets/images/sunVillage_info/signature_icon_02.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| } | |||||
| } | |||||
| &.view{ | |||||
| background: #3494ff; | |||||
| margin-left: 10PX; | |||||
| .icon { | |||||
| width: 29PX; | |||||
| height: 21PX; | |||||
| background: url('../../assets/images/sunVillage_info/signature_icon_04.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| } | |||||
| } | |||||
| &.list{ | |||||
| background: #79cf13; | |||||
| margin-left: 10PX; | |||||
| .icon { | |||||
| width: 29px; | |||||
| height: 21px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_10.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| .bottom_tips{ | |||||
| font-size: 24px; | |||||
| color: #a7a6a6; | |||||
| text-align: center; | |||||
| margin-top: 32px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_8.png') center center no-repeat; | |||||
| background-size: 260px 2px; | |||||
| .xs{ | |||||
| padding:0 8px; | |||||
| background: #e9e9e9; | |||||
| } | |||||
| } | |||||
| } | |||||
| </style> | |||||
| @@ -0,0 +1,462 @@ | |||||
| <template> | |||||
| <div class="home_wrapper"> | |||||
| <div | |||||
| class="header_main" | |||||
| :style="`background-image:url(${require(showBtn?'@/assets/images/sunVillage_info/list_head.png':'@/assets/images/sunVillage_info/list_head_red.png')})`" | |||||
| > | |||||
| 合同网签 | |||||
| <div class="return_btn" @click="onClickLeft"></div> | |||||
| <!-- <div class="add_btn" @click="goAdd" v-show="showBtn"></div>--> | |||||
| </div> | |||||
| <!-- <div class="record_main">--> | |||||
| <!-- <div class="record_det">--> | |||||
| <!-- <div class="year_l" @click="tabShow"><i :class="{'icon':true , 'zk':!showTab , 'ss':showTab } "></i>{{queryParams.year == '' ? '全部': queryParams.year}}<span class="unit">{{queryParams.year == '' ? '': '年'}}</span></div>--> | |||||
| <!-- <div class="total_r">共{{listLength}}条公告</div>--> | |||||
| <!-- </div>--> | |||||
| <!-- <div class="record_list" v-if="showTab">--> | |||||
| <!-- <div :class="{'flex_block':true , 'current':queryParams.year == ''}" @click="tabClick('')">全部</div>--> | |||||
| <!-- <div v-for="(item,index) in yearList" :key="index" :class="{'flex_block':true , 'current':queryParams.year == item}" @click="tabClick(item)">{{item}}</div>--> | |||||
| <!-- </div>--> | |||||
| <!-- </div>--> | |||||
| <div class="list_main"> | |||||
| <van-list | |||||
| v-model="loading" | |||||
| :finished="finished" | |||||
| finished-text="没有更多了" | |||||
| @load="getList" | |||||
| > | |||||
| <!----1--> | |||||
| <van-swipe-cell v-for="(item,index) in 5" :key="index" > | |||||
| <div class="item"> | |||||
| <div class="info"> | |||||
| <div class="title"> | |||||
| <i class="icon_box"></i> | |||||
| <p class="news_title">ZC202306181836</p> | |||||
| <p class="tips_mark">线上</p> | |||||
| <p class="tips_mark2">双方待签</p> | |||||
| </div> | |||||
| <div class="time"> | |||||
| <p>张三租赁300亩土地合同</p> | |||||
| <p style="color:#eb1616;font-weight: bold;"><span style="font-size: 12px;">¥</span>199.00</p> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| <template #right> | |||||
| <div class="operation"> | |||||
| <!-- delete 删除 edit编辑 view查看 list榜单 --> | |||||
| <div class="opera_btn"> | |||||
| <img src="../../assets/images/sunVillage_info/signature_icon_02.png" alt="" width="35"> | |||||
| <p>签名</p> | |||||
| </div> | |||||
| <div class="opera_btn" style="margin: 0 10px;"> | |||||
| <img src="../../assets/images/sunVillage_info/signature_icon_03.png" alt="" width="35"> | |||||
| <p>预览</p> | |||||
| </div> | |||||
| <div class="opera_btn"> | |||||
| <img src="../../assets/images/sunVillage_info/signature_icon_04.png" alt="" width="35"> | |||||
| <p>下载</p> | |||||
| </div> | |||||
| </div> | |||||
| </template> | |||||
| </van-swipe-cell> | |||||
| <!-- <div class="operation">--> | |||||
| <!-- <!– delete 删除 edit编辑 view查看 list榜单 –>--> | |||||
| <!-- <div class="opera_btn edit">--> | |||||
| <!-- <i class="icon "></i>--> | |||||
| <!-- </div>--> | |||||
| <!-- <div class="opera_btn delete">--> | |||||
| <!-- <i class="icon"></i>--> | |||||
| <!-- </div>--> | |||||
| <!-- </div>--> | |||||
| </van-list> | |||||
| </div> | |||||
| <!-- <div class="bottom_tips">--> | |||||
| <!-- <span class="xs">已经到底啦</span>--> | |||||
| <!-- </div>--> | |||||
| </div> | |||||
| </template> | |||||
| <script> | |||||
| import { otherPublicList , otherRemove } from "@/api/sunVillage_info/fixedAssets"; | |||||
| import Cookies from "js-cookie"; | |||||
| import request from '@/utils/request' | |||||
| export default { | |||||
| name: "certificateList", | |||||
| data() { | |||||
| return { | |||||
| applicationList:[], | |||||
| applicationListSecond:[], | |||||
| assetStatusOptions:[], | |||||
| otherGkTypeOptions:[], | |||||
| auditStatus:[], | |||||
| loading: false, | |||||
| finished: false, | |||||
| show: false, | |||||
| showTab: false, | |||||
| fileList:[], | |||||
| listLength:'0', | |||||
| searchInput:'', | |||||
| queryParams:{ | |||||
| pageNum:1, | |||||
| pageSize:10, | |||||
| orderByColumn:'openAt', | |||||
| isAsc:'desc', | |||||
| translate_dict:1, | |||||
| otherType:'' | |||||
| }, | |||||
| uploadFiles1:[], | |||||
| projectId:'', | |||||
| projectIndex:'', | |||||
| showBtn:true, | |||||
| nowYear:new Date().getFullYear(), | |||||
| yearList:[] | |||||
| }; | |||||
| }, | |||||
| created() { | |||||
| this.houseGetDicts("other_gk_type").then((response) => { | |||||
| this.otherGkTypeOptions = response.data; | |||||
| }); | |||||
| this.queryParams.bookId = Cookies.get('bookId'); | |||||
| this.queryParams.deptId = Cookies.get('deptId'); | |||||
| this.queryParams.otherType = this.$route.query.typeX; | |||||
| if (this.$route.query.type == 'code'){ | |||||
| this.showBtn = false; | |||||
| } | |||||
| document.title = this.$route.query.typeX=='1'?'合同公开':this.$route.query.typeX=='2'?'党务公开':this.$route.query.typeX=='3'?'政务公开':''; | |||||
| }, | |||||
| methods: { | |||||
| getList(){ | |||||
| var _this = this; | |||||
| console.log(_this.queryParams) | |||||
| otherPublicList(_this.queryParams).then(response => { | |||||
| _this.listLength = response.total; | |||||
| response.rows.map(res=>{ | |||||
| // res.pictureType = this.selectDictLabel(this.pictureTypeOptions, res.pictureType); | |||||
| _this.applicationList.push(res); | |||||
| }) | |||||
| if(_this.applicationList.length >= response.total){ | |||||
| _this.finished = true; | |||||
| return; | |||||
| }else{ | |||||
| _this.loading = false; | |||||
| _this.queryParams.pageNum += 1 ; | |||||
| } | |||||
| }); | |||||
| }, | |||||
| tabClick(year){ | |||||
| this.queryParams.year = year ; | |||||
| this.applicationList = []; | |||||
| this.getList(); | |||||
| }, | |||||
| tabShow(){ | |||||
| this.showTab = !this.showTab; | |||||
| }, | |||||
| /** 删除按钮操作 */ | |||||
| handleDelete(row,index) { | |||||
| let assetStatus = row.assetStatus ? row.assetStatus : data[0].assetStatus; | |||||
| if (assetStatus === '2' || assetStatus === '3') { | |||||
| this.$notify({ | |||||
| message: "不允许删除已出售或已报废的资产", | |||||
| type: "warning", | |||||
| }); | |||||
| return; | |||||
| } | |||||
| let useType = row.useType; | |||||
| if(useType == 3) { | |||||
| this.$notify({ | |||||
| message: "出租或出借的资产不允许删除", | |||||
| type: "warning", | |||||
| }); | |||||
| return ; | |||||
| } | |||||
| const ids = row.id || this.ids; | |||||
| this.$dialog.alert( | |||||
| { | |||||
| message:'是否确认删除固定资产?', | |||||
| title:"警告", | |||||
| confirmButtonText: "确定", | |||||
| cancelButtonText: "取消", | |||||
| } | |||||
| ) | |||||
| .then(function () { | |||||
| return delPermanent(ids); | |||||
| }) | |||||
| .then(() => { | |||||
| this.applicationList.splice(index, 1); | |||||
| this.$notify({ type: 'success', message: '删除成功' }); | |||||
| }); | |||||
| }, | |||||
| goAdd(){ | |||||
| this.$router.push({path: '/sunVillage_info/list_contract_add', query: {type: this.$route.query.typeX}}) | |||||
| }, | |||||
| goDetail(id){ | |||||
| this.$router.push({path:'/sunVillage_info/list_contract_detail',query: {id:id,type:this.$route.query.typeX,showBtn:this.showBtn}}) | |||||
| }, | |||||
| goEdit(id){ | |||||
| this.$router.push({path:'/sunVillage_info/list_contract_edit',query: {id:id,type:this.$route.query.typeX}}) | |||||
| }, | |||||
| goRanking(id,time){ | |||||
| this.$router.push({path:'/sunVillage_info/list_tourists_ranking',query: {id:id,time:time}}) | |||||
| }, | |||||
| goRemove(id,index){ | |||||
| this.$dialog.alert({ | |||||
| title: '提示', | |||||
| message: '确认删除?', | |||||
| showCancelButton:true, | |||||
| }) | |||||
| .then(() => { | |||||
| otherRemove(id).then(response => { | |||||
| this.$notify({ type: 'success', message: '删除成功' }); | |||||
| this.applicationList.splice(index,1); | |||||
| }); | |||||
| }) | |||||
| .catch(() => { | |||||
| // on cancel | |||||
| }); | |||||
| } | |||||
| }, | |||||
| } | |||||
| </script> | |||||
| <style scoped lang="scss"> | |||||
| .home_wrapper{ | |||||
| background: #e9e9e9; | |||||
| min-height: 100vh; | |||||
| width: 100vw; | |||||
| .header_main{ | |||||
| height: 116px; | |||||
| background: url('../../assets/images/sunVillage_info/list_head.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| position: fixed; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| font-size: 36px; | |||||
| line-height: 116px; | |||||
| text-align: center; | |||||
| color: #fff; | |||||
| position: relative; | |||||
| .return_btn{ | |||||
| width: 24px; | |||||
| height: 43.2px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat; | |||||
| background-size: 20px 36px; | |||||
| position: absolute; | |||||
| left: 38px; | |||||
| top: 36px; | |||||
| } | |||||
| .add_btn{ | |||||
| width: 56.4px; | |||||
| height: 40.8px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_9.png') center center no-repeat; | |||||
| background-size: 47px 34px; | |||||
| position: absolute; | |||||
| right: 38px; | |||||
| top: 36px; | |||||
| } | |||||
| } | |||||
| .record_main{ | |||||
| padding:30px 22px; | |||||
| .record_det{ | |||||
| height: 38px; | |||||
| line-height: 38px; | |||||
| display: flex; | |||||
| justify-content:space-between; | |||||
| .year_l{ | |||||
| font-size: 30px; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| color: #858585; | |||||
| .unit{ | |||||
| padding-left: 5px; | |||||
| } | |||||
| .icon{ | |||||
| width: 23px; | |||||
| height: 12px; | |||||
| display: block; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_1.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| margin-bottom: 4px; | |||||
| margin-right: 8px; | |||||
| &.zk { | |||||
| transform: rotate(0deg) | |||||
| } | |||||
| &.ss{ | |||||
| transform: rotate(180deg) | |||||
| } | |||||
| } | |||||
| } | |||||
| .total_r{ | |||||
| font-size: 26px; | |||||
| letter-spacing: 2px; | |||||
| } | |||||
| } | |||||
| .record_list{ | |||||
| display: flex; | |||||
| flex-flow: wrap; | |||||
| margin-top: 12PX; | |||||
| .flex_block{ | |||||
| font-size: 30px; | |||||
| color: #878787; | |||||
| padding-right: 30px; | |||||
| &.current{ | |||||
| color: #4199fe; | |||||
| font-weight: bold; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| .list_main{ | |||||
| padding:0 22px; | |||||
| margin-top: 15PX; | |||||
| .item{ | |||||
| border-radius: 30px; | |||||
| background: #fff; | |||||
| box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1); | |||||
| padding:25px 32px; | |||||
| margin-bottom: 20px; | |||||
| .info{ | |||||
| .title{ | |||||
| display: flex; | |||||
| font-size: 32px; | |||||
| align-items: center; | |||||
| height: 58px; | |||||
| .icon_box{ | |||||
| width: 34px; | |||||
| display: block; | |||||
| height: 30px; | |||||
| background: url('../../assets/images/sunVillage_info/signature_icon_01.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| margin-right: 10px; | |||||
| flex-shrink: 0; | |||||
| } | |||||
| .news_title{ | |||||
| display: -webkit-box; | |||||
| -webkit-box-orient: vertical; | |||||
| -webkit-line-clamp: 1; | |||||
| word-break: break-all; | |||||
| overflow: hidden; | |||||
| color: #eb1616; | |||||
| } | |||||
| .tips_mark{ | |||||
| background: #ffedcd; | |||||
| border-radius: 8px; | |||||
| font-size: 24px; | |||||
| color: #f8a83d; | |||||
| text-align: center; | |||||
| line-height: 34px; | |||||
| flex-shrink: 0; | |||||
| padding: 0 5Px; | |||||
| margin-left: auto; | |||||
| } | |||||
| .tips_mark2{ | |||||
| background: #eb1616; | |||||
| border-radius: 8px; | |||||
| font-size: 24px; | |||||
| color: #ffffff; | |||||
| text-align: center; | |||||
| line-height: 34px; | |||||
| flex-shrink: 0; | |||||
| padding: 0 5Px; | |||||
| margin-left: 10PX; | |||||
| } | |||||
| } | |||||
| .time{ | |||||
| font-size: 16PX; | |||||
| color: #333333; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| margin-top: 5PX; | |||||
| justify-content: space-between; | |||||
| .icon_time{ | |||||
| width: 25px; | |||||
| height: 25px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_4.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| margin-right: 10px; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| .operation{ | |||||
| display: flex; | |||||
| align-items: center; | |||||
| justify-content: right; | |||||
| text-align: center; | |||||
| border-radius: 30px; | |||||
| background: #fff; | |||||
| box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1); | |||||
| height: 100%; | |||||
| padding: 0 15Px; | |||||
| margin-left: 10PX; | |||||
| .opera_btn{ | |||||
| border-radius: 50%; | |||||
| &.delete{ | |||||
| background:#df0707; | |||||
| margin-left: 10PX; | |||||
| .icon{ | |||||
| width: 22PX; | |||||
| height: 29PX; | |||||
| background: url('../../assets/images/sunVillage_info/signature_icon_03.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| } | |||||
| } | |||||
| &.edit{ | |||||
| background: #79cf13; | |||||
| margin-left: 10PX; | |||||
| .icon { | |||||
| width: 26PX; | |||||
| height: 25PX; | |||||
| background: url('../../assets/images/sunVillage_info/signature_icon_02.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| } | |||||
| } | |||||
| &.view{ | |||||
| background: #3494ff; | |||||
| margin-left: 10PX; | |||||
| .icon { | |||||
| width: 29PX; | |||||
| height: 21PX; | |||||
| background: url('../../assets/images/sunVillage_info/signature_icon_04.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| } | |||||
| } | |||||
| &.list{ | |||||
| background: #79cf13; | |||||
| margin-left: 10PX; | |||||
| .icon { | |||||
| width: 29px; | |||||
| height: 21px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_10.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| .bottom_tips{ | |||||
| font-size: 24px; | |||||
| color: #a7a6a6; | |||||
| text-align: center; | |||||
| margin-top: 32px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_8.png') center center no-repeat; | |||||
| background-size: 260px 2px; | |||||
| .xs{ | |||||
| padding:0 8px; | |||||
| background: #e9e9e9; | |||||
| } | |||||
| } | |||||
| } | |||||
| </style> | |||||
| @@ -0,0 +1,267 @@ | |||||
| <template> | |||||
| <div class="home_wrapper"> | |||||
| <div class="header_main"> | |||||
| 合同详情 | |||||
| <div class="return_btn" @click="onClickLeft"></div> | |||||
| <div class="add_btn"></div> | |||||
| </div> | |||||
| <van-form @submit="onSubmit"> | |||||
| <div class="list_main"> | |||||
| <van-field required label="合同编号" placeholder="请输入合同编号" :rules="[{ required: true , message:'请输入合同编号' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="合同名称" placeholder="请输入合同名称" :rules="[{ required: true , message:'请输入合同名称' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="合同类别" placeholder="请输入合同类别" :rules="[{ required: true , message:'请输入合同类别' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="有效状态" placeholder="请输入有效状态" :rules="[{ required: true , message:'请输入有效状态' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="签订方式" placeholder="请输入签订方式" :rules="[{ required: true , message:'请输入签订方式' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="签订状态" placeholder="请输入签订状态" :rules="[{ required: true , message:'请输入签订状态' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="甲方" placeholder="请输入甲方" :rules="[{ required: true , message:'请输入甲方' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="甲方签订日期" placeholder="请输入甲方签订日期" :rules="[{ required: true , message:'请输入甲方签订日期' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="甲方签名" placeholder="请输入甲方签名" :rules="[{ required: true , message:'请输入甲方签名' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="乙方" placeholder="请输入乙方" :rules="[{ required: true , message:'请输入乙方' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="乙方签订日期" placeholder="请输入乙方签订日期" :rules="[{ required: true , message:'请输入乙方签订日期' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="乙方签名" placeholder="请输入乙方签名" :rules="[{ required: true , message:'请输入乙方签名' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="合同金额" placeholder="请输入合同金额" :rules="[{ required: true , message:'请输入合同金额' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="部署日期" placeholder="请输入部署日期" :rules="[{ required: true , message:'请输入部署日期' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="开始日期" placeholder="请输入开始日期" :rules="[{ required: true , message:'请输入开始日期' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="结束日期" placeholder="请输入结束日期" :rules="[{ required: true , message:'请输入结束日期' }]" input-align="right" :border="false" /> | |||||
| <van-field required label="备注" placeholder="请输入备注" :rules="[{ required: true , message:'请输入备注' }]" input-align="right" :border="false" /> | |||||
| </div> | |||||
| <div style="margin: 16px auto;width: 50%;"> | |||||
| <van-button round block type="primary" native-type="submit"> | |||||
| 保存 | |||||
| </van-button> | |||||
| </div> | |||||
| </van-form> | |||||
| </div> | |||||
| </template> | |||||
| <script> | |||||
| import { commonUpload , majorEventOpenAdd } from "@/api/sunVillage_info/fixedAssets"; | |||||
| import Cookies from "js-cookie"; | |||||
| import request from '@/utils/request' | |||||
| export default { | |||||
| name: "certificateList", | |||||
| data() { | |||||
| return { | |||||
| showBuildTime:false, | |||||
| form:{ | |||||
| openDate:this.format(new Date(),'yyyy-MM-dd'), | |||||
| openPic:'', | |||||
| openFile:'', | |||||
| }, | |||||
| openPic:[], | |||||
| fileList:[], | |||||
| fileList1:[], | |||||
| openNy:new Date(), | |||||
| type:'', | |||||
| openFile:[], | |||||
| openFileList:[], | |||||
| queryParams:{ | |||||
| bookId:'', | |||||
| deptId:'' | |||||
| }, | |||||
| openFile2:[], | |||||
| openPic2:[], | |||||
| }; | |||||
| }, | |||||
| created() { | |||||
| this.houseGetDicts("asset_status").then((response) => { | |||||
| this.assetStatusOptions = response.data; | |||||
| }); | |||||
| this.houseGetDicts("asset_type").then((response) => { | |||||
| this.assetTypeOptions = response.data; | |||||
| }); | |||||
| this.houseGetDicts("use_type").then((response) => { | |||||
| this.useTypeOptions = response.data; | |||||
| }); | |||||
| this.type = this.$route.query.type; | |||||
| this.queryParams.bookId = Cookies.get('bookId'); | |||||
| this.queryParams.deptId = Cookies.get('deptId'); | |||||
| }, | |||||
| methods: { | |||||
| onSubmit(){ | |||||
| var that = this; | |||||
| that.form.openFile = that.openFile2.join(',') | |||||
| that.form.openPic = that.openPic2.join(',') | |||||
| majorEventOpenAdd(that.form).then((r1) => { | |||||
| if (r1.code == 200){ | |||||
| that.$notify({ type: 'success', message: '新增成功' }); | |||||
| setTimeout(function(){ | |||||
| history.back(-1); | |||||
| },2000) | |||||
| } | |||||
| }) | |||||
| }, | |||||
| onConfirmOpenNy(data){ | |||||
| this.form.openNy = this.format(data,'yyyy-MM'); | |||||
| this.openNy = data; | |||||
| this.showBuildTime = false; | |||||
| }, | |||||
| deleteFile1(detail){ | |||||
| this.openPic2.splice(detail.index,1) | |||||
| // this.form.openPic.splice(index,1); | |||||
| }, | |||||
| deleteWord(index){ | |||||
| this.openFileList.splice(index,1); | |||||
| this.openFile2.splice(index,1); | |||||
| }, | |||||
| afterRead(file) { | |||||
| // 此时可以自行将文件上传至服务器 | |||||
| if (file instanceof Array){//判断是否为数组,单张图片为array,多张为数组,数组返回true否则为false | |||||
| file.map(res=>{ | |||||
| this.openPic.push(res.file); | |||||
| let params1 = new FormData(); | |||||
| params1.append("file", res.file); | |||||
| commonUpload(params1).then((r1) => { | |||||
| this.openPic2.push(r1.fileName); | |||||
| }) | |||||
| }) | |||||
| }else{ | |||||
| this.openPic.push(file); | |||||
| let params1 = new FormData(); | |||||
| params1.append("file", file.file); | |||||
| commonUpload(params1).then((r1) => { | |||||
| this.openPic2.push(r1.fileName); | |||||
| }) | |||||
| } | |||||
| }, | |||||
| afterReadOpenFile(file){ | |||||
| console.log(file) | |||||
| let params1 = new FormData(); | |||||
| params1.append("file", file.file); | |||||
| commonUpload(params1).then((r1) => { | |||||
| this.openFile2.push(r1.fileName); | |||||
| }) | |||||
| let name = file.file.name; | |||||
| let type = ''; | |||||
| if (name.indexOf('.doc') > -1){ | |||||
| type = 'word'; | |||||
| }else if(name.indexOf('.xls') > -1){ | |||||
| type = 'excel'; | |||||
| } | |||||
| this.openFileList.push({name:file.file.name,type:type}) | |||||
| this.openFile.push(file.file); | |||||
| } | |||||
| }, | |||||
| } | |||||
| </script> | |||||
| <style scoped lang="scss"> | |||||
| /deep/ .van-button--primary{ | |||||
| background: url("../../assets/images/sunVillage_info/btn_bg.png") no-repeat; | |||||
| background-size: 100% 100%; | |||||
| border: none; | |||||
| } | |||||
| .home_wrapper{ | |||||
| background: #e9e9e9; | |||||
| min-height: 100vh; | |||||
| width: 100vw; | |||||
| .header_main { | |||||
| height: 116px; | |||||
| background: url('../../assets/images/sunVillage_info/list_head.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| position: fixed; | |||||
| top: 0; | |||||
| left: 0; | |||||
| width: 100%; | |||||
| font-size: 36px; | |||||
| line-height: 116px; | |||||
| text-align: center; | |||||
| color: #fff; | |||||
| position: relative; | |||||
| .return_btn { | |||||
| width: 24px; | |||||
| height: 43.2px; | |||||
| background: url('../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat; | |||||
| background-size: 20px 36px; | |||||
| position: absolute; | |||||
| left: 38px; | |||||
| top: 36px; | |||||
| } | |||||
| } | |||||
| .release_head{ | |||||
| height: 90px; | |||||
| padding:0 23px; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| font-size: 26px; | |||||
| color: #929292; | |||||
| .people{ | |||||
| flex: 1; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| .icon{ | |||||
| width: 24px; | |||||
| height: 21px; | |||||
| background: url('../../assets/images/sunVillage_info/details_icon_1.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| margin-right: 8px; | |||||
| } | |||||
| } | |||||
| .time{ | |||||
| flex: 1; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| justify-content:flex-end; | |||||
| .icon{ | |||||
| width: 25px; | |||||
| height: 25px; | |||||
| background: url('../../assets/images/sunVillage_info/details_icon_2.png') no-repeat; | |||||
| background-size: 100% 100%; | |||||
| display: block; | |||||
| margin-right: 8px; | |||||
| } | |||||
| } | |||||
| } | |||||
| .release_conetnt{ | |||||
| padding:0 22px; | |||||
| font-size: 32px; | |||||
| color: #252525; | |||||
| line-height: 44px; | |||||
| img{ | |||||
| max-width: 100%; | |||||
| margin-bottom: 16px; | |||||
| } | |||||
| p{ | |||||
| margin-bottom: 16px; | |||||
| } | |||||
| } | |||||
| .list_main{ | |||||
| padding:25px; | |||||
| background: #ffffff; | |||||
| width: 94%; | |||||
| margin: 25px auto 0; | |||||
| border-radius: 15PX; | |||||
| box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1); | |||||
| } | |||||
| .titBox{ | |||||
| display: flex; | |||||
| align-items: center; | |||||
| } | |||||
| .tit{ | |||||
| font-size: 36px; | |||||
| font-weight: bold; | |||||
| } | |||||
| /deep/ .van-cell{ | |||||
| padding-left: 0!important; | |||||
| padding-right: 0!important; | |||||
| padding-bottom: 0!important; | |||||
| } | |||||
| /deep/ .van-field__label{ | |||||
| /*padding-left: 10PX;*/ | |||||
| width: auto; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| } | |||||
| /deep/ .van-cell--required::before{ | |||||
| left: 85PX; | |||||
| } | |||||
| /deep/ .van-field__error-message{ | |||||
| display: none; | |||||
| } | |||||
| } | |||||
| </style> | |||||