Commit 1eed15ec by 无尘

fix:修改审核设置

parent 153cc035
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.ba7adf41cf2672046728debaf6a828bc.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.ec90048312af353e3637.js></script><script type=text/javascript src=./static/js/vendor.5b33c5efa6caf40b5ed9.js></script><script type=text/javascript src=./static/js/app.3cb57e639d24a6c469a9.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.8bedb85c75f7aa7365aed81964eee1ff.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.1e0ab70f96a26fc477d7.js></script><script type=text/javascript src=./static/js/vendor.5b33c5efa6caf40b5ed9.js></script><script type=text/javascript src=./static/js/app.3cb57e639d24a6c469a9.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={77:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"1e01efaf386c04cc0fc5",1:"06c4e42e62c1f75191f0",2:"14a128db1e8e40a0f5a7",3:"cc4cdcf5963581993f02",4:"0476be0fe43e41d6a432",5:"73a0e3818658b09f6122",6:"81a6e63dbde5345eae93",7:"ece0a2d210892b176e55",8:"7d0a8e6532c58d0c2415",9:"2ba5c933e486244d6bbf",10:"6a60ff30728c5278d382",11:"5f5e1cf6d55d8609ba40",12:"0b370ee5f1f094e8a182",13:"8b3c8b2d63fb98063c07",14:"659375879cb1d59d0654",15:"eb4a33b11e1bcfc10d01",16:"134bd71f723e9fe1a8e0",17:"ebf1847c50132c6f96a7",18:"7fa0be27d3ea523f8826",19:"63ca1f785b71646ef739",20:"4f936f5247554d2c790d",21:"a261cb3933029837028f",22:"bb593e90b41132f15c1d",23:"091f2a220d4cf1c0cf2a",24:"7a57624e89e34e420a52",25:"326a8c2ad9617bfe863c",26:"458f45f2633ae24c5755",27:"aa816867f4d0cb0d6131",28:"53e6616ed021ab731d6c",29:"a449f52d59c8c87965fd",30:"ad1f21c495322d42096c",31:"6445ecc72f036f4c2c27",32:"eacdca24b86a209641f4",33:"71613beac8da7f605f74",34:"8ebb62b8c3c38916341d",35:"8b91df719e56a8d2180f",36:"c0c151468bb71aa5378c",37:"7471c3e15c8e46ac20ff",38:"7adcc7cae42c144aa2a3",39:"7a089e3108ce4b137839",40:"d0563bc66e10d0ec2ff3",41:"5b5fdd73c94a6be987a4",42:"5f24cb743057dc072bae",43:"51bc93dd50e72a7a505a",44:"e1dc95df16dac16d20f7",45:"2c6b2a0c1ecdf5dbf3c8",46:"501827f4d5d5c14ec5aa",47:"46097b0db930f8998e25",48:"077bb022acf95690f591",49:"c42081f55ebc34a3b283",50:"19df76a6b270a8693b5d",51:"0654d8793fee32332261",52:"7b9cdd5198d1a642e21d",53:"24a43ba6e9c5bffcffd5",54:"c96d447587079f964511",55:"a8319fbd2449d32a7fc6",56:"cbe5f3e6d8639c9bc87f",57:"1d1405bde56276d9e246",58:"bf40a856340d47b74470",59:"1cf4ce05a16d6aefeddc",60:"731d71da0909f8964469",61:"217c2352e374e3c4e438",62:"7e6e0052d51c7547d70a",63:"783b7bbe7c999979788d",64:"2e546d02be42fac0c64d",65:"11f52cad03275c8aba4f",66:"9fa3ca5124aa2b5a85ec",67:"4d39ac45373e1725daf5",68:"e5cc9c8221dca68503a1",69:"18f0e63b47a729fc63d0",70:"b999d4bf8b805f03bd2b",71:"d19b0a20ea22d410b91d",72:"ae171a4233296a9ac4b4",73:"0c069b06ad167faadfc6",74:"1a9f6769ec276b6ccb89"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]); !function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,b,n){for(var r,t,o,i=0,u=[];i<a.length;i++)t=a[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(c&&c(a,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var a={},f={77:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});c[2]=a;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"1e01efaf386c04cc0fc5",1:"06c4e42e62c1f75191f0",2:"8ab6ab882649230c8ad6",3:"cc4cdcf5963581993f02",4:"0476be0fe43e41d6a432",5:"73a0e3818658b09f6122",6:"81a6e63dbde5345eae93",7:"ece0a2d210892b176e55",8:"7d0a8e6532c58d0c2415",9:"2c05b8e28c8585889651",10:"6a60ff30728c5278d382",11:"b8f4661eac441b3d249a",12:"0b370ee5f1f094e8a182",13:"8b3c8b2d63fb98063c07",14:"659375879cb1d59d0654",15:"eb4a33b11e1bcfc10d01",16:"134bd71f723e9fe1a8e0",17:"ebf1847c50132c6f96a7",18:"7fa0be27d3ea523f8826",19:"63ca1f785b71646ef739",20:"4f936f5247554d2c790d",21:"a261cb3933029837028f",22:"bb593e90b41132f15c1d",23:"091f2a220d4cf1c0cf2a",24:"7a57624e89e34e420a52",25:"326a8c2ad9617bfe863c",26:"458f45f2633ae24c5755",27:"aa816867f4d0cb0d6131",28:"53e6616ed021ab731d6c",29:"a449f52d59c8c87965fd",30:"ad1f21c495322d42096c",31:"6445ecc72f036f4c2c27",32:"eacdca24b86a209641f4",33:"71613beac8da7f605f74",34:"8ebb62b8c3c38916341d",35:"8b91df719e56a8d2180f",36:"c0c151468bb71aa5378c",37:"7471c3e15c8e46ac20ff",38:"7adcc7cae42c144aa2a3",39:"7a089e3108ce4b137839",40:"d0563bc66e10d0ec2ff3",41:"5b5fdd73c94a6be987a4",42:"5f24cb743057dc072bae",43:"51bc93dd50e72a7a505a",44:"e1dc95df16dac16d20f7",45:"2c6b2a0c1ecdf5dbf3c8",46:"501827f4d5d5c14ec5aa",47:"46097b0db930f8998e25",48:"077bb022acf95690f591",49:"c42081f55ebc34a3b283",50:"19df76a6b270a8693b5d",51:"0654d8793fee32332261",52:"7b9cdd5198d1a642e21d",53:"24a43ba6e9c5bffcffd5",54:"c96d447587079f964511",55:"a8319fbd2449d32a7fc6",56:"cbe5f3e6d8639c9bc87f",57:"1d1405bde56276d9e246",58:"bf40a856340d47b74470",59:"1cf4ce05a16d6aefeddc",60:"731d71da0909f8964469",61:"217c2352e374e3c4e438",62:"7e6e0052d51c7547d70a",63:"783b7bbe7c999979788d",64:"2e546d02be42fac0c64d",65:"11f52cad03275c8aba4f",66:"9fa3ca5124aa2b5a85ec",67:"4d39ac45373e1725daf5",68:"e5cc9c8221dca68503a1",69:"18f0e63b47a729fc63d0",70:"b999d4bf8b805f03bd2b",71:"d19b0a20ea22d410b91d",72:"ae171a4233296a9ac4b4",73:"0c069b06ad167faadfc6",74:"1a9f6769ec276b6ccb89"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-10-21 14:27:29 * @Date: 2019-10-21 14:27:29
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-01 10:41:30 * @LastEditTime: 2020-06-01 11:19:06
--> -->
<!-- <!--
...@@ -42,7 +42,7 @@ import reviewResultDetail from '@/components/review/review-result-detail.vue' ...@@ -42,7 +42,7 @@ import reviewResultDetail from '@/components/review/review-result-detail.vue'
<span class="font-13 text-ellipsis">{{ scope.row.storeName }}</span> <span class="font-13 text-ellipsis">{{ scope.row.storeName }}</span>
</div> </div>
</div> --> </div> -->
{{ scope.rowcommitName || '--' }} {{ scope.row.commitStaffName || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="提交时间" show-overflow-tooltip> <el-table-column label="提交时间" show-overflow-tooltip>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-03-16 09:59:39 * @Date: 2020-03-16 09:59:39
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-05-19 15:10:17 * @LastEditTime: 2020-06-01 11:46:22
--> -->
<template> <template>
<div class="material-set-wrap "> <div class="material-set-wrap ">
...@@ -84,23 +84,23 @@ ...@@ -84,23 +84,23 @@
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane name="1"> <el-tab-pane name="1">
<span slot="label"><i class="iconfont iconwenzi p-r-5"></i>文本</span> <span slot="label"><i class="iconfont iconwenzi p-r-5"></i>文本</span>
<text-table :currentPage="currentPage" :pageSize="pageSize" :total="total" :textTableData="tableData" :categoryId="currentCategoryId" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></text-table> <text-table v-loading="loading" :currentPage="currentPage" :pageSize="pageSize" :total="total" :textTableData="tableData" :categoryId="currentCategoryId" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></text-table>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="图片" name="2"> <el-tab-pane label="图片" name="2">
<span slot="label"><i class="iconfont icontupian p-r-5 "></i>图片</span> <span slot="label"><i class="iconfont icontupian p-r-5 "></i>图片</span>
<image-table :currentPage="currentPage" :pageSize="pageSize" :total="total" :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></image-table> <image-table v-loading="loading" :currentPage="currentPage" :pageSize="pageSize" :total="total" :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></image-table>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="网页" name="3"> <el-tab-pane label="网页" name="3">
<span slot="label"><i class="iconfont icondaima p-r-5 "></i>网页</span> <span slot="label"><i class="iconfont icondaima p-r-5 "></i>网页</span>
<web-table :currentPage="currentPage" :pageSize="pageSize" :total="total" :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></web-table> <web-table v-loading="loading" :currentPage="currentPage" :pageSize="pageSize" :total="total" :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></web-table>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="视频" name="4"> <el-tab-pane label="视频" name="4">
<span slot="label"><i class="iconfont iconshipin p-r-5 "></i>视频</span> <span slot="label"><i class="iconfont iconshipin p-r-5 "></i>视频</span>
<video-table :currentPage="currentPage" :pageSize="pageSize" :total="total" :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></video-table> <video-table v-loading="loading" :currentPage="currentPage" :pageSize="pageSize" :total="total" :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></video-table>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="文件" name="5"> <el-tab-pane label="文件" name="5">
<span slot="label"><i class="iconfont iconwenjian p-r-5 "></i>文件</span> <span slot="label"><i class="iconfont iconwenjian p-r-5 "></i>文件</span>
<file-table :currentPage="currentPage" :pageSize="pageSize" :total="total" :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></file-table> <file-table v-loading="loading" :currentPage="currentPage" :pageSize="pageSize" :total="total" :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelText" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></file-table>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -146,6 +146,7 @@ export default { ...@@ -146,6 +146,7 @@ export default {
addShow: false, addShow: false,
editGroupRow: {}, editGroupRow: {},
expandArr: [], expandArr: [],
loading: false,
tableData: [], tableData: [],
// 分页参数 // 分页参数
currentPage: 1, currentPage: 1,
...@@ -473,6 +474,7 @@ export default { ...@@ -473,6 +474,7 @@ export default {
*/ */
getTableList(val) { getTableList(val) {
const that = this; const that = this;
that.loading = true;
let para = { let para = {
wxEnterpriseId: that.wxEnterpriseId, wxEnterpriseId: that.wxEnterpriseId,
keyword: that.searchInput, keyword: that.searchInput,
...@@ -484,6 +486,7 @@ export default { ...@@ -484,6 +486,7 @@ export default {
getRequest('/haoban-manage3-web/material-list', para) getRequest('/haoban-manage3-web/material-list', para)
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
that.loading = false;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
that.tableData = resData.result.result || []; that.tableData = resData.result.result || [];
that.total = resData.result.totalCount; that.total = resData.result.totalCount;
...@@ -492,6 +495,7 @@ export default { ...@@ -492,6 +495,7 @@ export default {
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
}) })
.catch(function(error) { .catch(function(error) {
that.loading = false;
that.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
message: error.message message: error.message
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-05-26 11:07:21 * @LastEditTime: 2020-06-01 11:44:21
--> -->
<template> <template>
<div class="reviewed-wrap common-set-wrap"> <div class="reviewed-wrap common-set-wrap">
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</el-select> </el-select>
</div> </div>
<div class="reviewed-body-content"> <div class="reviewed-body-content">
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%"> <el-table ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" style="width: 100%">
<el-table-column label="审核事项"> <el-table-column label="审核事项">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.auditType == 1 ? '门店信息变更' : scope.row.auditType == 2 ? '门店账号申请' : '门店导购变更' }} {{ scope.row.auditType == 1 ? '门店信息变更' : scope.row.auditType == 2 ? '门店账号申请' : '门店导购变更' }}
...@@ -152,6 +152,7 @@ export default { ...@@ -152,6 +152,7 @@ export default {
} }
], ],
searchValue: '', // 搜索 searchValue: '', // 搜索
loading: false,
tableData: [ tableData: [
// { // {
// enterpriseAuditingId: 1, // enterpriseAuditingId: 1,
...@@ -331,6 +332,7 @@ export default { ...@@ -331,6 +332,7 @@ export default {
if (val) { if (val) {
that.currentPage = 1; that.currentPage = 1;
} }
that.loading = true;
let para = { let para = {
wxEnterpriseId: that.wxEnterpriseId, wxEnterpriseId: that.wxEnterpriseId,
auditStatus: that.filterValue, auditStatus: that.filterValue,
...@@ -344,6 +346,7 @@ export default { ...@@ -344,6 +346,7 @@ export default {
getRequest('/haoban-manage3-web/audit/find-page', para) getRequest('/haoban-manage3-web/audit/find-page', para)
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
that.loading = false;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
that.tableData = resData.result.result || []; that.tableData = resData.result.result || [];
that.total = resData.result.totalCount; that.total = resData.result.totalCount;
...@@ -352,6 +355,7 @@ export default { ...@@ -352,6 +355,7 @@ export default {
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
}) })
.catch(function(error) { .catch(function(error) {
that.loading = false;
that.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
message: error.message message: error.message
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-06-01 11:07:37 * @LastEditTime: 2020-06-01 11:43:23
--> -->
<template> <template>
<div class="unreview-wrap common-set-wrap"> <div class="unreview-wrap common-set-wrap">
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<el-button type="primary" @click="approveAll">批量同意</el-button> <el-button type="primary" @click="approveAll">批量同意</el-button>
</div> </div>
<div class="reviewed-body-content"> <div class="reviewed-body-content">
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange"> <el-table ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"> </el-table-column> <el-table-column type="selection" width="55"> </el-table-column>
<el-table-column label="审核事项"> <el-table-column label="审核事项">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
// value: '3' // value: '3'
// } // }
], ],
loading: false,
tableData: [ tableData: [
// { // {
// auditId: 1, // auditId: 1,
...@@ -404,7 +404,7 @@ export default { ...@@ -404,7 +404,7 @@ export default {
const that = this; const that = this;
let para = { let para = {
auditIds: ids, auditIds: ids,
commitStaffName: that.auditName auditName: that.auditName
}; };
postRequest('/haoban-manage3-web/audit/batch-approve', para) postRequest('/haoban-manage3-web/audit/batch-approve', para)
.then(res => { .then(res => {
...@@ -580,6 +580,7 @@ export default { ...@@ -580,6 +580,7 @@ export default {
if (val) { if (val) {
that.currentPage = 1; that.currentPage = 1;
} }
that.loading = true;
let para = { let para = {
wxEnterpriseId: that.wxEnterpriseId, wxEnterpriseId: that.wxEnterpriseId,
auditType: that.filterValue, auditType: that.filterValue,
...@@ -593,6 +594,7 @@ export default { ...@@ -593,6 +594,7 @@ export default {
getRequest('/haoban-manage3-web/audit/find-page', para) getRequest('/haoban-manage3-web/audit/find-page', para)
.then(res => { .then(res => {
let resData = res.data; let resData = res.data;
that.loading = false;
if (resData.errorCode == 1) { if (resData.errorCode == 1) {
that.tableData = resData.result.result || []; that.tableData = resData.result.result || [];
that.total = resData.result.totalCount; that.total = resData.result.totalCount;
...@@ -601,6 +603,7 @@ export default { ...@@ -601,6 +603,7 @@ export default {
errMsg.errorMsg(resData); errMsg.errorMsg(resData);
}) })
.catch(function(error) { .catch(function(error) {
that.loading = false;
that.$message.error({ that.$message.error({
duration: 1000, duration: 1000,
message: error.message message: error.message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment