Compare commits

...

2 Commits

  1. 11
      src/api/ysjl.js
  2. 8
      src/components/Crud/index.vue
  3. 4
      src/components/Notice/message.vue
  4. 16
      src/components/drawerDialog/index.vue
  5. 26
      src/store/modules/user.js
  6. 6
      src/views/allot/components/chengya_list.vue
  7. 6
      src/views/allot/components/jidian_list.vue
  8. 6
      src/views/allot/hasAllot.vue
  9. 12
      src/views/allot/project.vue
  10. 6
      src/views/allot/rwd_list.vue
  11. 6
      src/views/allot/team_list.vue
  12. 6
      src/views/allot/tuihui_list.vue
  13. 6
      src/views/archive/list.vue
  14. 6
      src/views/assign/hasAssign.vue
  15. 6
      src/views/assign/list.vue
  16. 12
      src/views/assign/missionList.vue
  17. 6
      src/views/assign/old_list.vue
  18. 6
      src/views/audit/list.vue
  19. 54
      src/views/bggl/banjie_list.vue
  20. 1213
      src/views/bggl/components/boiler_db_list.vue
  21. 17
      src/views/bggl/components/original_db_list.vue
  22. 12
      src/views/bggl/daiban_list.vue
  23. 6
      src/views/bggl/daishen_list.vue
  24. 10
      src/views/bggl/eliminatingred_list.vue
  25. 8
      src/views/bggl/sign_list.vue
  26. 34
      src/views/bggl/yiban_list.vue
  27. 6
      src/views/bjd/department_list.vue
  28. 10
      src/views/bjd/dj_create.vue
  29. 8
      src/views/bjd/dj_input.vue
  30. 6
      src/views/bjd/dj_list.vue
  31. 6
      src/views/bjd/dt_list.vue
  32. 6
      src/views/bjd/jj_create.vue
  33. 6
      src/views/bjd/jj_input.vue
  34. 6
      src/views/bjd/jj_list.vue
  35. 6
      src/views/bjd/qy_list.vue
  36. 6
      src/views/bjd/zf_list.vue
  37. 6
      src/views/chargeBill/JD/create.vue
  38. 6
      src/views/chargeBill/ZJ/create.vue
  39. 6
      src/views/chargeBill/index.vue
  40. 6
      src/views/chargeBill/other/create.vue
  41. 6
      src/views/chargeBill/statistic.vue
  42. 6
      src/views/chargeBill/task.vue
  43. 6
      src/views/chargeTask/db_list.vue
  44. 6
      src/views/chargeTask/yb_list.vue
  45. 4
      src/views/dashboard/components/SubmoduleTable.vue
  46. 14
      src/views/dashboard/index.vue
  47. 8
      src/views/dic/category.vue
  48. 6
      src/views/dic/dic_data.vue
  49. 14
      src/views/dic/dic_type.vue
  50. 8
      src/views/dic/dic_xinghao.vue
  51. 6
      src/views/dwxx/examine.vue
  52. 6
      src/views/dwxx/list.vue
  53. 6
      src/views/dwxx/reviewed.vue
  54. 6
      src/views/finance/djList.vue
  55. 6
      src/views/finance/jfjd_list.vue
  56. 6
      src/views/finance/jjList.vue
  57. 6
      src/views/finance/web_jfdqr_list.vue
  58. 6
      src/views/finance/web_sfdsf_list.vue
  59. 6
      src/views/finance/web_xxsfd_list.vue
  60. 6
      src/views/finance/wsf_list.vue
  61. 6
      src/views/finance/ycdw_list.vue
  62. 6
      src/views/finance/ysf_list.vue
  63. 6
      src/views/finance/zzList.vue
  64. 8
      src/views/flow/definition.vue
  65. 8
      src/views/flow/detail.vue
  66. 6
      src/views/flow/link.vue
  67. 6
      src/views/flow/message.vue
  68. 8
      src/views/flow/restart.vue
  69. 8
      src/views/flow/template.vue
  70. 6
      src/views/invoice/list.vue
  71. 6
      src/views/invoice/toBeInvoiced.vue
  72. 6
      src/views/liaison/list.vue
  73. 6
      src/views/monitor/log_error.vue
  74. 8
      src/views/monitor/log_info.vue
  75. 6
      src/views/monitor/online.vue
  76. 6
      src/views/monitor/redis.vue
  77. 14
      src/views/print/1000/grant_create.vue
  78. 15
      src/views/print/1000/grant_list_yff.vue
  79. 70
      src/views/print/1000/print_list.vue
  80. 45
      src/views/print/2000/print_list.vue
  81. 43
      src/views/print/3000/print_list.vue
  82. 41
      src/views/print/4000/print_list.vue
  83. 41
      src/views/print/5000/print_list.vue
  84. 25
      src/views/print/8000/print_list.vue
  85. 9
      src/views/print/grant/grant_list_chengya.vue
  86. 9
      src/views/print/grant/grant_list_jidian.vue
  87. 9
      src/views/print/grant_list.vue
  88. 6
      src/views/search/list.vue
  89. 6
      src/views/statistics/filing.vue
  90. 10
      src/views/statistics/gldj.vue
  91. 12
      src/views/task/list.vue
  92. 6
      src/views/tool/quartz.vue
  93. 6
      src/views/tool/quartz_log.vue
  94. 4
      src/views/user/department.vue
  95. 4
      src/views/user/user.vue
  96. 6
      src/views/user/version.vue
  97. 15
      src/views/ysjl/2000/sfqk.vue
  98. 368
      src/views/ysjl/components/gascylinder_db_list.vue
  99. 149
      src/views/ysjl/components/gascylinder_yb_list.vue
  100. 1010
      src/views/ysjl/components/manufacture_db_list.vue

11
src/api/ysjl.js

@ -134,6 +134,17 @@ export function getNeedRecordList(query) {
}) })
} }
/**
* 待办原始记录列表查询
*/
export function getListUnDoneYsjl(params) {
return api({
url: '/ysjl/getListUnDoneYsjl',
method: 'get',
params
})
}
export function exportExcel(params) { export function exportExcel(params) {
return preview({ return preview({
url: '/download/downloadGrantList' + '?' + qs.stringify(params, { indices: false }), url: '/download/downloadGrantList' + '?' + qs.stringify(params, { indices: false }),

8
src/components/Crud/index.vue

@ -126,10 +126,10 @@ export default {
this.allColumnsSelectedIndeterminate = false this.allColumnsSelectedIndeterminate = false
}, },
handleCheckedTableColumnsChange(item) { handleCheckedTableColumnsChange(item) {
let totalCount = 0 let total = 0
let selectedCount = 0 let selectedCount = 0
for (const key in this.crud.props.tableColumns) { for (const key in this.crud.props.tableColumns) {
++totalCount ++total
if (Object.prototype.hasOwnProperty.call(this.crud.props.tableColumns, key)) { if (Object.prototype.hasOwnProperty.call(this.crud.props.tableColumns, key)) {
selectedCount += this.crud.props.tableColumns[key].visible ? 1 : 0 selectedCount += this.crud.props.tableColumns[key].visible ? 1 : 0
} }
@ -141,8 +141,8 @@ export default {
}) })
return return
} }
this.allColumnsSelected = selectedCount === totalCount this.allColumnsSelected = selectedCount === total
this.allColumnsSelectedIndeterminate = selectedCount !== totalCount && selectedCount !== 0 this.allColumnsSelectedIndeterminate = selectedCount !== total && selectedCount !== 0
}, },
toggleSearch() { toggleSearch() {
this.crud.props.searchToggle = !this.crud.props.searchToggle this.crud.props.searchToggle = !this.crud.props.searchToggle

4
src/components/Notice/message.vue

@ -234,7 +234,7 @@ export default {
params: this.readListQuery params: this.readListQuery
}).then(data => { }).then(data => {
this.readMessage = data.list this.readMessage = data.list
this.readMessageTotal = data.totalCount this.readMessageTotal = data.total
// this.systemMessageCount = data.systemMessageCount // this.systemMessageCount = data.systemMessageCount
// this.readMessageCount = data.readMessageCount // this.readMessageCount = data.readMessageCount
// this.recycleMessageCount = data.recycleMessageCount // this.recycleMessageCount = data.recycleMessageCount
@ -287,7 +287,7 @@ export default {
params: this.recycleListQuery params: this.recycleListQuery
}).then(data => { }).then(data => {
this.recycleMessage = data.list this.recycleMessage = data.list
this.recycleMessageTotal = data.totalCount this.recycleMessageTotal = data.total
this.systemMessageCount = data.systemMessageCount this.systemMessageCount = data.systemMessageCount
this.readMessageCount = data.readMessageCount this.readMessageCount = data.readMessageCount
this.recycleMessageCount = data.recycleMessageCount this.recycleMessageCount = data.recycleMessageCount

16
src/components/drawerDialog/index.vue

@ -356,8 +356,8 @@
</el-table> </el-table>
<div class="bottomPage"> <div class="bottomPage">
<pagination <pagination
v-show="totalCount > 0" v-show="total > 0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getList" @pagination="getList"
@ -424,8 +424,8 @@
</el-table> </el-table>
<div class="bottomPage"> <div class="bottomPage">
<pagination <pagination
v-show="totalCount1 > 0" v-show="total1 > 0"
:total="totalCount1" :total="total1"
:page-num.sync="jyxmParams.pageNum" :page-num.sync="jyxmParams.pageNum"
:page-row.sync="jyxmParams.pageSize" :page-row.sync="jyxmParams.pageSize"
@pagination="getDemoList" @pagination="getDemoList"
@ -808,7 +808,7 @@ export default {
shebeipinzhongdaima: [], shebeipinzhongdaima: [],
sblbList: [], sblbList: [],
sbpzList: [], sbpzList: [],
totalCount: 0, total: 0,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
@ -825,7 +825,7 @@ export default {
templateId: '', templateId: '',
templateSettingId: '' templateSettingId: ''
}, },
totalCount1: 0, total1: 0,
jyxmModes: ['检验项目', '附表', '不合格整改检验项目', '大型起重机械检验项目', '报告检验项目'], jyxmModes: ['检验项目', '附表', '不合格整改检验项目', '大型起重机械检验项目', '报告检验项目'],
writeModes: ['CN模式', 'DN模式', 'KV模式', 'CFI模式', 'SA模式'], writeModes: ['CN模式', 'DN模式', 'KV模式', 'CFI模式', 'SA模式'],
affiliatedAddModes: ['固定表格', '附页文件', 'word自动切换'] affiliatedAddModes: ['固定表格', '附页文件', 'word自动切换']
@ -925,7 +925,7 @@ export default {
// if(item.tableMode) // if(item.tableMode)
// }) // })
this.list = data.list this.list = data.list
this.totalCount = data.total * 1 this.total = data.total * 1
this.gridData = [] this.gridData = []
if (data.list[0]) { if (data.list[0]) {
this.templateSettingId = data.list[0].id this.templateSettingId = data.list[0].id
@ -976,7 +976,7 @@ export default {
} }
}) })
this.gridData = data.list this.gridData = data.list
this.totalCount1 = data.total this.total1 = data.total
}) })
}, },
toggleFn(val) { toggleFn(val) {

26
src/store/modules/user.js

@ -135,7 +135,7 @@ const user = {
}).then(task => { }).then(task => {
messagePush.push({ messagePush.push({
key: 'MyTask', key: 'MyTask',
value: task.totalCount value: task.total
}) })
}) })
getRenwuListByPath({ // 待分配任务 getRenwuListByPath({ // 待分配任务
@ -147,10 +147,10 @@ const user = {
}, 'list').then(task => { }, 'list').then(task => {
messagePush.push({ messagePush.push({
key: 'AllotList', key: 'AllotList',
value: task.totalCount value: task.total
}, { }, {
key: 'allot', key: 'allot',
value: task.totalCount > 0 ? 1 : 0 value: task.total > 0 ? 1 : 0
}) })
}) })
getRenwuListByPath({ // 退回任务 getRenwuListByPath({ // 退回任务
@ -160,7 +160,7 @@ const user = {
}, 'getTuihuiList').then(task => { }, 'getTuihuiList').then(task => {
messagePush.push({ messagePush.push({
key: 'BackRenwu', key: 'BackRenwu',
value: task.totalCount value: task.total
}) })
}) })
getNeedRecordList({ // 待办记录 getNeedRecordList({ // 待办记录
@ -173,10 +173,10 @@ const user = {
}).then((ysjl) => { }).then((ysjl) => {
messagePush.push({ messagePush.push({
key: 'TODOYsjl', key: 'TODOYsjl',
value: ysjl.totalCount value: ysjl.total
}, { }, {
key: 'ysjl', key: 'ysjl',
value: ysjl.totalCount > 0 ? 1 : 0 value: ysjl.total > 0 ? 1 : 0
}) })
}) })
getNeedRecordList({ // 检验报告列表 getNeedRecordList({ // 检验报告列表
@ -190,10 +190,10 @@ const user = {
}).then((ysjl) => { }).then((ysjl) => {
messagePush.push({ messagePush.push({
key: 'TODOReport', key: 'TODOReport',
value: ysjl.totalCount value: ysjl.total
}, { }, {
key: 'bggl', key: 'bggl',
value: ysjl.totalCount > 0 ? 1 : 0 value: ysjl.total > 0 ? 1 : 0
}) })
}) })
getNeedRecordList({ // 待审报告列表 getNeedRecordList({ // 待审报告列表
@ -205,7 +205,7 @@ const user = {
}).then((ysjl) => { }).then((ysjl) => {
messagePush.push({ messagePush.push({
key: 'dsbg-list', key: 'dsbg-list',
value: ysjl.totalCount value: ysjl.total
}) })
}) })
if (departmentId === 75) { // 锅炉科室定检 if (departmentId === 75) { // 锅炉科室定检
@ -222,7 +222,7 @@ const user = {
}).then((data) => { }).then((data) => {
messagePush.push({ messagePush.push({
key: 'PrintReportGlKsWdy', key: 'PrintReportGlKsWdy',
value: data.totalCount value: data.total
}) })
}) })
getNeedRecordList({ // 未发放 getNeedRecordList({ // 未发放
@ -239,10 +239,10 @@ const user = {
}).then((data) => { }).then((data) => {
messagePush.push({ messagePush.push({
key: 'GrantReportGlCreate', key: 'GrantReportGlCreate',
value: data.totalCount value: data.total
}, { }, {
key: 'grant', key: 'grant',
value: data.totalCount > 0 ? 1 : 0 value: data.total > 0 ? 1 : 0
}) })
}) })
getNeedRecordList({ // 已发放 getNeedRecordList({ // 已发放
@ -259,7 +259,7 @@ const user = {
}).then((data) => { }).then((data) => {
messagePush.push({ messagePush.push({
key: 'GrantReportGlYiFafang', key: 'GrantReportGlYiFafang',
value: data.totalCount value: data.total
}) })
}) })
} }

6
src/views/allot/components/chengya_list.vue

@ -110,7 +110,7 @@
<el-pagination <el-pagination
:current-page="listQuery.pageNum" :current-page="listQuery.pageNum"
:page-size="listQuery.pageSize" :page-size="listQuery.pageSize"
:total="totalCount" :total="total"
:page-sizes="[10, 20, 40, 100]" :page-sizes="[10, 20, 40, 100]"
background background
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
@ -180,7 +180,7 @@ export default {
data() { data() {
return { return {
dialogVisible: false, dialogVisible: false,
totalCount: 0, total: 0,
list: [], list: [],
sbzlList: [], sbzlList: [],
listQuery: { listQuery: {
@ -249,7 +249,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.showLoading = false this.showLoading = false
}) })
}, },

6
src/views/allot/components/jidian_list.vue

@ -139,7 +139,7 @@
<el-pagination <el-pagination
:current-page="listQuery.pageNum" :current-page="listQuery.pageNum"
:page-size="listQuery.pageSize" :page-size="listQuery.pageSize"
:total="totalCount" :total="total"
:page-sizes="[10, 20, 40, 100]" :page-sizes="[10, 20, 40, 100]"
background background
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
@ -262,7 +262,7 @@ export default {
data() { data() {
return { return {
dialogVisible: false, dialogVisible: false,
totalCount: 0, total: 0,
list: [], list: [],
sbzlList: [], sbzlList: [],
listQuery: { listQuery: {
@ -333,7 +333,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.showLoading = false this.showLoading = false
}) })
}, },

6
src/views/allot/hasAllot.vue

@ -128,7 +128,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
</div> </div>
</template> </template>
@ -140,7 +140,7 @@ export default {
components: { Pagination, Sticky }, components: { Pagination, Sticky },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
sbzlList: [], sbzlList: [],
teams: [], teams: [],
@ -229,7 +229,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.showLoading = false this.showLoading = false
}) })
}, },

12
src/views/allot/project.vue

@ -83,7 +83,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog :visible.sync="dialogVisible" title="任务分配" @close="closeDialog"> <el-dialog :visible.sync="dialogVisible" title="任务分配" @close="closeDialog">
<el-container> <el-container>
<el-header> <el-header>
@ -144,7 +144,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCountBase>0" :total="totalCountBase" :page-num.sync="listQueryBase.pageNum" :page-row.sync="listQueryBase.pageRow" @pagination="getListBase" /> <pagination v-show="totalBase>0" :total="totalBase" :page-num.sync="listQueryBase.pageNum" :page-row.sync="listQueryBase.pageRow" @pagination="getListBase" />
</el-dialog> </el-dialog>
<el-dialog :visible.sync="dialogFormVisibleAddBase" title="添加设备"> <el-dialog :visible.sync="dialogFormVisibleAddBase" title="添加设备">
@ -195,8 +195,8 @@ export default {
dialogVisible: false, dialogVisible: false,
dialogBaseInfoVisible: false, dialogBaseInfoVisible: false,
dialogFormVisibleAddBase: false, dialogFormVisibleAddBase: false,
totalCount: 0, total: 0,
totalCountBase: 0, totalBase: 0,
list: [], list: [],
listBase: [], listBase: [],
listLoading: false, listLoading: false,
@ -252,7 +252,7 @@ export default {
}).then(data => { }).then(data => {
this.listLoading = false this.listLoading = false
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
getListBase() { getListBase() {
@ -265,7 +265,7 @@ export default {
}).then(data => { }).then(data => {
this.listLoading = false this.listLoading = false
this.listBase = data.list this.listBase = data.list
this.totalCountBase = data.totalCount this.totalBase = data.total
}) })
}, },
getSblbList(val) { getSblbList(val) {

6
src/views/allot/rwd_list.vue

@ -105,7 +105,7 @@
<el-pagination <el-pagination
:current-page="listQuery.pageNum" :current-page="listQuery.pageNum"
:page-size="listQuery.pageSize" :page-size="listQuery.pageSize"
:total="totalCount" :total="total"
:page-sizes="[10, 20, 40, 100]" :page-sizes="[10, 20, 40, 100]"
background background
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
@ -125,7 +125,7 @@ export default {
components: { Sticky }, components: { Sticky },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
teams: [], teams: [],
listQuery: { listQuery: {
@ -163,7 +163,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.showLoading = false this.showLoading = false
}) })
}, },

6
src/views/allot/team_list.vue

@ -64,7 +64,7 @@
<el-pagination <el-pagination
:current-page="listQuery.pageNum" :current-page="listQuery.pageNum"
:page-size="listQuery.pageSize" :page-size="listQuery.pageSize"
:total="totalCount" :total="total"
:page-sizes="[10, 20, 40, 100]" :page-sizes="[10, 20, 40, 100]"
background background
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
@ -118,7 +118,7 @@ export default {
data() { data() {
return { return {
dialogVisible: false, dialogVisible: false,
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -167,7 +167,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.showLoading = false this.showLoading = false
}) })
}, },

6
src/views/allot/tuihui_list.vue

@ -79,7 +79,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<!-- 驳回操作 --> <!-- 驳回操作 -->
<el-dialog :visible.sync="dialogBohuiVisible" title="驳回意见" width="50%"> <el-dialog :visible.sync="dialogBohuiVisible" title="驳回意见" width="50%">
<el-table :data="infoNotes"> <el-table :data="infoNotes">
@ -150,7 +150,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
sbzlList: [], sbzlList: [],
tempDepartment: {}, tempDepartment: {},
@ -202,7 +202,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.showLoading = false this.showLoading = false
}) })
}, },

6
src/views/archive/list.vue

@ -70,7 +70,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
</div> </div>
</template> </template>
@ -84,7 +84,7 @@ export default {
components: { Sticky, Pagination, ArchiveInfo, ArchiveScan }, components: { Sticky, Pagination, ArchiveInfo, ArchiveScan },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, pageNum: 1,
@ -116,7 +116,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
// //

6
src/views/assign/hasAssign.vue

@ -106,7 +106,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
@ -117,7 +117,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
sbzlList: [], sbzlList: [],
listQuery: { listQuery: {
@ -141,7 +141,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.showLoading = false this.showLoading = false
}) })
}, },

6
src/views/assign/list.vue

@ -110,7 +110,7 @@
<el-pagination <el-pagination
:current-page="listQuery.pageNum" :current-page="listQuery.pageNum"
:page-size="listQuery.pageRow" :page-size="listQuery.pageRow"
:total="totalCount" :total="total"
:page-sizes="[10, 20, 40, 100]" :page-sizes="[10, 20, 40, 100]"
background background
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
@ -173,7 +173,7 @@ export default {
data() { data() {
return { return {
dialogVisible: false, dialogVisible: false,
totalCount: 0, total: 0,
list: [], list: [],
sbzlList: [], sbzlList: [],
listQuery: { listQuery: {
@ -234,7 +234,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.showLoading = false this.showLoading = false
}) })
}, },

12
src/views/assign/missionList.vue

@ -72,7 +72,7 @@
<el-table-column align="center" label="下次检验日期" prop="xiacijianyanriqi" width="120" /> <el-table-column align="center" label="下次检验日期" prop="xiacijianyanriqi" width="120" />
<el-table-column :formatter="formatter.getChineseName" align="center" label="认领人" prop="renlingren" width="140" /> <el-table-column :formatter="formatter.getChineseName" align="center" label="认领人" prop="renlingren" width="140" />
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog :title="textMap[category]" :visible.sync="dialogFormVisible" @close="closeDialog"> <el-dialog :title="textMap[category]" :visible.sync="dialogFormVisible" @close="closeDialog">
<el-row style="margin-bottom: 15px;"> <el-row style="margin-bottom: 15px;">
@ -169,7 +169,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCountCopy" :page-num.sync="listQueryCopy.pageNum" :page-row.sync="listQueryCopy.pageRow" @pagination="getListCopy" /> <pagination v-show="total>0" :total="totalCopy" :page-num.sync="listQueryCopy.pageNum" :page-row.sync="listQueryCopy.pageRow" @pagination="getListCopy" />
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
@ -184,9 +184,9 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
totalCountCopy: 0, totalCopy: 0,
listCopy: [], listCopy: [],
sbzlList: [], sbzlList: [],
sblbList: [], sblbList: [],
@ -252,7 +252,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
getListCopy() { getListCopy() {
@ -266,7 +266,7 @@ export default {
params: this.listQueryCopy params: this.listQueryCopy
}).then(data => { }).then(data => {
this.listCopy = data.list this.listCopy = data.list
this.totalCountCopy = data.totalCount this.totalCopy = data.total
}) })
}, },
onDialogRowClick(row) { onDialogRowClick(row) {

6
src/views/assign/old_list.vue

@ -70,7 +70,7 @@
<el-pagination <el-pagination
:current-page="listQuery.pageNum" :current-page="listQuery.pageNum"
:page-size="listQuery.pageRow" :page-size="listQuery.pageRow"
:total="totalCount" :total="total"
:page-sizes="[10, 20, 40, 100]" :page-sizes="[10, 20, 40, 100]"
background background
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
@ -121,7 +121,7 @@ export default {
data() { data() {
return { return {
dialogVisible: false, dialogVisible: false,
totalCount: 0, total: 0,
list: [], list: [],
sbzlList: [], sbzlList: [],
listQuery: { listQuery: {
@ -164,7 +164,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.showLoading = false this.showLoading = false
}) })
}, },

6
src/views/audit/list.vue

@ -69,7 +69,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left;" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left;" @pagination="getList" />
<div style="float: right;margin-top:8px;"> <div style="float: right;margin-top:8px;">
<div style="width: 50px;float:left;margin-left: 20px;"> <div style="width: 50px;float:left;margin-left: 20px;">
驳回 驳回
@ -156,7 +156,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -235,7 +235,7 @@ export default {
} }
} }
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

54
src/views/bggl/banjie_list.vue

@ -1,12 +1,12 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<div class="filter-container"> <div class="filter-container">
<div v-show="hasPerm('bggl:update') || hasPerm('bggl:regenerate')" class="sub-navbar"> <div v-show="hasPerm('bggl:banjie:update') || hasPerm('bggl:banjie:regenerate')" class="sub-navbar">
<sticky> <sticky>
<el-button v-if="hasPerm('bggl:update')" type="danger" icon="el-icon-refresh" @click="resetFlow"> <el-button v-if="hasPerm('bggl:banjie:update')" type="danger" icon="el-icon-refresh" @click="resetFlow">
重启流程 重启流程
</el-button> </el-button>
<template v-if="hasPerm('bggl:regenerate')"> <template v-if="hasPerm('bggl:banjie:regenerate')">
<el-button type="warning" icon="el-icon-refresh" @click="generatePdf('YSJL')"> <el-button type="warning" icon="el-icon-refresh" @click="generatePdf('YSJL')">
生成记录 生成记录
</el-button> </el-button>
@ -50,15 +50,6 @@
@keyup.enter.native="handleFilter" @keyup.enter.native="handleFilter"
/> />
<br> <br>
<span class="radio-group-label">查看类型</span>
<el-radio-group v-model="listQuery.createBy" @change="handleFilter">
<el-radio :label="$store.getters.userId">
只看创建人
</el-radio>
<el-radio :label="undefined">
全部
</el-radio>
</el-radio-group>
<el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter"> <el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter">
查询 查询
</el-button> </el-button>
@ -165,8 +156,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount>0" v-show="total>0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getList" @pagination="getList"
@ -366,7 +357,7 @@
<el-table-column align="center" label="监检日期" prop="jianyanjieshuriqi" width="150" /> <el-table-column align="center" label="监检日期" prop="jianyanjieshuriqi" width="150" />
<el-table-column align="center" label="监检员" prop="jianyanrenyuan" width="150" /> <el-table-column align="center" label="监检员" prop="jianyanrenyuan" width="150" />
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCountExport" :page-num.sync="listQueryExport.pageNum" :page-row.sync="listQueryExport.pageRow" @pagination="getExportReportList" /> <pagination v-show="total>0" :total="totalExport" :page-num.sync="listQueryExport.pageNum" :page-row.sync="listQueryExport.pageRow" @pagination="getExportReportList" />
</el-dialog> </el-dialog>
<!--重启申请选择方式窗口--> <!--重启申请选择方式窗口-->
<el-dialog :visible.sync="dialogSelectionMethod" title="重启申请方式" width="23%"> <el-dialog :visible.sync="dialogSelectionMethod" title="重启申请方式" width="23%">
@ -525,16 +516,13 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'shenpiriqi desc,id', // orderBy: 'shenpiriqi desc,id desc', //
sort: 'desc', // hasChild: true
createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined,
hasChild: true,
hasFinish: true
}, },
multipleSelection: [], multipleSelection: [],
dialogQueryVisible: false, dialogQueryVisible: false,
@ -564,15 +552,13 @@ export default {
listQueryExport: { listQueryExport: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'shenpiriqi desc,id', // orderBy: 'shenpiriqi desc,id desc', //
sort: 'desc', //
searchYsjl: { searchYsjl: {
createBy: this.$store.getters.userId createBy: this.$store.getters.userId
}, },
hasChild: false, hasChild: false
hasFinish: true
}, },
totalCountExport: 0, totalExport: 0,
outFile: '', // el outFile: '', // el
jianyanrenyuanmingcheng: '', jianyanrenyuanmingcheng: '',
departmentName: '', departmentName: '',
@ -630,12 +616,12 @@ export default {
}, },
getList() { getList() {
this.api({ this.api({
url: '/ysjl/getList', url: '/ysjl/getListBanjie',
method: 'get', method: 'get',
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },
@ -656,7 +642,7 @@ export default {
this.exportList[i].guigexinghao = this.exportList[i].shebeimingcheng this.exportList[i].guigexinghao = this.exportList[i].shebeimingcheng
} }
} }
this.totalCountExport = data.totalCount this.totalExport = data.total
}) })
}, },
ExportShow: function() { ExportShow: function() {
@ -692,8 +678,7 @@ export default {
}) })
}, },
sortChange(column) { sortChange(column) {
this.listQuery.order = column.prop this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.listQuery.sort = column.order.replace('ending', '')
this.getList() this.getList()
}, },
getIndex($index) { getIndex($index) {
@ -902,11 +887,8 @@ export default {
this.listQuery = { this.listQuery = {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'shenpiriqi desc,id', // orderBy: 'shenpiriqi desc,id desc', //
sort: 'desc', // hasChild: true
createBy: this.$store.getters.departmentId === 70 ? this.$store.getters.userId : undefined,
hasChild: true,
hasFinish: true
} }
this.getList() this.getList()
}, },

1213
src/views/bggl/components/boiler_db_list.vue

File diff suppressed because it is too large

17
src/views/bggl/components/original_db_list.vue

@ -6,7 +6,7 @@
<el-button type="success" @click="batchSend"> <el-button type="success" @click="batchSend">
<svg-icon icon-class="send" /> 批量发送 <svg-icon icon-class="send" /> 批量发送
</el-button> </el-button>
<el-button v-if="hasPerm('bggl:reject')" type="primary" @click="batchBohui"> <el-button v-if="hasPerm('bggl:un-done-jybg:reject')" type="primary" @click="batchBohui">
<svg-icon icon-class="reject" /> 批量驳回 <svg-icon icon-class="reject" /> 批量驳回
</el-button> </el-button>
<el-button type="success" @click="batchSign"> <el-button type="success" @click="batchSign">
@ -18,9 +18,6 @@
<el-button type="danger" icon="el-icon-delete" @click="delReport"> <el-button type="danger" icon="el-icon-delete" @click="delReport">
退回到记录 退回到记录
</el-button> </el-button>
<el-button v-if="$store.getters.departmentId === 68 || $store.getters.username === 'admin'" type="success" @click="batchEnd">
<svg-icon icon-class="send" /> 办结报告
</el-button>
</div> </div>
</sticky> </sticky>
<el-form> <el-form>
@ -151,7 +148,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left;" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left;" @pagination="getList" />
<div style="float: right;margin-top:8px;"> <div style="float: right;margin-top:8px;">
<div style="width: 80px;float:left;margin-left: 50px;"> <div style="width: 80px;float:left;margin-left: 50px;">
重启流程 重启流程
@ -413,7 +410,7 @@ export default {
components: { Sticky, Pagination, Enclosure }, components: { Sticky, Pagination, Enclosure },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -482,7 +479,7 @@ export default {
pageRow: 20, // pageRow: 20, //
searchYsjl: {} searchYsjl: {}
}, },
totalCountCopy: 0, totalCopy: 0,
copyNum: 1, // copyNum: 1, //
manufacturParam: {}, manufacturParam: {},
bzrQianming: false, bzrQianming: false,
@ -566,7 +563,7 @@ export default {
}, },
getList() { getList() {
this.api({ this.api({
url: '/ysjl/getList', url: '/ysjl/getListUnDoneJybg',
method: 'get', method: 'get',
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
@ -578,7 +575,7 @@ export default {
} }
} }
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },
@ -1306,7 +1303,7 @@ export default {
params: this.listQueryCopy params: this.listQueryCopy
}).then(data => { }).then(data => {
this.listCopy = data.list this.listCopy = data.list
this.totalCountCopy = data.totalCount this.totalCopy = data.total
}) })
}, },
handleFilterCopy() { handleFilterCopy() {

12
src/views/bggl/daiban_list.vue

@ -1,17 +1,11 @@
<template> <template>
<boiler-db-list v-if="ifBoiler" /> <original-db-list />
<original-db-list v-else />
</template> </template>
<script> <script>
import originalDbList from './components/original_db_list' import originalDbList from './components/original_db_list'
import boilerDbList from './components/boiler_db_list'
export default { export default {
name: 'TODOReport', name: 'TODOReport',
components: { originalDbList, boilerDbList }, components: { originalDbList }
data() {
return {
ifBoiler: this.$store.getters.departmentId === 75
}
}
} }
</script> </script>

6
src/views/bggl/daishen_list.vue

@ -78,7 +78,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left;" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left;" @pagination="getList" />
<div style="float: right;margin-top:8px;"> <div style="float: right;margin-top:8px;">
<div style="width: 80px;float:left;margin-left: 50px;"> <div style="width: 80px;float:left;margin-left: 50px;">
重启流程 重启流程
@ -171,7 +171,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -241,7 +241,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

10
src/views/bggl/eliminatingred_list.vue

@ -137,8 +137,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount>0" v-show="total>0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getList" @pagination="getList"
@ -302,7 +302,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -365,7 +365,7 @@ export default {
}, },
getTemplateList() { getTemplateList() {
this.api({ this.api({
url: '/template/getAll', url: '/template/all',
method: 'get', method: 'get',
params: { params: {
bglx: 1, bglx: 1,
@ -399,7 +399,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.list.doLayout() this.$refs.list.doLayout()
}) })

8
src/views/bggl/sign_list.vue

@ -93,8 +93,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount>0" v-show="total>0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getList" @pagination="getList"
@ -157,7 +157,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -187,7 +187,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

34
src/views/bggl/yiban_list.vue

@ -1,19 +1,19 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<div class="filter-container"> <div class="filter-container">
<sticky style="margin-bottom: 10px;"> <!-- <sticky style="margin-bottom: 10px;">
<div class="sub-navbar"> <div class="sub-navbar">
<el-button type="danger" icon="el-icon-back" @click="withDraw"> <el-button type="danger" icon="el-icon-back" @click="withDraw">
撤回报告 撤回报告
</el-button> </el-button>
</div> </div>
</sticky> </sticky>-->
<el-form> <el-form>
<el-form-item> <el-form-item>
<el-input v-model="listQuery.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位" clearable style="width: 300px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位" clearable style="width: 300px" @keyup.enter.native="handleFilter" />
<el-select v-model="listQuery.ownRoles" placeholder="请选择所处角色" style="width: 165px" clearable @change="changeOwnRoles"> <el-select v-model="listQuery.flowstatus" placeholder="请选择所处角色" style="width: 165px" clearable @change="changeOwnRoles">
<el-option v-for="item in statusList" :key="item.value" :label="item.label" :value="item.value" /> <el-option v-for="item in statusList" :key="item.value" :label="item.label" :value="item.value" />
</el-select> </el-select>
<el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter"> <el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter">
@ -23,15 +23,6 @@
清空条件 清空条件
</el-button> </el-button>
<br> <br>
<span class="radio-group-label">查看类型</span>
<el-radio-group v-model="listQuery.createBy" @change="handleFilter">
<el-radio :label="$store.getters.userId">
只看创建人
</el-radio>
<el-radio :label="undefined">
全部
</el-radio>
</el-radio-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -101,20 +92,20 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
<script> <script>
import Sticky from '@/components/Sticky' // import Sticky from '@/components/Sticky'
import Pagination from '@/components/Pagination' import Pagination from '@/components/Pagination'
import Utils from '../../utils/contact.js' import Utils from '../../utils/contact.js'
export default { export default {
name: 'OwnDoneReport', name: 'OwnDoneReport',
components: { Sticky, Pagination }, components: { /* Sticky, */Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -130,15 +121,12 @@ export default {
sbzlList: [], sbzlList: [],
statusList: [ statusList: [
{ {
value: 1,
label: '检验人员'
}, {
value: 2, value: 2,
label: '审核人员' label: '审核人员'
}/*, { }, {
value: 3, value: 3,
label: '审批人员' label: '审批人员'
}*/ }
], ],
userList: this.$store.getters.allUser, userList: this.$store.getters.allUser,
userId: this.$store.getters.userId userId: this.$store.getters.userId
@ -158,12 +146,12 @@ export default {
getList() { getList() {
this.listQuery.cjState = 'bggl' this.listQuery.cjState = 'bggl'
this.api({ this.api({
url: '/ysjl/getList', url: '/ysjl/getListDoneJybg',
method: 'get', method: 'get',
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/bjd/department_list.vue

@ -59,7 +59,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" @close="closeDialog"> <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" @close="closeDialog">
<el-form ref="tempDepartment" :model="tempDepartment" class="small-space" label-position="left" label-width="120px" style="width: 300px; margin-left:50px;"> <el-form ref="tempDepartment" :model="tempDepartment" class="small-space" label-position="left" label-width="120px" style="width: 300px; margin-left:50px;">
<el-form-item label="所属科室" prop="departmentId"> <el-form-item label="所属科室" prop="departmentId">
@ -123,7 +123,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -162,7 +162,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

10
src/views/bjd/dj_create.vue

@ -317,8 +317,8 @@
</el-table> </el-table>
<div class="uFlex mt-10"> <div class="uFlex mt-10">
<pagination <pagination
v-show="totalCount > 0" v-show="total > 0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getList" @pagination="getList"
@ -342,7 +342,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
shoppingSize: 0, shoppingSize: 0,
list: [], list: [],
listQuery: { listQuery: {
@ -413,7 +413,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then((data) => { }).then((data) => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}) })
.catch(() => { .catch(() => {
@ -421,7 +421,7 @@ export default {
}) })
} else { } else {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
} }
}) })
}, },

8
src/views/bjd/dj_input.vue

@ -1441,8 +1441,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount > 0" v-show="total > 0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getBaseList" @pagination="getBaseList"
@ -1571,7 +1571,7 @@ export default {
shidaima: '3701' shidaima: '3701'
}, },
jianyanleibie: '定期检验', jianyanleibie: '定期检验',
totalCount: 0, total: 0,
baseSelection: [], baseSelection: [],
formYJVisible: false, formYJVisible: false,
postInfo: { postInfo: {
@ -1971,7 +1971,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then((data) => { }).then((data) => {
this.baseList = data.list this.baseList = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
clearSearch() { clearSearch() {

6
src/views/bjd/dj_list.vue

@ -180,7 +180,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left" @pagination="getList" />
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
</div> </div>
</template> </template>
@ -196,7 +196,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -237,7 +237,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.bjdList.doLayout() this.$refs.bjdList.doLayout()
}) })
this.totalCount = data.total this.total = data.total
}) })
}, },
getSbzlList() { getSbzlList() {

6
src/views/bjd/dt_list.vue

@ -146,7 +146,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left" @pagination="getList" />
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
</div> </div>
</template> </template>
@ -161,7 +161,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -202,7 +202,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getSbzlList() { getSbzlList() {

6
src/views/bjd/jj_create.vue

@ -106,7 +106,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
<script> <script>
@ -117,7 +117,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
shoppingSize: 0, shoppingSize: 0,
list: [], list: [],
listQuery: { listQuery: {
@ -146,7 +146,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
getSbzlList() { getSbzlList() {

6
src/views/bjd/jj_input.vue

@ -616,7 +616,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getBaseList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getBaseList" />
</el-dialog> </el-dialog>
</el-tabs> </el-tabs>
<el-dialog title="原始材料内容比对" width="98%" top="5px" :visible.sync="baseInfoContentVisible" :close-on-press-escape="false" @close="baseInfoContentVisible = false"> <el-dialog title="原始材料内容比对" width="98%" top="5px" :visible.sync="baseInfoContentVisible" :close-on-press-escape="false" @close="baseInfoContentVisible = false">
@ -736,7 +736,7 @@ export default {
shidaima: '3701' shidaima: '3701'
}, },
jianyanleibie: '监督检验', jianyanleibie: '监督检验',
totalCount: 0, total: 0,
baseSelection: [], baseSelection: [],
formYJVisible: false, formYJVisible: false,
postInfo: { postInfo: {
@ -1050,7 +1050,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.baseList = data.list this.baseList = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
getIndex($index) { getIndex($index) {

6
src/views/bjd/jj_list.vue

@ -176,7 +176,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left" @pagination="getList" />
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
<el-dialog title="修改施工联系人电话" :visible.sync="updateSgLxrDhDialog"> <el-dialog title="修改施工联系人电话" :visible.sync="updateSgLxrDhDialog">
<el-form ref="sgInfo" :model="sgInfo" label-width="80px" :rules="rules"> <el-form ref="sgInfo" :model="sgInfo" label-width="80px" :rules="rules">
@ -214,7 +214,7 @@ export default {
} }
} }
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -264,7 +264,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.bjdList.doLayout() this.$refs.bjdList.doLayout()
}) })
this.totalCount = data.total this.total = data.total
}) })
}, },
getSbzlList() { getSbzlList() {

6
src/views/bjd/qy_list.vue

@ -129,7 +129,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left" @pagination="getList" />
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
</div> </div>
</template> </template>
@ -144,7 +144,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -183,7 +183,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getSbzlList() { getSbzlList() {

6
src/views/bjd/zf_list.vue

@ -79,7 +79,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left" @pagination="getList" />
</div> </div>
</template> </template>
@ -91,7 +91,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -125,7 +125,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getSbzlList() { getSbzlList() {

6
src/views/chargeBill/JD/create.vue

@ -52,7 +52,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="query.pageNum" :page-row.sync="query.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="query.pageNum" :page-row.sync="query.pageSize" @pagination="getList" />
<bill-add :selection="reportData" :charge-bill="chargeBill" :version="version" /> <bill-add :selection="reportData" :charge-bill="chargeBill" :version="version" />
</div> </div>
</div> </div>
@ -97,7 +97,7 @@ export default {
payerPhone: '', payerPhone: '',
inspectionPhone: '' inspectionPhone: ''
}, },
totalCount: 0, total: 0,
reportData: [] reportData: []
} }
}, },
@ -130,7 +130,7 @@ export default {
params: this.query params: this.query
}).then(data => { }).then(data => {
this.data = data.list this.data = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
/** /**

6
src/views/chargeBill/ZJ/create.vue

@ -56,7 +56,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="query.pageNum" :page-row.sync="query.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="query.pageNum" :page-row.sync="query.pageSize" @pagination="getList" />
<bill-add :selection="selection" :charge-bill.sync="chargeBill" :disabled-unit="true" /> <bill-add :selection="selection" :charge-bill.sync="chargeBill" :disabled-unit="true" />
</div> </div>
</template> </template>
@ -103,7 +103,7 @@ export default {
payerPhone: '', payerPhone: '',
inspectionPhone: '' inspectionPhone: ''
}, },
totalCount: 0 total: 0
} }
}, },
mounted() { mounted() {
@ -174,7 +174,7 @@ export default {
params: this.query params: this.query
}).then(data => { }).then(data => {
this.data = data.list this.data = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
// //

6
src/views/chargeBill/index.vue

@ -163,7 +163,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<detail v-if="detailListVisible" :charge-bill="chargeBill" :data="tableDetailsList" :editor="editor" :version="version" /> <detail v-if="detailListVisible" :charge-bill="chargeBill" :data="tableDetailsList" :editor="editor" :version="version" />
<el-dialog title="查看相关鉴证" :modal-append-to-body="false" :visible.sync="dialogEnclosureVisible"> <el-dialog title="查看相关鉴证" :modal-append-to-body="false" :visible.sync="dialogEnclosureVisible">
<enclosure :relation-id.sync="currentRenwuId" :if-liaison="false" :view-button="false" /> <enclosure :relation-id.sync="currentRenwuId" :if-liaison="false" :view-button="false" />
@ -232,7 +232,7 @@ export default {
ifShowPerson: this.notHasRole('RQZZJYY') && this.notHasRole('JDJYY'), ifShowPerson: this.notHasRole('RQZZJYY') && this.notHasRole('JDJYY'),
inspectors: [], inspectors: [],
list: [], list: [],
totalCount: 0, total: 0,
chargeBill: {}, chargeBill: {},
selection: [], selection: [],
detailListVisible: false, detailListVisible: false,
@ -476,7 +476,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.list.doLayout() this.$refs.list.doLayout()
}) })
this.totalCount = data.total this.total = data.total
}) })
}, },
/** /**

6
src/views/chargeBill/other/create.vue

@ -50,7 +50,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="query.pageNum" :page-row.sync="query.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="query.pageNum" :page-row.sync="query.pageSize" @pagination="getList" />
<bill-add :selection="selection" :charge-bill="chargeBill" :version="version" /> <bill-add :selection="selection" :charge-bill="chargeBill" :version="version" />
</div> </div>
</div> </div>
@ -92,7 +92,7 @@ export default {
payerPhone: '', payerPhone: '',
inspectionPhone: '' inspectionPhone: ''
}, },
totalCount: 0, total: 0,
reportData: [] reportData: []
} }
}, },
@ -117,7 +117,7 @@ export default {
params: this.query params: this.query
}).then(data => { }).then(data => {
this.data = data.list this.data = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
/** /**

6
src/views/chargeBill/statistic.vue

@ -58,7 +58,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getListStatistics" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getListStatistics" />
<statistic-detail v-if="detailListVisible" :data="tableDetailsList" /> <statistic-detail v-if="detailListVisible" :data="tableDetailsList" />
</div> </div>
</template> </template>
@ -92,7 +92,7 @@ export default {
tableDetailsList: [], tableDetailsList: [],
chanpinshuliang: 0, chanpinshuliang: 0,
totalAmount: 0, totalAmount: 0,
totalCount: 0 total: 0
} }
}, },
watch: { watch: {
@ -164,7 +164,7 @@ export default {
} }
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.chanpinshuliang = this.getSummaries(this.list, 'chanpinshuliang') this.chanpinshuliang = this.getSummaries(this.list, 'chanpinshuliang')
this.totalAmount = this.getSummaries(this.list, 'totalAmount') this.totalAmount = this.getSummaries(this.list, 'totalAmount')
// el-table // el-table

6
src/views/chargeBill/task.vue

@ -43,7 +43,7 @@
<el-table-column :formatter="formatter.getChineseName" align="center" prop="shenpiren" label="审批人" /> <el-table-column :formatter="formatter.getChineseName" align="center" prop="shenpiren" label="审批人" />
<el-table-column align="center" prop="shenpiriqi" label="审批时间" /> <el-table-column align="center" prop="shenpiriqi" label="审批时间" />
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
</div> </div>
</template> </template>
<script> <script>
@ -68,7 +68,7 @@ export default {
pageSize: 20 // pageSize: 20 //
}, },
list: [], list: [],
totalCount: 0 total: 0
} }
}, },
created() { created() {
@ -85,7 +85,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
/** /**

6
src/views/chargeTask/db_list.vue

@ -80,7 +80,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog title="核价" :visible.sync="dialogFormVisible" @close="closeDialog"> <el-dialog title="核价" :visible.sync="dialogFormVisible" @close="closeDialog">
<el-form ref="chargeTaskYsjl" :model="chargeTaskYsjl" :rules="rules" label-width="100px"> <el-form ref="chargeTaskYsjl" :model="chargeTaskYsjl" :rules="rules" label-width="100px">
<!-- <el-row :gutter="10"> <!-- <el-row :gutter="10">
@ -203,7 +203,7 @@ export default {
renlingren: this.$store.getters.userId, renlingren: this.$store.getters.userId,
flowstatus: 1 flowstatus: 1
}, },
totalCount: 0, total: 0,
dialogFormVisible: false, dialogFormVisible: false,
chargeTaskYsjl: {}, chargeTaskYsjl: {},
biliOptions: ['0.4', '0.5', '0.6', '0.7', '0.8', '0.9', '1'], biliOptions: ['0.4', '0.5', '0.6', '0.7', '0.8', '0.9', '1'],
@ -244,7 +244,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

6
src/views/chargeTask/yb_list.vue

@ -70,7 +70,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog title="详情" :visible.sync="dialogFormVisible" @close="closeDialog"> <el-dialog title="详情" :visible.sync="dialogFormVisible" @close="closeDialog">
<el-form ref="chargeTaskYsjl" :model="chargeTaskYsjl" label-width="100px"> <el-form ref="chargeTaskYsjl" :model="chargeTaskYsjl" label-width="100px">
<!-- <el-row :gutter="10"> <!-- <el-row :gutter="10">
@ -168,7 +168,7 @@ export default {
jianyanrenyuan: this.$store.getters.userId, jianyanrenyuan: this.$store.getters.userId,
flowstatus: 2 flowstatus: 2
}, },
totalCount: 0, total: 0,
dialogFormVisible: false, dialogFormVisible: false,
chargeTaskYsjl: {} chargeTaskYsjl: {}
} }
@ -187,7 +187,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

4
src/views/dashboard/components/SubmoduleTable.vue

@ -47,7 +47,7 @@
/> />
</template> </template>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="query.pageNum" :page-row.sync="query.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="query.pageNum" :page-row.sync="query.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
<script> <script>
@ -74,7 +74,7 @@ export default {
} }
} }
}, },
totalCount: { total: {
type: Number, type: Number,
default: 0, default: 0,
required: true required: true

14
src/views/dashboard/index.vue

@ -58,7 +58,7 @@
:name="name" :name="name"
:list="bodyDetailsList" :list="bodyDetailsList"
:query="listQuery" :query="listQuery"
:total-count="totalCount" :total-count="total"
:col-configs="columnList" :col-configs="columnList"
@getBodyDetailsLists="getBodyDetailsLists" @getBodyDetailsLists="getBodyDetailsLists"
/> />
@ -93,7 +93,7 @@ export default {
pageRow: 20, // pageRow: 20, //
searchYsjl: {} searchYsjl: {}
}, },
totalCount: 0, total: 0,
barChartData: { barChartData: {
axis: [], axis: [],
list: [] list: []
@ -152,7 +152,7 @@ export default {
case '我的任务': case '我的任务':
getOwnList(query).then(data => { getOwnList(query).then(data => {
this.bodyDetailsList = data.list this.bodyDetailsList = data.list
this.totalCount = data.totalCount this.total = data.total
this.getColumn('MyTask') this.getColumn('MyTask')
}) })
break break
@ -166,7 +166,7 @@ export default {
} }
getNeedRecordList(query).then((data) => { getNeedRecordList(query).then((data) => {
this.bodyDetailsList = data.list this.bodyDetailsList = data.list
this.totalCount = data.totalCount this.total = data.total
this.getColumn('TODOYsjl') this.getColumn('TODOYsjl')
}) })
break break
@ -181,7 +181,7 @@ export default {
hasFinish: false hasFinish: false
}).then((data) => { }).then((data) => {
this.bodyDetailsList = data.list this.bodyDetailsList = data.list
this.totalCount = data.totalCount this.total = data.total
this.getColumn('TODOReport') this.getColumn('TODOReport')
}) })
break break
@ -194,7 +194,7 @@ export default {
query.searchYsjl.printState = 0 query.searchYsjl.printState = 0
getNeedRecordList(query).then((data) => { getNeedRecordList(query).then((data) => {
this.bodyDetailsList = data.list this.bodyDetailsList = data.list
this.totalCount = data.totalCount this.total = data.total
this.getColumn('PrintReport') this.getColumn('PrintReport')
}) })
break break
@ -209,7 +209,7 @@ export default {
query.searchYsjl.flowstatus = 4 query.searchYsjl.flowstatus = 4
getNeedRecordList(query).then((data) => { getNeedRecordList(query).then((data) => {
this.bodyDetailsList = data.list this.bodyDetailsList = data.list
this.totalCount = data.totalCount this.total = data.total
this.getColumn('PrintReport') this.getColumn('PrintReport')
}) })
break break

8
src/views/dic/category.vue

@ -93,8 +93,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount > 0" v-show="total > 0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageSize" :page-row.sync="listQuery.pageSize"
@pagination="getList" @pagination="getList"
@ -231,7 +231,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
subList: [], subList: [],
list: [], // list: [], //
listQuery: { listQuery: {
@ -268,7 +268,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then((data) => { }).then((data) => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

6
src/views/dic/dic_data.vue

@ -47,7 +47,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible"> <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible">
<el-form ref="tempDicData" :model="tempDicData" class="small-space" label-position="left" label-width="120px" style="width: 300px; margin-left:50px;"> <el-form ref="tempDicData" :model="tempDicData" class="small-space" label-position="left" label-width="120px" style="width: 300px; margin-left:50px;">
<el-form-item label="字典类型" prop="typeId" required> <el-form-item label="字典类型" prop="typeId" required>
@ -97,7 +97,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -135,7 +135,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.spanArr = [] this.spanArr = []
this.getSpanArr(this.list) this.getSpanArr(this.list)
}) })

14
src/views/dic/dic_type.vue

@ -106,8 +106,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount > 0" v-show="total > 0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageSize" :page-row.sync="listQuery.pageSize"
@pagination="getList" @pagination="getList"
@ -192,7 +192,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="subtotalCount>0" :total="subtotalCount" :page-num.sync="sublistQuery.pageNum" :page-row.sync="sublistQuery.pageSize" @pagination="getsubList" /> <pagination v-show="subtotal>0" :total="subtotal" :page-num.sync="sublistQuery.pageNum" :page-row.sync="sublistQuery.pageSize" @pagination="getsubList" />
</el-card> </el-card>
</el-col> </el-col>
</el-row> </el-row>
@ -284,7 +284,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
sublist: [], sublist: [],
listQuery: { listQuery: {
@ -307,7 +307,7 @@ export default {
multipleSelection: [], multipleSelection: [],
dicTypeList: [], dicTypeList: [],
dicDataList: [], dicDataList: [],
subtotalCount: 0, subtotal: 0,
tempDicData: { tempDicData: {
} }
@ -326,7 +326,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then((data) => { }).then((data) => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getAllDicData() { getAllDicData() {
@ -344,7 +344,7 @@ export default {
params: this.sublistQuery params: this.sublistQuery
}).then((data) => { }).then((data) => {
this.sublist = data.list this.sublist = data.list
this.subtotalCount = data.total this.subtotal = data.total
this.spanArr = [] this.spanArr = []
this.getSpanArr(this.list) this.getSpanArr(this.list)
}) })

8
src/views/dic/dic_xinghao.vue

@ -91,7 +91,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog title="添加型号" :visible.sync="dialogFormVisible"> <el-dialog title="添加型号" :visible.sync="dialogFormVisible">
<el-form ref="tempDicXinghao" :model="tempDicXinghao" class="small-space" label-position="left" label-width="100px"> <el-form ref="tempDicXinghao" :model="tempDicXinghao" class="small-space" label-position="left" label-width="100px">
<el-row :gutter="20"> <el-row :gutter="20">
@ -166,7 +166,7 @@ export default {
data() { data() {
return { return {
isSystem: this.$store.getters.clientType === 'System', isSystem: this.$store.getters.clientType === 'System',
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -225,7 +225,7 @@ export default {
this.$set(v, 'originalJiandingbaogaobianhao', v.jiandingbaogaobianhao) this.$set(v, 'originalJiandingbaogaobianhao', v.jiandingbaogaobianhao)
}) })
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {
@ -235,7 +235,7 @@ export default {
this.getList() this.getList()
} else { } else {
this.list = [] this.list = []
this.totalCount = 0 this.total = 0
} }
}, },
onRowClick(row) { onRowClick(row) {

6
src/views/dwxx/examine.vue

@ -44,7 +44,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left;" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left;" @pagination="getList" />
</div> </div>
<!--申请处理审核驳回--> <!--申请处理审核驳回-->
<el-dialog title="申请处理" :visible.sync="dialogFormVisible" width="70%" top="10px" @close="closeDialog"> <el-dialog title="申请处理" :visible.sync="dialogFormVisible" width="70%" top="10px" @close="closeDialog">
@ -62,7 +62,7 @@ export default {
data() { data() {
const isGlZz = this.hasRole('GLZZJYY') || this.hasRole('GLZZKZ') const isGlZz = this.hasRole('GLZZJYY') || this.hasRole('GLZZKZ')
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
isGlZz: isGlZz, isGlZz: isGlZz,
listQuery: { listQuery: {
@ -151,7 +151,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getInspectorsList() { getInspectorsList() {

6
src/views/dwxx/list.vue

@ -66,7 +66,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left;" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left;" @pagination="getList" />
<div style="float: right;margin-top:8px;"> <div style="float: right;margin-top:8px;">
<div style="width: 50px;float:left;margin-left: 20px;"> <div style="width: 50px;float:left;margin-left: 20px;">
预警 预警
@ -100,7 +100,7 @@ export default {
const isRQZZJYY = (this.$store.getters.departmentId === 84 && this.hasRole('RQZZJYY')) || this.hasRole('WZHM') const isRQZZJYY = (this.$store.getters.departmentId === 84 && this.hasRole('RQZZJYY')) || this.hasRole('WZHM')
const getJudge = (this.$store.getters.departmentId === 74 && this.hasRole('GLZZJYY')) || isRQZZJYY const getJudge = (this.$store.getters.departmentId === 74 && this.hasRole('GLZZJYY')) || isRQZZJYY
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -191,7 +191,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

6
src/views/dwxx/reviewed.vue

@ -89,7 +89,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div> <div>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left;" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left;" @pagination="getList" />
</div> </div>
<!--申请处理审核驳回--> <!--申请处理审核驳回-->
<el-dialog title="申请处理" :visible.sync="dialogFormVisible" width="70%" top="10px" @close="closeDialog"> <el-dialog title="申请处理" :visible.sync="dialogFormVisible" width="70%" top="10px" @close="closeDialog">
@ -108,7 +108,7 @@ export default {
data() { data() {
const isGlZz = this.hasRole('GLZZJYY') || this.hasRole('GLZZKZ') const isGlZz = this.hasRole('GLZZJYY') || this.hasRole('GLZZKZ')
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
isGlZz: isGlZz, isGlZz: isGlZz,
listQuery: { listQuery: {
@ -198,7 +198,7 @@ export default {
} }
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getInspectorsList() { getInspectorsList() {

6
src/views/finance/djList.vue

@ -102,7 +102,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog :visible.sync="chargeFormVisible" title="收费详细页" @close="closeDialog"> <el-dialog :visible.sync="chargeFormVisible" title="收费详细页" @close="closeDialog">
<el-form ref="charge" :model="charge" class="el-form" label-position="right" label-width="100px"> <el-form ref="charge" :model="charge" class="el-form" label-position="right" label-width="100px">
<el-row :gutter="18"> <el-row :gutter="18">
@ -188,7 +188,7 @@ export default {
components: { Sticky, Pagination, InvoiceCreate }, components: { Sticky, Pagination, InvoiceCreate },
data() { data() {
return { return {
totalCount: 0, total: 0,
chargeFormVisible: false, chargeFormVisible: false,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -249,7 +249,7 @@ export default {
params: paramList params: paramList
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/finance/jfjd_list.vue

@ -124,7 +124,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
<script> <script>
@ -137,7 +137,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
chargeFormVisible: false, chargeFormVisible: false,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -187,7 +187,7 @@ export default {
params: paramList params: paramList
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/finance/jjList.vue

@ -90,7 +90,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog :visible.sync="chargeFormVisible" title="收费详细页" @close="closeDialog"> <el-dialog :visible.sync="chargeFormVisible" title="收费详细页" @close="closeDialog">
<el-form ref="charge" :model="charge" class="el-form" label-position="right" label-width="100px"> <el-form ref="charge" :model="charge" class="el-form" label-position="right" label-width="100px">
<el-row :gutter="18"> <el-row :gutter="18">
@ -176,7 +176,7 @@ export default {
components: { Sticky, Pagination, InvoiceCreate }, components: { Sticky, Pagination, InvoiceCreate },
data() { data() {
return { return {
totalCount: 0, total: 0,
chargeFormVisible: false, chargeFormVisible: false,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -237,7 +237,7 @@ export default {
params: paramList params: paramList
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/finance/web_jfdqr_list.vue

@ -80,7 +80,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog title="驳回当前收费单" :modal-append-to-body="false" :visible.sync="dialogFileStateVisible" width="450px" @close="dialogFileStateVisible = false"> <el-dialog title="驳回当前收费单" :modal-append-to-body="false" :visible.sync="dialogFileStateVisible" width="450px" @close="dialogFileStateVisible = false">
<el-form ref="form" :model="bill" label-width="80px"> <el-form ref="form" :model="bill" label-width="80px">
<el-form-item label="驳回原因"> <el-form-item label="驳回原因">
@ -105,7 +105,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageSize: 20, // pageSize: 20, //
@ -143,7 +143,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/finance/web_sfdsf_list.vue

@ -73,7 +73,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog :visible.sync="chargeFormVisible" title="添加缴费码详情" @close="closeDialog"> <el-dialog :visible.sync="chargeFormVisible" title="添加缴费码详情" @close="closeDialog">
<el-form ref="bjd" :model="bjd" class="el-form" label-position="right" label-width="100px"> <el-form ref="bjd" :model="bjd" class="el-form" label-position="right" label-width="100px">
<el-row :gutter="18"> <el-row :gutter="18">
@ -177,7 +177,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
chargeFormVisible: false, chargeFormVisible: false,
listQuery: { listQuery: {
toCharge: true, toCharge: true,
@ -217,7 +217,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/finance/web_xxsfd_list.vue

@ -79,7 +79,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog title="驳回当前收费单" :modal-append-to-body="false" :visible.sync="dialogFileStateVisible" width="450px" @close="dialogFileStateVisible = false"> <el-dialog title="驳回当前收费单" :modal-append-to-body="false" :visible.sync="dialogFileStateVisible" width="450px" @close="dialogFileStateVisible = false">
<el-form ref="form" :model="bill" label-width="80px"> <el-form ref="form" :model="bill" label-width="80px">
<el-form-item label="驳回原因"> <el-form-item label="驳回原因">
@ -127,7 +127,7 @@ export default {
components: { Sticky, Pagination, Detail }, components: { Sticky, Pagination, Detail },
data() { data() {
return { return {
totalCount: 0, total: 0,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageSize: 20, // pageSize: 20, //
@ -176,7 +176,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/finance/wsf_list.vue

@ -50,7 +50,7 @@
<el-table-column align="center" label="受理日期" prop="shouliriqi" width="100" /> <el-table-column align="center" label="受理日期" prop="shouliriqi" width="100" />
<el-table-column :formatter="formatter.moneyFormat" align="center" label="检验员核定(总)" prop="sumJine" width="140" /> <el-table-column :formatter="formatter.moneyFormat" align="center" label="检验员核定(总)" prop="sumJine" width="140" />
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog :visible.sync="chargeFormVisible" title="添加缴费码详情" @close="closeDialog"> <el-dialog :visible.sync="chargeFormVisible" title="添加缴费码详情" @close="closeDialog">
<el-form ref="bjd" :model="bjd" class="el-form" label-position="right" label-width="100px"> <el-form ref="bjd" :model="bjd" class="el-form" label-position="right" label-width="100px">
<el-row :gutter="18"> <el-row :gutter="18">
@ -119,7 +119,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
chargeFormVisible: false, chargeFormVisible: false,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -148,7 +148,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/finance/ycdw_list.vue

@ -50,7 +50,7 @@
<el-table-column align="center" label="受理日期" prop="shouliriqi" width="100" /> <el-table-column align="center" label="受理日期" prop="shouliriqi" width="100" />
<el-table-column :formatter="formatter.moneyFormat" align="center" label="检验员核定(总)" prop="sumJine" width="140" /> <el-table-column :formatter="formatter.moneyFormat" align="center" label="检验员核定(总)" prop="sumJine" width="140" />
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog :visible.sync="chargeFormVisible" title="添加缴费码详情" @close="closeDialog"> <el-dialog :visible.sync="chargeFormVisible" title="添加缴费码详情" @close="closeDialog">
<el-form ref="bjd" :model="bjd" class="el-form" label-position="right" label-width="100px"> <el-form ref="bjd" :model="bjd" class="el-form" label-position="right" label-width="100px">
<el-row :gutter="18"> <el-row :gutter="18">
@ -119,7 +119,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
chargeFormVisible: false, chargeFormVisible: false,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -148,7 +148,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/finance/ysf_list.vue

@ -50,7 +50,7 @@
<el-table-column align="center" label="受理日期" prop="shouliriqi" width="100" /> <el-table-column align="center" label="受理日期" prop="shouliriqi" width="100" />
<el-table-column :formatter="formatter.moneyFormat" align="center" label="检验员核定(总)" prop="sumJine" width="140" /> <el-table-column :formatter="formatter.moneyFormat" align="center" label="检验员核定(总)" prop="sumJine" width="140" />
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog :visible.sync="chargeFormVisible" title="添加缴费码详情" @close="closeDialog"> <el-dialog :visible.sync="chargeFormVisible" title="添加缴费码详情" @close="closeDialog">
<el-form ref="bjd" :model="bjd" class="el-form" label-position="right" label-width="100px"> <el-form ref="bjd" :model="bjd" class="el-form" label-position="right" label-width="100px">
<el-row :gutter="18"> <el-row :gutter="18">
@ -119,7 +119,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
chargeFormVisible: false, chargeFormVisible: false,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -148,7 +148,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

6
src/views/finance/zzList.vue

@ -90,7 +90,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog :visible.sync="chargeFormVisible" title="收费详细页" @close="closeDialog"> <el-dialog :visible.sync="chargeFormVisible" title="收费详细页" @close="closeDialog">
<el-form ref="charge" :model="charge" class="el-form" label-position="right" label-width="100px"> <el-form ref="charge" :model="charge" class="el-form" label-position="right" label-width="100px">
<el-row :gutter="18"> <el-row :gutter="18">
@ -176,7 +176,7 @@ export default {
components: { Sticky, Pagination, InvoiceCreate }, components: { Sticky, Pagination, InvoiceCreate },
data() { data() {
return { return {
totalCount: 0, total: 0,
chargeFormVisible: false, chargeFormVisible: false,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -238,7 +238,7 @@ export default {
params: paramList params: paramList
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

8
src/views/flow/definition.vue

@ -123,8 +123,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount > 0" v-show="total > 0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageSize" :page-row.sync="listQuery.pageSize"
@pagination="getList" @pagination="getList"
@ -297,7 +297,7 @@ export default {
data() { data() {
return { return {
active: 1, active: 1,
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -369,7 +369,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then((data) => { }).then((data) => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.spanArr = [] this.spanArr = []
this.getSpanArr(this.list) this.getSpanArr(this.list)
}) })

8
src/views/flow/detail.vue

@ -137,8 +137,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount > 0" v-show="total > 0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getList" @pagination="getList"
@ -229,7 +229,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
drawer: false, drawer: false,
dialogVisible: false, dialogVisible: false,
@ -330,7 +330,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then((data) => { }).then((data) => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getDemoList() { getDemoList() {

6
src/views/flow/link.vue

@ -37,7 +37,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<!--打开录入框--> <!--打开录入框-->
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible"> <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible">
<el-form ref="formlink" :model="formlink" class="small-space" label-position="left" label-width="80px" style="width: 500px; margin-left:50px;"> <el-form ref="formlink" :model="formlink" class="small-space" label-position="left" label-width="80px" style="width: 500px; margin-left:50px;">
@ -78,7 +78,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -109,7 +109,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getBglxList() { getBglxList() {

6
src/views/flow/message.vue

@ -39,7 +39,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible"> <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible">
<el-form ref="tempMessage" :model="tempMessage" class="small-space" label-position="left" label-width="120px" style="width: 300px; margin-left:50px;"> <el-form ref="tempMessage" :model="tempMessage" class="small-space" label-position="left" label-width="120px" style="width: 300px; margin-left:50px;">
<el-form-item label="消息标题" prop="title" required> <el-form-item label="消息标题" prop="title" required>
@ -82,7 +82,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -113,7 +113,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
getIndex($index) { getIndex($index) {

8
src/views/flow/restart.vue

@ -125,8 +125,8 @@
</el-table> </el-table>
<pagination <pagination
v-show="totalCount>0" v-show="total>0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageSize" :page-row.sync="listQuery.pageSize"
style="float: left;" style="float: left;"
@ -526,7 +526,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -579,7 +579,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
withdrawApply(item) { withdrawApply(item) {

8
src/views/flow/template.vue

@ -199,8 +199,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount > 0" v-show="total > 0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getList" @pagination="getList"
@ -259,7 +259,7 @@ export default {
components: { Pagination, drawerDialog }, components: { Pagination, drawerDialog },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -350,7 +350,7 @@ export default {
}).then((data) => { }).then((data) => {
this.list = data.list this.list = data.list
console.log(data, '返回参数') console.log(data, '返回参数')
this.totalCount = data.total this.total = data.total
}) })
}, },
getSblbList(val) { getSblbList(val) {

6
src/views/invoice/list.vue

@ -72,7 +72,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="作废原因" prop="zfShuoming" mini-width="200" /> <el-table-column align="center" label="作废原因" prop="zfShuoming" mini-width="200" />
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
<script> <script>
@ -83,7 +83,7 @@ export default {
components: { Sticky, Pagination }, components: { Sticky, Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -112,7 +112,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
onRowClick(row) { onRowClick(row) {

6
src/views/invoice/toBeInvoiced.vue

@ -64,7 +64,7 @@
<el-table-column align="center" label="发票个数" prop="fpCount" /> <el-table-column align="center" label="发票个数" prop="fpCount" />
<el-table-column align="center" label="开票金额" prop="fpJine" /> <el-table-column align="center" label="开票金额" prop="fpJine" />
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<invoice-create :fapiao-info.sync="fapiaoInfo" :fapiao-list-visible.sync="fapiaoListVisible" /> <invoice-create :fapiao-info.sync="fapiaoInfo" :fapiao-list-visible.sync="fapiaoListVisible" />
</div> </div>
</template> </template>
@ -78,7 +78,7 @@ export default {
components: { Sticky, Pagination, InvoiceCreate }, components: { Sticky, Pagination, InvoiceCreate },
data() { data() {
return { return {
totalCount: 0, total: 0,
fapiaoFormVisible: false, fapiaoFormVisible: false,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -129,7 +129,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
onRowClick(row) { onRowClick(row) {

6
src/views/liaison/list.vue

@ -65,7 +65,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left;" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" style="float: left;" @pagination="getList" />
<!--选择文件类型--> <!--选择文件类型-->
<el-dialog title="文件类型" :visible.sync="dialogVisibleType" width="20%"> <el-dialog title="文件类型" :visible.sync="dialogVisibleType" width="20%">
<el-button type="warning" plain @click="setLiaisonTpye(true)"> <el-button type="warning" plain @click="setLiaisonTpye(true)">
@ -218,7 +218,7 @@ export default {
inspector: this.ifClientType ? this.$store.getters.userId : '' inspector: this.ifClientType ? this.$store.getters.userId : ''
}, },
workItemQuerys: [], workItemQuerys: [],
totalCount: 0, total: 0,
manufacturerList: [], manufacturerList: [],
dialogStatus: '', dialogStatus: '',
liaison: {}, liaison: {},
@ -269,7 +269,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
/** /**

6
src/views/monitor/log_error.vue

@ -28,7 +28,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog title="异常详情" :visible.sync="dialog"> <el-dialog title="异常详情" :visible.sync="dialog">
<el-form :model="row"> <el-form :model="row">
@ -82,7 +82,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, pageNum: 1,
@ -107,7 +107,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

8
src/views/monitor/log_info.vue

@ -100,8 +100,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount > 0" v-show="total > 0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getList" @pagination="getList"
@ -159,7 +159,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
row: {}, row: {},
dialogFormVisible: false, dialogFormVisible: false,
@ -194,7 +194,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then((data) => { }).then((data) => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
checkDetail(row) { checkDetail(row) {

6
src/views/monitor/online.vue

@ -54,7 +54,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
@ -65,7 +65,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, pageNum: 1,
@ -85,7 +85,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

6
src/views/monitor/redis.vue

@ -41,7 +41,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
@ -52,7 +52,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, pageNum: 1,
@ -71,7 +71,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

14
src/views/print/1000/grant_create.vue

@ -120,7 +120,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" /> <sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" />
<!-- 高级查询窗口 --> <!-- 高级查询窗口 -->
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
@ -145,13 +145,12 @@ export default {
components: { Pagination, SignInfo }, components: { Pagination, SignInfo },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
hasChild: false, hasChild: false,
hasFinish: true, hasFinish: true,
flowstatus: undefined, flowstatus: undefined,
@ -198,12 +197,11 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
sortChange(column) { sortChange(column) {
this.listQuery.order = column.prop this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.listQuery.sort = column.order.replace('ending', '')
this.getList() this.getList()
}, },
getIndex($index) { getIndex($index) {
@ -327,7 +325,7 @@ export default {
} }
} }
}).then(data => { }).then(data => {
if (data.totalCount !== 0) { if (data.total !== 0) {
this.$message({ this.$message({
type: 'warning', type: 'warning',
message: '该单位名下存在未收费的检验项,请确认后在进行操作!' message: '该单位名下存在未收费的检验项,请确认后在进行操作!'

15
src/views/print/1000/grant_list_yff.vue

@ -80,7 +80,7 @@
<el-table-column align="center" label="检验结论" prop="jianyanjielun" width="80" /> <el-table-column align="center" label="检验结论" prop="jianyanjielun" width="80" />
<el-table-column align="center" label="发放日期" prop="fafangTime" width="120" fixed="right" /> <el-table-column align="center" label="发放日期" prop="fafangTime" width="120" fixed="right" />
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
@ -91,13 +91,12 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
hasChild: false, hasChild: false,
hasFinish: true, hasFinish: true,
flowstatus: undefined, flowstatus: undefined,
@ -143,12 +142,11 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
sortChange(column) { sortChange(column) {
this.listQuery.order = column.prop this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.listQuery.sort = column.order.replace('ending', '')
this.getList() this.getList()
}, },
getIndex($index) { getIndex($index) {
@ -168,8 +166,7 @@ export default {
}, },
clearQuery() { clearQuery() {
this.listQuery = { this.listQuery = {
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
hasChild: false, hasChild: false,
hasFinish: true, hasFinish: true,
flowstatus: undefined, flowstatus: undefined,

70
src/views/print/1000/print_list.vue

@ -42,11 +42,11 @@
</sticky> </sticky>
<el-form> <el-form>
<el-form-item> <el-form-item>
<el-input v-model="listQuery.searchYsjl.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.shiyongdanwei" placeholder="使用单位" clearable style="width: 350px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位" clearable style="width: 350px" @keyup.enter.native="handleFilter" />
<el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter"> <el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter">
查询 查询
</el-button> </el-button>
@ -54,14 +54,14 @@
清空 清空
</el-button> </el-button>
<br> <br>
<el-input v-model="listQuery.searchYsjl.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" />
<el-select v-model="listQuery.searchYsjl.jianyanleibie" placeholder="请选择检验类别" style="width: 165px" filterable clearable @change="handleFilter"> <el-select v-model="listQuery.jianyanleibie" placeholder="请选择检验类别" style="width: 165px" filterable clearable @change="handleFilter">
<el-option v-for="item in jylbList" v-show="item.parentId" :key="item.code" :label="item.name" :value="item.code" /> <el-option v-for="item in jylbList" v-show="item.parentId" :key="item.code" :label="item.name" :value="item.code" />
</el-select> </el-select>
<el-date-picker v-model="listQuery.searchYsjl.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" /> <el-date-picker v-model="listQuery.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" />
<span class="radio-group-label">发放状态</span> <span class="radio-group-label">发放状态</span>
<el-radio-group v-model="listQuery.searchYsjl.fafangState" @change="handleFilter"> <el-radio-group v-model="listQuery.fafangState" @change="handleFilter">
<el-radio :label="0"> <el-radio :label="0">
未发放 未发放
</el-radio> </el-radio>
@ -137,7 +137,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" /> <sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" />
<!-- 高级查询窗口 --> <!-- 高级查询窗口 -->
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
@ -153,20 +153,16 @@ export default {
components: { Sticky, Pagination, SignInfo }, components: { Sticky, Pagination, SignInfo },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
hasChild: false, hasChild: false,
hasFinish: true,
flowstatus: undefined, flowstatus: undefined,
searchYsjl: {
shebeizhongleidaima: '1000', shebeizhongleidaima: '1000',
fafangState: 0 fafangState: 0
}
}, },
flowUserList: [], flowUserList: [],
dialogFormVisible: false, dialogFormVisible: false,
@ -199,17 +195,16 @@ export default {
}, },
getList() { getList() {
this.api({ this.api({
url: '/ysjl/getList', url: '/ysjl/getListPrint',
method: 'get', method: 'get',
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
sortChange(column) { sortChange(column) {
this.listQuery.order = column.prop this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.listQuery.sort = column.order.replace('ending', '')
this.getList() this.getList()
}, },
getIndex($index) { getIndex($index) {
@ -260,7 +255,6 @@ export default {
}) })
}, },
batchToPrint(type) { batchToPrint(type) {
const ysjl = this.multipleSelection[0]
if (this.multipleSelection.length === 0) { if (this.multipleSelection.length === 0) {
this.$message('请选择单条或者多条设备进行打印。') this.$message('请选择单条或者多条设备进行打印。')
return false return false
@ -280,27 +274,6 @@ export default {
return false return false
} }
} }
this.api({ //
url: '/ysjl/getListBanjie',
method: 'get',
params: {
pageNum: 1,
pageRow: 20,
searchYsjl: {
baogaobianhao: '(' + new Date().getFullYear() + ')',
shiyongdanwei: ysjl.shiyongdanwei,
jfState: false,
shebeizhongleidaima: '1000'
}
}
}).then(data => {
if (data.totalCount !== 0) {
this.$message({
type: 'warning',
message: '该单位名下存在未收费的检验项,请确认后在进行操作!'
})
return false
} else {
this.preview({ this.preview({
url: '/print/createXml', url: '/print/createXml',
method: 'post', method: 'post',
@ -329,13 +302,16 @@ export default {
}) })
} }
}) })
}
})
}, },
clearQuery() { clearQuery() {
this.$set(this.listQuery, 'searchYsjl', { this.$set(this, 'listQuery', {
pageNum: 1, //
pageRow: 20, //
orderBy: 'id desc', //
hasChild: false,
flowstatus: undefined,
shebeizhongleidaima: '1000', shebeizhongleidaima: '1000',
printState: 0 fafangState: 0
}) })
this.getList() this.getList()
}, },

45
src/views/print/2000/print_list.vue

@ -42,11 +42,11 @@
</sticky> </sticky>
<el-form> <el-form>
<el-form-item> <el-form-item>
<el-input v-model="listQuery.searchYsjl.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.shiyongdanwei" placeholder="使用单位" clearable style="width: 350px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位" clearable style="width: 350px" @keyup.enter.native="handleFilter" />
<el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter"> <el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter">
查询 查询
</el-button> </el-button>
@ -54,11 +54,11 @@
清空 清空
</el-button> </el-button>
<br> <br>
<el-input v-model="listQuery.searchYsjl.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" />
<el-date-picker v-model="listQuery.searchYsjl.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" /> <el-date-picker v-model="listQuery.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" />
<span class="radio-group-label">发放状态</span> <span class="radio-group-label">发放状态</span>
<el-radio-group v-model="listQuery.searchYsjl.fafangState" @change="handleFilter"> <el-radio-group v-model="listQuery.fafangState" @change="handleFilter">
<el-radio :label="0"> <el-radio :label="0">
未发放 未发放
</el-radio> </el-radio>
@ -134,7 +134,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" /> <sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" />
<!-- 高级查询窗口 --> <!-- 高级查询窗口 -->
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
@ -150,21 +150,16 @@ export default {
components: { Sticky, Pagination, SignInfo }, components: { Sticky, Pagination, SignInfo },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
hasChild: false, hasChild: false,
hasFinish: true,
flowstatus: undefined, flowstatus: undefined,
searchYsjl: {
shebeizhongleidaima: '2000', shebeizhongleidaima: '2000',
jianyanleibie: 'DJ',
fafangState: 0 fafangState: 0
}
}, },
flowUserList: [], flowUserList: [],
dialogFormVisible: false, dialogFormVisible: false,
@ -197,17 +192,16 @@ export default {
}, },
getList() { getList() {
this.api({ this.api({
url: '/ysjl/getList', url: '/ysjl/getListPrint',
method: 'get', method: 'get',
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
sortChange(column) { sortChange(column) {
this.listQuery.order = column.prop this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.listQuery.sort = column.order.replace('ending', '')
this.getList() this.getList()
}, },
getIndex($index) { getIndex($index) {
@ -315,9 +309,14 @@ export default {
}) })
}, },
clearQuery() { clearQuery() {
this.$set(this.listQuery, 'searchYsjl', { this.$set(this, 'listQuery', {
pageNum: 1, //
pageRow: 20, //
orderBy: 'id desc', //
hasChild: false,
flowstatus: undefined,
shebeizhongleidaima: '2000', shebeizhongleidaima: '2000',
printState: 0 fafangState: 0
}) })
this.getList() this.getList()
}, },

43
src/views/print/3000/print_list.vue

@ -45,11 +45,11 @@
</sticky> </sticky>
<el-form ref="testrefprint"> <el-form ref="testrefprint">
<el-form-item> <el-form-item>
<el-input v-model="listQuery.searchYsjl.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.shiyongdanwei" placeholder="使用单位" clearable style="width: 250px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位" clearable style="width: 250px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.weibaodanwei" placeholder="维保单位" clearable style="width: 250px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.weibaodanwei" placeholder="维保单位" clearable style="width: 250px" @keyup.enter.native="handleFilter" />
<el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter"> <el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter">
查询 查询
</el-button> </el-button>
@ -57,15 +57,15 @@
清空 清空
</el-button> </el-button>
<br> <br>
<el-input v-model="listQuery.searchYsjl.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" />
<el-select v-model="listQuery.searchYsjl.jianyanleibie" placeholder="请选择检验类别" style="width: 165px" filterable clearable @change="handleFilter"> <el-select v-model="listQuery.jianyanleibie" placeholder="请选择检验类别" style="width: 165px" filterable clearable @change="handleFilter">
<el-option v-for="item in jylbList" :key="item.code" :label="item.name" :value="item.code" /> <el-option v-for="item in jylbList" :key="item.code" :label="item.name" :value="item.code" />
</el-select> </el-select>
<el-date-picker v-model="listQuery.searchYsjl.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" /> <el-date-picker v-model="listQuery.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" />
<span class="radio-group-label">打印状态</span> <span class="radio-group-label">打印状态</span>
<el-radio-group v-model="listQuery.searchYsjl.printState" @change="handleFilter"> <el-radio-group v-model="listQuery.printState" @change="handleFilter">
<el-radio :label="0"> <el-radio :label="0">
未打印 未打印
</el-radio> </el-radio>
@ -125,7 +125,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="getList" /> <sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="getList" />
<!-- 高级查询窗口 --> <!-- 高级查询窗口 -->
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
@ -143,18 +143,15 @@ export default {
components: { Sticky, Pagination, SignInfo }, components: { Sticky, Pagination, SignInfo },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
fafangListTable: [], fafangListTable: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
searchYsjl: {
shebeizhongleidaima: '3000', shebeizhongleidaima: '3000',
printState: 0 printState: 0
}
}, },
flowUserList: [], flowUserList: [],
dialogFormVisible: false, dialogFormVisible: false,
@ -206,17 +203,16 @@ export default {
}, },
getList() { getList() {
this.api({ this.api({
url: '/report/getList', url: '/ysjl/getListPrint',
method: 'get', method: 'get',
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
sortChange(column) { sortChange(column) {
this.listQuery.order = column.prop this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.listQuery.sort = column.order.replace('ending', '')
this.getList() this.getList()
}, },
getIndex($index) { getIndex($index) {
@ -322,7 +318,10 @@ export default {
}) })
}, },
clearQuery() { clearQuery() {
this.$set(this.listQuery, 'searchYsjl', { this.$set(this, 'listQuery', {
pageNum: 1, //
pageRow: 20, //
orderBy: 'id desc', //
shebeizhongleidaima: '3000', shebeizhongleidaima: '3000',
printState: 0 printState: 0
}) })

41
src/views/print/4000/print_list.vue

@ -60,11 +60,11 @@
</sticky> </sticky>
<el-form> <el-form>
<el-form-item> <el-form-item>
<el-input v-model="listQuery.searchYsjl.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.shiyongdanwei" placeholder="使用单位" clearable style="width: 350px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位" clearable style="width: 350px" @keyup.enter.native="handleFilter" />
<el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter"> <el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter">
查询 查询
</el-button> </el-button>
@ -72,14 +72,14 @@
清空 清空
</el-button> </el-button>
<br> <br>
<el-input v-model="listQuery.searchYsjl.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" />
<el-select v-model="listQuery.searchYsjl.jianyanleibie" placeholder="请选择检验类别" style="width: 165px" filterable clearable @change="handleFilter"> <el-select v-model="listQuery.jianyanleibie" placeholder="请选择检验类别" style="width: 165px" filterable clearable @change="handleFilter">
<el-option v-for="item in jylbList" v-show="item.parentId" :key="item.code" :label="item.name" :value="item.name" /> <el-option v-for="item in jylbList" v-show="item.parentId" :key="item.code" :label="item.name" :value="item.name" />
</el-select> </el-select>
<el-date-picker v-model="listQuery.searchYsjl.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" /> <el-date-picker v-model="listQuery.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" />
<span class="radio-group-label">打印状态</span> <span class="radio-group-label">打印状态</span>
<el-radio-group v-model="listQuery.searchYsjl.printState" @change="handleFilter"> <el-radio-group v-model="listQuery.printState" @change="handleFilter">
<el-radio :label="0"> <el-radio :label="0">
未打印 未打印
</el-radio> </el-radio>
@ -140,7 +140,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" /> <sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" />
<!-- 高级查询窗口 --> <!-- 高级查询窗口 -->
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
@ -158,17 +158,14 @@ export default {
components: { Sticky, Pagination, SignInfo }, components: { Sticky, Pagination, SignInfo },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
searchYsjl: {
shebeizhongleidaima: '4000', shebeizhongleidaima: '4000',
printState: 0 printState: 0
}
}, },
flowUserList: [], flowUserList: [],
dialogFormVisible: false, dialogFormVisible: false,
@ -213,17 +210,16 @@ export default {
}, },
getList() { getList() {
this.api({ this.api({
url: '/report/getList', url: '/ysjl/getListPrint',
method: 'get', method: 'get',
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
sortChange(column) { sortChange(column) {
this.listQuery.order = column.prop this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.listQuery.sort = column.order.replace('ending', '')
this.getList() this.getList()
}, },
getIndex($index) { getIndex($index) {
@ -313,7 +309,10 @@ export default {
}) })
}, },
clearQuery() { clearQuery() {
this.$set(this.listQuery, 'searchYsjl', { this.$set(this, 'listQuery', {
pageNum: 1, //
pageRow: 20, //
orderBy: 'id desc', //
shebeizhongleidaima: '4000', shebeizhongleidaima: '4000',
printState: 0 printState: 0
}) })

41
src/views/print/5000/print_list.vue

@ -42,11 +42,11 @@
</sticky> </sticky>
<el-form> <el-form>
<el-form-item> <el-form-item>
<el-input v-model="listQuery.searchYsjl.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.serialNumber" placeholder="(全部)报检单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.sfdSerialNumber" placeholder="(全部)收费单编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.baogaobianhao" placeholder="报告编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.shiyongdanwei" placeholder="使用单位" clearable style="width: 350px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位" clearable style="width: 350px" @keyup.enter.native="handleFilter" />
<el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter"> <el-button type="primary" size="small" icon="el-icon-search" @click="handleFilter">
查询 查询
</el-button> </el-button>
@ -54,14 +54,14 @@
清空 清空
</el-button> </el-button>
<br> <br>
<el-input v-model="listQuery.searchYsjl.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdengjibianhao" placeholder="请输入使用登记证编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.chanpinbianhao" placeholder="请输入产品编号" clearable style="width: 185px" @keyup.enter.native="handleFilter" />
<el-select v-model="listQuery.searchYsjl.jianyanleibie" placeholder="请选择检验类别" style="width: 165px" filterable clearable @change="handleFilter"> <el-select v-model="listQuery.jianyanleibie" placeholder="请选择检验类别" style="width: 165px" filterable clearable @change="handleFilter">
<el-option v-for="item in jylbList" v-show="item.parentId" :key="item.code" :label="item.name" :value="item.code" /> <el-option v-for="item in jylbList" v-show="item.parentId" :key="item.code" :label="item.name" :value="item.code" />
</el-select> </el-select>
<el-date-picker v-model="listQuery.searchYsjl.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" /> <el-date-picker v-model="listQuery.xiacijianyanriqi" type="date" value-format="yyyy-MM-dd" placeholder="请选择下次检验日期" style="width:145px" />
<span class="radio-group-label">打印状态</span> <span class="radio-group-label">打印状态</span>
<el-radio-group v-model="listQuery.searchYsjl.printState" @change="handleFilter"> <el-radio-group v-model="listQuery.printState" @change="handleFilter">
<el-radio :label="0"> <el-radio :label="0">
未打印 未打印
</el-radio> </el-radio>
@ -120,7 +120,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" /> <sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" />
<!-- 高级查询窗口 --> <!-- 高级查询窗口 -->
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
@ -137,17 +137,14 @@ export default {
components: { Sticky, Pagination, SignInfo }, components: { Sticky, Pagination, SignInfo },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
searchYsjl: {
shebeizhongleidaima: '5000', shebeizhongleidaima: '5000',
printState: 0 printState: 0
}
}, },
flowUserList: [], flowUserList: [],
dialogFormVisible: false, dialogFormVisible: false,
@ -186,17 +183,16 @@ export default {
}, },
getList() { getList() {
this.api({ this.api({
url: '/report/getList', url: '/report/getListPrint',
method: 'get', method: 'get',
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
sortChange(column) { sortChange(column) {
this.listQuery.order = column.prop this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.listQuery.sort = column.order.replace('ending', '')
this.getList() this.getList()
}, },
getIndex($index) { getIndex($index) {
@ -302,7 +298,10 @@ export default {
}) })
}, },
clearQuery() { clearQuery() {
this.$set(this.listQuery, 'searchYsjl', { this.$set(this, 'listQuery', {
pageNum: 1, //
pageRow: 20, //
orderBy: 'id desc', //
shebeizhongleidaima: '5000', shebeizhongleidaima: '5000',
printState: 0 printState: 0
}) })

25
src/views/print/8000/print_list.vue

@ -127,7 +127,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" /> <sign-info v-if="fafangVisible" :fafanglisttable="multipleSelection" @closeFafang="fafangVisible = false" @refulshList="handleFilter" />
<!-- 高级查询窗口 --> <!-- 高级查询窗口 -->
<iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" /> <iframe :src="printbutton" frameborder="0" scrolling="no" height="0px" aria-disabled="true" />
@ -144,13 +144,12 @@ export default {
components: { Sticky, Pagination, SignInfo }, components: { Sticky, Pagination, SignInfo },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
hasChild: false, hasChild: false,
hasFinish: true, hasFinish: true,
flowstatus: undefined, flowstatus: undefined,
@ -188,17 +187,16 @@ export default {
}, },
getList() { getList() {
this.api({ this.api({
url: '/ysjl/getList', url: '/ysjl/getListPrint',
method: 'get', method: 'get',
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
sortChange(column) { sortChange(column) {
this.listQuery.order = column.prop this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.listQuery.sort = column.order.replace('ending', '')
this.getList() this.getList()
}, },
getIndex($index) { getIndex($index) {
@ -298,13 +296,14 @@ export default {
}, },
clearQuery() { clearQuery() {
this.listQuery = { this.listQuery = {
shebeizhongleidaima: '8000', pageNum: 1, //
printState: 0, pageRow: 20, //
order: 'id', // orderBy: 'id desc', //
sort: 'desc', //
hasChild: false, hasChild: false,
hasFinish: true, hasFinish: true,
flowstatus: undefined flowstatus: undefined,
shebeizhongleidaima: '8000',
fafangState: 0
} }
this.getList() this.getList()
}, },

9
src/views/print/grant/grant_list_chengya.vue

@ -66,7 +66,7 @@
<el-table-column align="center" :formatter="formatter.getChineseName" label="检验员" prop="jianyanrenyuan" /> <el-table-column align="center" :formatter="formatter.getChineseName" label="检验员" prop="jianyanrenyuan" />
<el-table-column align="center" label="发放日期" prop="createTime" /> <el-table-column align="center" label="发放日期" prop="createTime" />
</el-table> </el-table>
<pagination v-show="totalCount > 0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total > 0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
</div> </div>
</template> </template>
@ -83,10 +83,9 @@ export default {
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageSize: 20, // pageSize: 20, //
orderBy: 'create_time desc', // orderBy: 'create_time desc' //
sort: 'desc' //
}, },
totalCount: 0, total: 0,
list: [], list: [],
flowUserList: [], flowUserList: [],
dialogFormVisible: false, dialogFormVisible: false,
@ -133,7 +132,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getSbzlList() { getSbzlList() {

9
src/views/print/grant/grant_list_jidian.vue

@ -55,7 +55,7 @@
<el-table-column align="center" label="发票号码" prop="lingqurenDianhua" /> <el-table-column align="center" label="发票号码" prop="lingqurenDianhua" />
<el-table-column align="center" label="发放日期" prop="createTime" /> <el-table-column align="center" label="发放日期" prop="createTime" />
</el-table> </el-table>
<pagination v-show="totalCount > 0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total > 0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
</div> </div>
</template> </template>
@ -72,10 +72,9 @@ export default {
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageSize: 20, // pageSize: 20, //
orderBy: 'create_time desc', // orderBy: 'create_time desc' //
sort: 'desc' //
}, },
totalCount: 0, total: 0,
list: [], list: [],
flowUserList: [], flowUserList: [],
dialogFormVisible: false, dialogFormVisible: false,
@ -124,7 +123,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.sumTaishu = this.getSummaries('taishu', this.list) this.sumTaishu = this.getSummaries('taishu', this.list)
this.sumJine = this.getSummaries('hejijine', this.list) this.sumJine = this.getSummaries('hejijine', this.list)
}) })

9
src/views/print/grant_list.vue

@ -56,7 +56,7 @@
<el-table-column align="center" label="台数" prop="taishu" /> <el-table-column align="center" label="台数" prop="taishu" />
<el-table-column align="center" label="交费金额(元)" prop="hejijine" /> <el-table-column align="center" label="交费金额(元)" prop="hejijine" />
</el-table> </el-table>
<pagination v-show="totalCount > 0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total > 0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
</div> </div>
</template> </template>
@ -73,10 +73,9 @@ export default {
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageSize: 20, // pageSize: 20, //
orderBy: 'create_time desc', // orderBy: 'create_time desc' //
sort: 'desc' //
}, },
totalCount: 0, total: 0,
list: [], list: [],
flowUserList: [], flowUserList: [],
dialogFormVisible: false, dialogFormVisible: false,
@ -124,7 +123,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
this.sumTaishu = this.getSummaries('taishu', this.list) this.sumTaishu = this.getSummaries('taishu', this.list)
this.sumJine = this.getSummaries('hejijine', this.list) this.sumJine = this.getSummaries('hejijine', this.list)
}) })

6
src/views/search/list.vue

@ -132,7 +132,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</div> </div>
</template> </template>
@ -144,7 +144,7 @@ export default {
data() { data() {
return { return {
list: [], list: [],
totalCount: 0, total: 0,
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
pageRow: 20, // pageRow: 20, //
@ -185,7 +185,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getSbzlList() { getSbzlList() {

6
src/views/statistics/filing.vue

@ -37,7 +37,7 @@
<el-pagination <el-pagination
:current-page="listQuery.pageNum" :current-page="listQuery.pageNum"
:page-size="listQuery.pageRow" :page-size="listQuery.pageRow"
:total="totalCount" :total="total"
:page-sizes="[10, 20, 40, 100]" :page-sizes="[10, 20, 40, 100]"
background background
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
@ -57,7 +57,7 @@ export default {
data() { data() {
return { return {
exportData: [], // exportData: [], //
totalCount: 1, // -- total: 1, // --
listQuery: { listQuery: {
pageNum: 1, pageNum: 1,
pageRow: 10 pageRow: 10
@ -75,7 +75,7 @@ export default {
handleFilter() { handleFilter() {
getStaticsList(this.listQuery).then((data) => { getStaticsList(this.listQuery).then((data) => {
this.exportData = data.filingReports this.exportData = data.filingReports
this.totalCount = data.totalCount this.total = data.total
}) })
}, },
clearQuery() { clearQuery() {

10
src/views/statistics/gldj.vue

@ -104,8 +104,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination <pagination
v-show="totalCount>0" v-show="total>0"
:total="totalCount" :total="total"
:page-num.sync="listQuery.pageNum" :page-num.sync="listQuery.pageNum"
:page-row.sync="listQuery.pageRow" :page-row.sync="listQuery.pageRow"
@pagination="getList" @pagination="getList"
@ -121,7 +121,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -167,7 +167,7 @@ export default {
hasChild: false, hasChild: false,
hasFinish: true hasFinish: true
}, },
totalCountExport: 0, totalExport: 0,
outFile: '', // el outFile: '', // el
jianyanrenyuanmingcheng: '', jianyanrenyuanmingcheng: '',
departmentName: '', departmentName: '',
@ -196,7 +196,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.totalCount this.total = data.total
this.common.switchInspection(this.list) this.common.switchInspection(this.list)
}) })
}, },

12
src/views/task/list.vue

@ -110,7 +110,7 @@
<el-table-column :formatter="formatter.getChineseName" align="center" label="认领人" prop="renlingren" width="140" /> <el-table-column :formatter="formatter.getChineseName" align="center" label="认领人" prop="renlingren" width="140" />
</template> </template>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog :title="textMap[category]" :visible.sync="dialogFormVisible" @close="closeDialog"> <el-dialog :title="textMap[category]" :visible.sync="dialogFormVisible" @close="closeDialog">
<el-row style="margin-bottom: 15px;"> <el-row style="margin-bottom: 15px;">
@ -207,7 +207,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCountCopy" :page-num.sync="listQueryCopy.pageNum" :page-row.sync="listQueryCopy.pageRow" @pagination="getListCopy" /> <pagination v-show="total>0" :total="totalCopy" :page-num.sync="listQueryCopy.pageNum" :page-row.sync="listQueryCopy.pageRow" @pagination="getListCopy" />
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
@ -231,9 +231,9 @@ export default {
}, },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
totalCountCopy: 0, totalCopy: 0,
listCopy: [], listCopy: [],
sbzlList: [], sbzlList: [],
sblbList: [], sblbList: [],
@ -311,7 +311,7 @@ export default {
getList() { getList() {
getOwnList(this.listQuery).then(data => { getOwnList(this.listQuery).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
getListCopy() { getListCopy() {
@ -325,7 +325,7 @@ export default {
params: this.listQueryCopy params: this.listQueryCopy
}).then(data => { }).then(data => {
this.listCopy = data.list this.listCopy = data.list
this.totalCountCopy = data.totalCount this.totalCopy = data.total
}) })
}, },
onDialogRowClick(row) { onDialogRowClick(row) {

6
src/views/tool/quartz.vue

@ -71,7 +71,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<!--Form表单--> <!--Form表单-->
<el-dialog :visible.sync="dialog" :title="isAdd ? '新增任务' : '编辑任务'" append-to-body width="600px" @close="closeDialog"> <el-dialog :visible.sync="dialog" :title="isAdd ? '新增任务' : '编辑任务'" append-to-body width="600px" @close="closeDialog">
<el-form ref="quartzForm" :model="quartzForm" size="small" label-width="100px"> <el-form ref="quartzForm" :model="quartzForm" size="small" label-width="100px">
@ -123,7 +123,7 @@ export default {
components: { Pagination, QuartzLog }, components: { Pagination, QuartzLog },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, pageNum: 1,
@ -146,7 +146,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

6
src/views/tool/quartz_log.vue

@ -41,7 +41,7 @@
{{ errorInfo }} {{ errorInfo }}
</span> </span>
</el-dialog> </el-dialog>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
</el-dialog> </el-dialog>
</template> </template>
@ -51,7 +51,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, total: 0,
list: [], list: [],
listQuery: { listQuery: {
pageNum: 1, pageNum: 1,
@ -76,7 +76,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
info(errorInfo) { info(errorInfo) {

4
src/views/user/department.vue

@ -43,7 +43,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" @close="closeDialog"> <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" @close="closeDialog">
<el-form ref="tempDepartment" :model="tempDepartment" class="small-space" label-width="80px"> <el-form ref="tempDepartment" :model="tempDepartment" class="small-space" label-width="80px">
<el-form-item label="部门名称" required> <el-form-item label="部门名称" required>
@ -87,7 +87,7 @@ export default {
data() { data() {
return { return {
list: [], list: [],
totalCount: 0, total: 0,
dialogStatus: 'create', dialogStatus: 'create',
dialogFormVisible: false, dialogFormVisible: false,
listQuery: { listQuery: {

4
src/views/user/user.vue

@ -268,7 +268,7 @@ export default {
], ],
treeData: [], treeData: [],
filterText: '', filterText: '',
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, pageNum: 1,
@ -349,7 +349,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then((data) => { }).then((data) => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleNodeClick(data) { handleNodeClick(data) {

6
src/views/user/version.vue

@ -31,7 +31,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageSize" @pagination="getList" />
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible"> <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible">
<el-alert title="内容如果为多条,需要以中文符号句号(。)结尾。例如:优化了A。优化了B。" type="info" close-text="知道了" /> <el-alert title="内容如果为多条,需要以中文符号句号(。)结尾。例如:优化了A。优化了B。" type="info" close-text="知道了" />
<el-form ref="tempVersion" :model="tempVersion" class="small-space" label-position="left" label-width="150px" style="width: 300px; margin-left:50px; margin-top: 10px;"> <el-form ref="tempVersion" :model="tempVersion" class="small-space" label-position="left" label-width="150px" style="width: 300px; margin-left:50px; margin-top: 10px;">
@ -79,7 +79,7 @@ export default {
components: { Pagination }, components: { Pagination },
data() { data() {
return { return {
totalCount: 0, // -- total: 0, // --
list: [], // list: [], //
listQuery: { listQuery: {
pageNum: 1, // pageNum: 1, //
@ -106,7 +106,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
handleFilter() { handleFilter() {

15
src/views/ysjl/2000/sfqk.vue

@ -12,15 +12,6 @@
查询 查询
</el-button> </el-button>
<br> <br>
<span class="radio-group-label">查看类型</span>
<el-radio-group v-model="listQuery.printStatus" @change="handleFilter">
<el-radio :label="!isPrint">
未打印
</el-radio>
<el-radio :label="isPrint">
已打印
</el-radio>
</el-radio-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -61,7 +52,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" /> <pagination v-show="total>0" :total="total" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" @pagination="getList" />
<el-dialog title="收费单详情列表" width="70%" :visible.sync="sfdListVisible" @close="sfdListVisible = false"> <el-dialog title="收费单详情列表" width="70%" :visible.sync="sfdListVisible" @close="sfdListVisible = false">
<el-form> <el-form>
<el-form-item> <el-form-item>
@ -153,7 +144,7 @@ export default {
printStatus: false printStatus: false
}, },
tableDetailsList: [], // tableDetailsList: [], //
totalCount: 0, total: 0,
isPrint: true, isPrint: true,
sfd: {}, sfd: {},
sfdListVisible: false, sfdListVisible: false,
@ -302,7 +293,7 @@ export default {
params: this.listQuery params: this.listQuery
}).then(data => { }).then(data => {
this.list = data.list this.list = data.list
this.totalCount = data.total this.total = data.total
}) })
}, },
/** /**

368
src/views/ysjl/components/gascylinder_db_list.vue

@ -1,368 +0,0 @@
<template>
<div class="app-container">
<div class="filter-container">
<sticky style="margin-bottom: 10px;">
<div class="sub-navbar">
<el-button type="danger" icon="el-icon-delete" @click="delYsjl">
删除记录
</el-button>
</div>
</sticky>
<el-form>
<el-form-item>
<el-input v-model="listQuery.searchYsjl.jilubianhao" placeholder="记录编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.shigongdanwei" placeholder="安装单位" clearable style="width: 400px" @keyup.enter.native="handleFilter" />
<el-button size="small" type="primary" icon="el-icon-search" @click="handleFilter">
查询
</el-button>
<el-button size="small" type="info" icon="el-icon-close" @click="clearQuery">
清空条件
</el-button>
<br>
<el-input v-model="listQuery.searchYsjl.zhizaodanwei" placeholder="制造单位" clearable style="width: 400px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.searchYsjl.chanpinbianhao" placeholder="出厂编号" clearable style="width: 240px" @keyup.enter.native="handleFilter" />
<span class="radio-group-label">编辑类型</span>
<el-radio-group v-model="listQuery.searchYsjl.createBy" @change="handleFilter">
<el-radio :label="$store.getters.userId">
只看创建人
</el-radio>
<el-radio :label="undefined">
全部
</el-radio>
</el-radio-group>&nbsp;&nbsp;&nbsp;&nbsp;
</el-form-item>
</el-form>
</div>
<el-table
ref="list"
v-adaptive="{bottomOffset: 50}"
height="0"
:data="list"
:default-sort="{prop:'jilubianhao', order:'descending'}"
:row-class-name="tableRowClassName"
element-loading-text="拼命加载中"
border
fit
highlight-current-row
stripe
width="100%"
size="small"
@row-click="onRowClick"
@selection-change="handleSelectionChange"
@sort-change="sortChange"
>
<el-table-column type="selection" width="40" />
<el-table-column fixed="left" align="center" label="序号" width="60">
<template slot-scope="scope">
<span v-text="getIndex(scope.$index)" />
</template>
</el-table-column>
<el-table-column align="center" label="记录编号" prop="jilubianhao" width="180" sortable="custom" />
<el-table-column :formatter="formatter.formatterCategory" align="center" label="检验类别" prop="neibuleibie" width="100" />
<el-table-column align="center" label="安装单位" prop="shigongdanwei" width="240" />
<el-table-column align="center" label="产品编号/出厂编号" prop="chanpinbianhao" width="220" />
<el-table-column align="center" label="制造单位" prop="zhizaodanwei" width="240" />
<el-table-column :formatter="formatter.getChineseName" align="center" label="检验人员" prop="jianyanrenyuan" width="140" />
<el-table-column align="center" label="设备代码" prop="shebeidaima" width="140" />
<el-table-column fixed="right" align="center" label="操作" prop="" width="200">
<template slot-scope="scope">
<el-button type="primary" size="mini" circle icon="el-icon-edit" title="编辑" @click="editYsjl(scope.$index)" />
<el-button type="success" size="mini" circle icon="el-icon-view" title="预览" @click="common.viewYsjl(scope.row.id, 'JYBG')" />
<el-button size="mini" type="info" icon="el-icon-message" title="查看驳回意见" circle @click="viewAllRejection(list[scope.$index].id)" />
</template>
</el-table-column>
</el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left;" @pagination="getList" />
<div style="float: right;margin-top:8px;">
<div style="width: 80px;float:left;margin-left: 50px;">
重启流程
</div>
<div class="identification" style="background-color:red;" />
<div style="width: 50px;float:left;margin-left: 20px;">
驳回
</div>
<div class="identification" style="background-color: orange;" />
<div style="width: 50px;float:left;margin-left: 20px;">
复制
</div>
<div class="identification" style="background-color:#690cff;" />
</div>
<!-- 驳回意见 -->
<el-dialog :visible.sync="dialogBohuiyijianVisible" title="驳回意见" width="50%">
<el-table :data="infoNotes">
<el-table-column align="center" label="驳回人" prop="infoSend" />
<el-table-column align="center" label="驳回意见" prop="infoNotes" />
<el-table-column align="center" label="驳回时间" prop="createTime" />
</el-table>
</el-dialog>
</div>
</template>
<script>
import Sticky from '@/components/Sticky'
import Pagination from '@/components/Pagination'
import { getNeedRecordList } from '@/api/ysjl'
import Utils from '@/utils/contact'
export default {
components: { Sticky, Pagination },
data() {
return {
totalCount: 0,
list: [],
listQuery: {
pageNum: 1, //
pageRow: 20, //
order: undefined, //
sort: undefined, //
searchYsjl: {
createBy: this.$store.getters.userId
},
hasChild: true
},
multipleSelection: [],
ysjlId: '',
sbzlList: [],
sblbList: [],
sbpzList: [],
modelList: [],
sbzldm: '',
sblbdm: '',
sbpzdm: '',
modelId: '',
isQm: true,
infoNotes: '',
dialogBohuiyijianVisible: false
}
},
created() {
this.getList()
},
mounted() {
const that = this
this.common.$on('ysjl-list', function() {
that.handleFilter()
})
},
methods: {
getList() {
this.listQuery.searchYsjl.cjState = 'ysjl'
getNeedRecordList(this.listQuery).then(data => {
this.list = data.list
this.totalCount = data.totalCount
this.common.switchInspection(this.list)
})
},
sortChange(column) {
this.listQuery.order = column.prop
this.listQuery.sort = column.order.replace('ending', '')
this.getList()
},
getIndex($index) {
//
return (this.listQuery.pageNum - 1) * this.listQuery.pageRow + $index + 1
},
handleFilter() {
//
this.listQuery.pageNum = 1
this.getList()
},
onRowClick(row) {
this.$refs.list.toggleRowSelection(row)
},
handleSelectionChange: function(val) {
this.multipleSelection = val
},
delYsjl() {
for (let i = 0; i < this.multipleSelection.length; i++) {
if (this.multipleSelection[i].bglx !== 1) {
this.$message({
message: '请选择主原始记录进行删除!',
type: 'warning'
})
return false
}
}
this.ysjlId = ''
let oldRwIds = '' // 16
let newRwIds = '' // 18
for (let i = 0; i < this.multipleSelection.length; i++) {
this.ysjlId = this.multipleSelection[i].id + ',' + this.ysjlId
// 16
if (this.multipleSelection[i].shebeizhongleidaima === '1000') {
if (this.multipleSelection[i].source === 'pad') {
oldRwIds += this.multipleSelection[i].renwuId + ','
} else {
newRwIds += this.multipleSelection[i].renwuId + ','
}
}
if (i + 1 === this.multipleSelection.length) {
this.ysjlId = this.ysjlId.substring(0, this.ysjlId.length - 1)
}
}
//
this.api({
url: '/ysjl/judgeState',
method: 'get',
params: {
ysjlIds: this.ysjlId,
bglx: '2',
isDel: true
}
}).then(data => {
if (data === 0) {
this.$confirm('已有无损原始记录生成报告, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.del(this.ysjlId, oldRwIds, newRwIds)
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
})
return false
})
} else {
this.$confirm('确定删除当前选中记录?', '提示', {
confirmButtonText: '确定',
type: 'warning'
}).then(() => {
this.del(this.ysjlId, oldRwIds, newRwIds)
}).catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
})
return false
})
}
})
},
del(ids, oldRwIds, newRwIds) {
this.api({
url: '/ysjl',
method: 'delete',
params: {
ids: ids
}
}).then(() => {
this.$message({
message: '删除成功',
type: 'success',
duration: 1000,
onClose: () => {
this.getList()
Utils.$emit('task-list')
}
})
})
},
editYsjl($index) {
const ysjl = this.list[$index]
this.api({
url: '/template/getById',
method: 'get',
params: {
id: ysjl.modelId
}
}).then(data => {
const queryParam = this.common.buildEditYsjlRouterParam(ysjl)
if (ysjl.bglx === 1) {
this.$router.push({ path: data.tempPath + '/' + ysjl.id, query: queryParam })
} else {
this.$router.push({ path: data.tempPath, query: queryParam })
}
})
},
clearQuery() {
this.$set(this.listQuery, 'searchYsjl', {
bglx: 1,
createBy: this.$store.getters.userId
})
this.getList()
},
tableRowClassName({ row, rowIndex }) {
if (row.retreatState === 1) {
return 'reject-row'
} else if (row.retreatState === 2) {
return 'restart-row'
} else if (row.copyState === true) {
return 'copy-row'
}
return ''
},
closeDialog() {
this.isQm = true
},
getModelList(val) {
let tempJylb = ''
let category = ''
let nbleibie = ''
if (val === '7310') {
tempJylb = 'DJ'
category = 'YSJL'
nbleibie = 'DQ'
}
this.api({
url: '/template/getTemplateBySbpz',
method: 'get',
params: {
sbpz: val,
jianyanleibie: tempJylb,
category: category,
neibuleibie: nbleibie
}
}).then(data => {
this.modelList = data
this.modelId = data[0].value
})
},
/**
* 根据报告ID查看驳回原因
* @param ysjlId
*/
viewAllRejection(ysjlId) {
this.api({
url: '/taskinfo/viewAllRejection',
method: 'get',
params: {
ysjlId: ysjlId
}
}).then(data => {
this.infoNotes = data
if (!this.infoNotes.length) {
this.$alert('暂无驳回意见!', '驳回意见', {
confirmButtonText: '关闭'
})
} else {
this.dialogBohuiyijianVisible = true
}
})
}
}
}
</script>
<style>
.el-table .reject-row {
color: orange;
}
.el-table .restart-row {
color: red;
}
.el-table .copy-row {
color: #690cff;
}
.identification{
width: 30px;
height:15px;
display: inline-block;
border:gray 1px solid;
border-radius:15px;
float: left;
}
button.el-button.el-button--mini.is-circle{
margin: 1px;
}
</style>

149
src/views/ysjl/components/gascylinder_yb_list.vue

@ -1,149 +0,0 @@
<template>
<div class="app-container">
<div class="filter-container">
<el-form>
<el-form-item>
<el-input v-model="listQuery.jilubianhao" placeholder="记录编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.shigongdanwei" placeholder="安装单位" clearable style="width: 400px" @keyup.enter.native="handleFilter" />
<el-button size="small" type="primary" icon="el-icon-search" @click="handleFilter">
查询
</el-button>
<el-button size="small" type="info" icon="el-icon-close" @click="clearQuery">
清空条件
</el-button>
<br>
<el-input v-model="listQuery.zhizaodanwei" placeholder="制造单位" clearable style="width: 400px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.chanpinbianhao" placeholder="出厂编号" clearable style="width: 200px" @keyup.enter.native="handleFilter" />
<span class="radio-group-label">编辑类型</span>
<el-radio-group v-model="listQuery.createBy" @change="handleFilter">
<el-radio :label="$store.getters.userId">
只看创建人
</el-radio>
<el-radio :label="undefined">
全部
</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
</div>
<el-table
ref="list"
v-adaptive="{bottomOffset: 50}"
height="0"
:data="list"
:default-sort="{prop:'jilubianhao', order:'descending'}"
element-loading-text="拼命加载中"
border
fit
highlight-current-row
stripe
width="100%"
size="small"
@row-click="onRowClick"
@selection-change="handleSelectionChange"
@sort-change="sortChange"
>
<el-table-column type="selection" width="40" />
<el-table-column fixed="left" align="center" label="序号" width="60">
<template slot-scope="scope">
<span v-text="getIndex(scope.$index)" />
</template>
</el-table-column>
<el-table-column align="center" label="记录编号" prop="jilubianhao" width="180" sortable="custom" />
<el-table-column :formatter="formatter.formatterCategory" align="center" label="检验类别" prop="neibuleibie" width="100" />
<el-table-column align="center" label="安装单位" prop="shigongdanwei" width="240" />
<el-table-column align="center" label="产品编号/出厂编号" prop="chanpinbianhao" width="220" />
<el-table-column align="center" label="制造单位" prop="zhizaodanwei" width="240" />
<el-table-column :formatter="formatter.getChineseName" align="center" label="检验人员" prop="jianyanrenyuan" width="140" />
<el-table-column align="center" label="设备代码" prop="shebeidaima" width="140" />
<el-table-column align="center" label="操作" prop="" width="120">
<template slot-scope="scope">
<el-button type="primary" size="mini" circle icon="el-icon-view" title="预览 原始记录" @click="common.viewYsjl(scope.row.id, 'JYBG')" />
</template>
</el-table-column>
</el-table>
<pagination v-show="totalCount>0" :total="totalCount" :page-num.sync="listQuery.pageNum" :page-row.sync="listQuery.pageRow" style="float: left;" @pagination="getList" />
</div>
</template>
<script>
import Pagination from '@/components/Pagination'
export default {
components: { Pagination },
data() {
return {
totalCount: 0,
list: [],
listQuery: {
pageNum: 1, //
pageRow: 20, //
order: undefined, //
sort: undefined, //
createBy: this.$store.getters.userId,
hasChild: true,
link: 2
},
multipleSelection: [],
bglxOptions: [{
value: '1',
label: '主报告'
}, {
value: '2',
label: '无损报告'
}]
}
},
created() {
this.getList()
},
mounted() {
const that = this
this.common.$on('ysjl-yb-list', function() {
that.handleFilter()
})
},
methods: {
getList() {
this.listQuery.cjState = 'bggl'
this.api({
url: '/ysjl/getList',
method: 'get',
params: this.listQuery
}).then(data => {
this.list = data.list
this.totalCount = data.totalCount
this.common.switchInspection(this.list)
})
},
sortChange(column) {
this.listQuery.order = column.prop
this.listQuery.sort = column.order.replace('ending', '')
this.getList()
},
getIndex($index) {
//
return (this.listQuery.pageNum - 1) * this.listQuery.pageRow + $index + 1
},
handleFilter() {
//
this.listQuery.pageNum = 1
this.getList()
},
onRowClick(row) {
this.$refs.list.toggleRowSelection(row)
},
handleSelectionChange: function(val) {
this.multipleSelection = val
},
clearQuery() {
this.listQuery = {
order: undefined, //
sort: undefined, //
createBy: this.$store.getters.userId,
hasChild: true
}
this.getList()
}
}
}
</script>

1010
src/views/ysjl/components/manufacture_db_list.vue

File diff suppressed because it is too large

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save