Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jczz_web
| | |
| | | { |
| | | path: "/property/process/maintenanceFundApply", |
| | | component: Layout, |
| | | redirect: "/work/process/maintenanceFundApply/form", |
| | | redirect: "/property/process/maintenanceFundApply/form", |
| | | children: [{ |
| | | path: "form/:processDefinitionId", |
| | | name: "维修基金申请", |
| | | meta: { |
| | | i18n: "work", |
| | | i18n: "property", |
| | | }, |
| | | component: () => |
| | | import( |
| | | /* webpackChunkName: "views" */ |
| | | "@/views/work/process/maintenanceFundApply/form" |
| | | "@/views/property/process/maintenanceFundApply/form" |
| | | ), |
| | | }, |
| | | { |
| | | path: "handle/:taskId/:processInstanceId/:businessId", |
| | | name: "处理维修基金申请", |
| | | meta: { |
| | | i18n: "work", |
| | | i18n: "property", |
| | | }, |
| | | component: () => |
| | | import( |
| | | /* webpackChunkName: "views" */ |
| | | "@/views/work/process/maintenanceFundApply/handle" |
| | | "@/views/property/process/maintenanceFundApply/handle" |
| | | ), |
| | | }, |
| | | { |
| | | path: "detail/:processInstanceId/:businessId", |
| | | name: "维修基金申请详情", |
| | | meta: { |
| | | i18n: "work", |
| | | i18n: "property", |
| | | }, |
| | | component: () => |
| | | import( |
| | | /* webpackChunkName: "views" */ |
| | | "@/views/work/process/maintenanceFundApply/detail" |
| | | "@/views/property/process/maintenanceFundApply/detail" |
| | | ), |
| | | }, |
| | | { |
| | | path: "edit/:taskId/:processInstanceId/:businessId", |
| | | name: "调整维修基金申请", |
| | | meta: { |
| | | i18n: "work", |
| | | i18n: "property", |
| | | }, |
| | | component: () => |
| | | import( |
| | | /* webpackChunkName: "views" */ |
| | | "@/views/work/process/maintenanceFundApply/edit" |
| | | "@/views/property/process/maintenanceFundApply/edit" |
| | | ), |
| | | }, |
| | | ], |
| | |
| | | { |
| | | path: "/gzll/process/maintenanceFundApply", |
| | | component: Layout, |
| | | redirect: "/work/process/maintenanceFundApply/form", |
| | | redirect: "/gzll/process/maintenanceFundApply/form", |
| | | children: [{ |
| | | path: "form/:processDefinitionId", |
| | | name: "维修基金申请", |
| | | meta: { |
| | | i18n: "work", |
| | | i18n: "gzll", |
| | | }, |
| | | component: () => |
| | | import( |
| | | /* webpackChunkName: "views" */ |
| | | "@/views/work/process/maintenanceFundApply/form" |
| | | "@/views/gzll/process/maintenanceFundApply/form" |
| | | ), |
| | | }, |
| | | { |
| | | path: "handle/:taskId/:processInstanceId/:businessId", |
| | | name: "处理维修基金申请", |
| | | meta: { |
| | | i18n: "work", |
| | | i18n: "gzll", |
| | | }, |
| | | component: () => |
| | | import( |
| | | /* webpackChunkName: "views" */ |
| | | "@/views/work/process/maintenanceFundApply/handle" |
| | | "@/views/gzll/process/maintenanceFundApply/handle" |
| | | ), |
| | | }, |
| | | { |
| | | path: "detail/:processInstanceId/:businessId", |
| | | name: "维修基金申请详情", |
| | | meta: { |
| | | i18n: "work", |
| | | i18n: "gzll", |
| | | }, |
| | | component: () => |
| | | import( |
| | | /* webpackChunkName: "views" */ |
| | | "@/views/work/process/maintenanceFundApply/detail" |
| | | "@/views/gzll/process/maintenanceFundApply/detail" |
| | | ), |
| | | }, |
| | | { |
| | | path: "edit/:taskId/:processInstanceId/:businessId", |
| | | name: "调整维修基金申请", |
| | | meta: { |
| | | i18n: "work", |
| | | i18n: "gzll", |
| | | }, |
| | | component: () => |
| | | import( |
| | | /* webpackChunkName: "views" */ |
| | | "@/views/work/process/maintenanceFundApply/edit" |
| | | "@/views/gzll/process/maintenanceFundApply/edit" |
| | | ), |
| | | }, |
| | | ], |
| | |
| | | <template> |
| | | <basic-container> |
| | | <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" ref="crud" @row-del="rowDel" |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" |
| | | :before-open="beforeOpen" @search-change="searchChange" @search-reset="searchReset" |
| | | @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
| | | @refresh-change="refreshChange" @on-load="onLoad"> |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" :before-open="beforeOpen" |
| | | @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange" |
| | | @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"> |
| | | <template slot="menuLeft"> |
| | | <el-button size="small" icon="el-icon-delete" plain v-if="permission.article_delete" @click="handleDelete">删 |
| | | 除 |
| | |
| | | </template> |
| | | |
| | | <template slot-scope="{type,size,row }" slot="menu"> |
| | | <el-button v-if="row.publish == '1'" icon="el-icon-close" :size="size" :type="type" |
| | | @click.stop="updateFb(row)"> |
| | | <el-button v-if="row.publish == '1'" icon="el-icon-close" :size="size" :type="type" @click.stop="updateFb(row)"> |
| | | 撤销 |
| | | </el-button> |
| | | <el-button v-if="row.publish == '0'" icon="el-icon-check" :size="size" :type="type" |
| | | @click.stop="updateFb(row)"> |
| | | <el-button v-if="row.publish == '0'" icon="el-icon-check" :size="size" :type="type" @click.stop="updateFb(row)"> |
| | | 发布 |
| | | </el-button> |
| | | </template> |
| | |
| | | } |
| | | add({ |
| | | ...row, |
| | | district_id: row.articleList |
| | | districtId: row.articleList |
| | | }).then( |
| | | () => { |
| | | this.onLoad(this.page) |
| | |
| | | this.loading = false |
| | | this.selectionClear() |
| | | }) |
| | | getDistrictTree({ filterFlag: 1 }).then((res) => { |
| | | getDistrictTree({ |
| | | filterFlag: 1 |
| | | }).then((res) => { |
| | | const data = res.data.data |
| | | this.districtTree = data |
| | | const column = this.findObject(this.option.column, "articleList") |
| | |
| | | <template> |
| | | <basic-container> |
| | | <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" ref="crud" @row-del="rowDel" |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" |
| | | :before-open="beforeOpen" @search-change="searchChange" @search-reset="searchReset" |
| | | @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
| | | @refresh-change="refreshChange" @on-load="onLoad"> |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" :before-open="beforeOpen" |
| | | @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange" |
| | | @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"> |
| | | <template slot="menuLeft"> |
| | | <el-button size="small" icon="el-icon-delete" plain v-if="permission.article_delete" @click="handleDelete">删 |
| | | 除 |
| | |
| | | <el-button icon="el-icon-circle-plus-outline" :size="size" :type="type" @click.stop="openDilog(row,1)"> |
| | | 创建议题 |
| | | </el-button> --> |
| | | <el-button v-if="row.publish == '1'" icon="el-icon-close" :size="size" :type="type" |
| | | @click.stop="updateFb(row)"> |
| | | <el-button v-if="row.publish == '1'" icon="el-icon-close" :size="size" :type="type" @click.stop="updateFb(row)"> |
| | | 撤销 |
| | | </el-button> |
| | | <el-button v-if="row.publish == '0'" icon="el-icon-check" :size="size" :type="type" |
| | | @click.stop="updateFb(row)"> |
| | | <el-button v-if="row.publish == '0'" icon="el-icon-check" :size="size" :type="type" @click.stop="updateFb(row)"> |
| | | 发布 |
| | | </el-button> |
| | | </template> |
| | |
| | | selection: true, |
| | | excelBtn: true, |
| | | dialogClickModal: false, |
| | | column: [ |
| | | { |
| | | column: [{ |
| | | label: "收支标题", |
| | | prop: "title", |
| | | span: 24, |
| | |
| | | row.videoUrl = "" |
| | | } |
| | | row.userid = this.userInfo.user_id |
| | | console.log(row) |
| | | row.articleRange = JSON.stringify(row.articleList) |
| | | if (row.url.length > 0) { |
| | | var urls = [] |
| | |
| | | } |
| | | add({ |
| | | ...row, |
| | | district_id: row.articleList |
| | | districtId: row.articleList |
| | | }).then( |
| | | () => { |
| | | this.onLoad(this.page) |
| | |
| | | this.loading = false |
| | | this.selectionClear() |
| | | }) |
| | | getDistrictTree({ filterFlag: 1 }).then((res) => { |
| | | getDistrictTree({ |
| | | filterFlag: 1 |
| | | }).then((res) => { |
| | | const data = res.data.data |
| | | this.districtTree = data |
| | | const column = this.findObject(this.option.column, "articleList") |
| | |
| | | <template> |
| | | <basic-container> |
| | | <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" ref="crud" @row-del="rowDel" |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" |
| | | :before-open="beforeOpen" @search-change="searchChange" @search-reset="searchReset" |
| | | @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
| | | @refresh-change="refreshChange" @on-load="onLoad"> |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" :before-open="beforeOpen" |
| | | @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange" |
| | | @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"> |
| | | <template slot="menuLeft"> |
| | | <el-button size="small" icon="el-icon-delete" plain v-if="permission.article_delete" @click="handleDelete">删 |
| | | 除 |
| | |
| | | </template> |
| | | |
| | | <template slot-scope="{type,size,row }" slot="menu"> |
| | | <el-button v-if="row.publish == '1'" icon="el-icon-close" :size="size" :type="type" |
| | | @click.stop="updateFb(row)"> |
| | | <el-button v-if="row.publish == '1'" icon="el-icon-close" :size="size" :type="type" @click.stop="updateFb(row)"> |
| | | 撤销 |
| | | </el-button> |
| | | <el-button v-if="row.publish == '0'" icon="el-icon-check" :size="size" :type="type" |
| | | @click.stop="updateFb(row)"> |
| | | <el-button v-if="row.publish == '0'" icon="el-icon-check" :size="size" :type="type" @click.stop="updateFb(row)"> |
| | | 发布 |
| | | </el-button> |
| | | </template> |
| | |
| | | span: 24, |
| | | }, |
| | | { |
| | | hide: true, |
| | | parent: false, |
| | | label: "公示范围", |
| | | prop: "articleList", |
| | | type: 'tree', |
| | | dicData: [], |
| | | props: { |
| | | label: "name", |
| | | value: 'id' |
| | | }, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请选择公示范围", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | { |
| | | width: 100, |
| | | label: "业主大会类型", |
| | | prop: "type", |
| | |
| | | value: 5, |
| | | }], |
| | | }, |
| | | // { |
| | | // label: "招标来源", |
| | | // prop: "sourceName", |
| | | // search: true, |
| | | // searchSpan: 4, |
| | | // span: 24, |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请输入招标类型", |
| | | // trigger: "blur", |
| | | // }, ], |
| | | // }, |
| | | { |
| | | hide: true, |
| | | parent: false, |
| | | label: "公示范围", |
| | | prop: "articleList", |
| | | type: 'tree', |
| | | dicData: [], |
| | | props: { |
| | | label: "name", |
| | | value: 'id' |
| | | }, |
| | | span: 12, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请选择公示范围", |
| | | trigger: "blur", |
| | | },], |
| | | }, |
| | | |
| | | { |
| | | label: "发布时间", |
| | | prop: "dateTime", |
| | |
| | | } |
| | | add({ |
| | | ...row, |
| | | district_id: row.articleList |
| | | districtId: row.articleList |
| | | }).then( |
| | | () => { |
| | | this.onLoad(this.page) |
| | |
| | | this.loading = false |
| | | this.selectionClear() |
| | | }) |
| | | getDistrictTree({ filterFlag: 1 }).then((res) => { |
| | | getDistrictTree({ |
| | | filterFlag: 1 |
| | | }).then((res) => { |
| | | const data = res.data.data |
| | | this.districtTree = data |
| | | const column = this.findObject(this.option.column, "articleList") |
| | |
| | | <template slot-scope="{row, size}" slot="processDefinitionVersion"> |
| | | <el-tag :size="size">v{{ row.processDefinitionVersion }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{row, size}" slot="linkPhone"> |
| | | <el-button :size="size" type="text" @click="showStringDispose(row, 'linkPhoneflag')" |
| | | v-text="textDispose(row, 'linkPhoneflag', 'linkPhone')"> |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | <flow-design is-dialog :is-display.sync="flowBox" :process-instance-id="processInstanceId"></flow-design> |
| | | </basic-container> |
| | |
| | | label: '联系电话', |
| | | prop: 'linkPhone', |
| | | // search: true, |
| | | slot: true |
| | | }, |
| | | { |
| | | label: '项目名称', |
| | |
| | | }) |
| | | return ids.join(",") |
| | | }, |
| | | |
| | | textDispose () { |
| | | return (row, flag, type) => { |
| | | if (row[flag] || row[type] == null) { |
| | | return row[type] |
| | | } else { |
| | | if (type == 'principalIdCard') { |
| | | return row[type].replace(/^(.{6})(?:\d+)(.{4})$/, "$1******$2") |
| | | } else { |
| | | return row[type].replace(/^(.{3})(?:\d+)(.{4})$/, "$1****$2") |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | showStringDispose (row, type) { |
| | | row[type] = !row[type] |
| | | }, |
| | | |
| | | searchReset() { |
| | | this.query = {} |
| | | this.onLoad(this.page) |
| | |
| | | } |
| | | this.loading = true |
| | | todoList(page.currentPage, page.pageSize, Object.assign(params, query)).then(res => { |
| | | const data = res.data.data |
| | | const data = { |
| | | ...res.data.data, |
| | | records: res.data.data.records.map(item => { |
| | | return { |
| | | ...item, |
| | | 'linkPhoneflag': false |
| | | } |
| | | }) |
| | | } |
| | | this.page.total = data.total |
| | | this.data = data.records |
| | | this.loading = false |
| | |
| | | @click="handleDelete">删 除 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row, size}" slot="principalPhone"> |
| | | <el-button :size="size" type="text" @click="showStringDispose(row, 'principalPhoneflag')" |
| | | v-text="textDispose(row, 'principalPhoneflag', 'principalPhone')"> |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | | </template> |
| | |
| | | label: '联系方式', |
| | | prop: 'principalPhone', |
| | | span: 12, |
| | | slot: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入联系方式", |
| | |
| | | }) |
| | | return ids.join(",") |
| | | }, |
| | | |
| | | textDispose () { |
| | | return (row, flag, type) => { |
| | | if (row[flag] || row[type] == null) { |
| | | return row[type] |
| | | } else { |
| | | if (type == 'principalIdCard') { |
| | | return row[type].replace(/^(.{6})(?:\d+)(.{4})$/, "$1******$2") |
| | | } else { |
| | | return row[type].replace(/^(.{3})(?:\d+)(.{4})$/, "$1****$2") |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | showStringDispose (row, type) { |
| | | row[type] = !row[type] |
| | | }, |
| | | |
| | | rowSave (row, done, loading) { |
| | | row.userId = func.join(row.userId) |
| | | add(row).then( |
| | |
| | | } |
| | | this.loading = true |
| | | getList(page.currentPage, page.pageSize, values).then((res) => { |
| | | const data = res.data.data |
| | | const data = { |
| | | ...res.data.data, |
| | | records: res.data.data.records.map(item => { |
| | | return { |
| | | ...item, |
| | | 'principalPhoneflag': false |
| | | } |
| | | }) |
| | | } |
| | | this.page.total = data.total |
| | | this.data = data.records |
| | | this.loading = false |
| | |
| | | {{ showStatus(row.status).text }} |
| | | </el-tag> |
| | | </template> |
| | | <template slot-scope="{row, size}" slot="phone"> |
| | | <el-button :size="size" type="text" @click="showStringDispose(row, 'phoneflag')" |
| | | v-text="textDispose(row, 'phoneflag', 'phone')"> |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | |
| | | <el-dialog class="place-info-box audit-info-box" title="" append-to-body :visible.sync="auditBasePopup" width="60%"> |
| | |
| | | prop: "phone", |
| | | searchSpan: 4, |
| | | search: true, |
| | | slot: true, |
| | | rules: [{ |
| | | validator: validatorPhone, |
| | | trigger: 'blur' |
| | |
| | | |
| | | return tags |
| | | } |
| | | }, |
| | | |
| | | textDispose () { |
| | | return (row, flag, type) => { |
| | | if (row[flag] || row[type] == null) { |
| | | return row[type] |
| | | } else { |
| | | if (type == 'principalIdCard') { |
| | | return row[type].replace(/^(.{6})(?:\d+)(.{4})$/, "$1******$2") |
| | | } else { |
| | | return row[type].replace(/^(.{3})(?:\d+)(.{4})$/, "$1****$2") |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | showStringDispose (row, type) { |
| | | row[type] = !row[type] |
| | | }, |
| | | |
| | | colseDetail () { |
| | | this.auditBasePopup = false |
| | | this.onLoad(this.page) |
| | |
| | | this.page.total = data.total |
| | | this.data = data.records |
| | | this.data.forEach(item => { |
| | | this.$set(item, 'phoneflag', false) |
| | | if (item.imageUrls && item.imageUrls != '' && item.imageUrls != null && item.imageUrls.length) { |
| | | var urls = [] |
| | | var names = item.imageUrls.split(",").filter(item => item != '') |
| | |
| | | {{ showStatus(row.status).text }} |
| | | </el-tag> |
| | | </template> |
| | | |
| | | <template slot-scope="{row, size}" slot="phone"> |
| | | <el-button :size="size" type="text" @click="showStringDispose(row, 'phoneflag')" |
| | | v-text="textDispose(row, 'phoneflag', 'phone')"> |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | |
| | | |
| | |
| | | prop: "phone", |
| | | searchSpan: 4, |
| | | search: true, |
| | | slot: true, |
| | | rules: [{ |
| | | validator: validatorPhone, |
| | | trigger: 'blur' |
| | |
| | | |
| | | return tags |
| | | } |
| | | }, |
| | | |
| | | textDispose () { |
| | | return (row, flag, type) => { |
| | | if (row[flag] || row[type] == null) { |
| | | return row[type] |
| | | } else { |
| | | if (type == 'principalIdCard') { |
| | | return row[type].replace(/^(.{6})(?:\d+)(.{4})$/, "$1******$2") |
| | | } else { |
| | | return row[type].replace(/^(.{3})(?:\d+)(.{4})$/, "$1****$2") |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | showStringDispose (row, type) { |
| | | row[type] = !row[type] |
| | | }, |
| | | |
| | | // 弹窗关闭回调 |
| | | handleClose () { |
| | | this.cancelAudit() |
| | |
| | | this.page.total = data.total |
| | | this.data = data.records |
| | | this.data.forEach(item => { |
| | | this.$set(item, 'phoneflag', false) |
| | | if (item.imageUrls && item.imageUrls != '' && item.imageUrls != null && item.imageUrls.length) { |
| | | var urls = [] |
| | | var names = item.imageUrls.split(",").filter(item => item != '') |