b0212711 by renchao@pashanhoo.com

style:审批意见模块加载功能的完善

1 parent 248f1b5f
<!--
* @Description: 审批意见
* @Autor: renchao
* @LastEditTime: 2023-09-28 11:27:06
* @LastEditTime: 2023-10-23 14:05:37
-->
<template>
<div class="spyj loadingtext">
<div class="spyj" v-Loading="loading">
<div class="box">
<div class="spyj_title">
<div class="righttitle">审批表</div>
......@@ -72,6 +72,7 @@
},
data () {
return {
loading: false,
currentindex: 0,
refresh: 10,
viewEdit: false,
......@@ -103,7 +104,6 @@
},
},
created () { },
methods: {
/**
* @description: dataset
......@@ -112,20 +112,6 @@
*/
dataset () {
this.viewEdit = this.$parent.currentSelectTab.ableOperation;
// switch (this.$parent.dqhj) {
// case "cs":
// this.indexdqlc = 0;
// this.jdmc = "初审";
// break;
// case "fs":
// this.indexdqlc = 1;
// this.jdmc = "复审";
// break;
// case "hd":
// this.indexdqlc = 2;
// this.jdmc = "核定";
// break;
// }
},
/**
* @description: getShList
......@@ -133,19 +119,17 @@
* @author: renchao
*/
getShList () {
this.$startLoading();
this.loading = true
var formdata = new FormData();
formdata.append("bsmBusiness", this.propsParam.bsmBusiness);
formdata.append("bestepid", this.$route.query.bestepid);
getSpyjList(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.tableData = res.result;
if (this.shows) {
this.shows = false;
}
var index = this.tableData.findIndex(
(item) => item.jddm === this.$parent.dqhj
);
......@@ -173,12 +157,9 @@
item.show = false;
}
});
this.$endLoading();
this.loading = false
}
});
})
},
/**
* @description: onSubmit
......