|
@@ -143,7 +143,7 @@
|
|
|
<i class="el-icon-view" style="color: #2550A2; margin-right: 10px;"></i>模板信息
|
|
|
</span>
|
|
|
|
|
|
- <div class="dialog-content">
|
|
|
+ <div class="dialog-content" v-loading="infoLoading">
|
|
|
<!-- 模板基本信息 -->
|
|
|
<div class="basic-info">
|
|
|
<div class="flex">
|
|
@@ -166,7 +166,7 @@
|
|
|
<div >{{ templateInfo.tableTemplateTypeName||'项目类型' }}</div>
|
|
|
<div class="value">
|
|
|
<span> 创建信息:</span>
|
|
|
- <span>{{ templateInfo.createUser }}</span>
|
|
|
+ <span>{{ templateInfo.createUserName }}</span>
|
|
|
<span class="ml-4">{{templateInfo.createTime }}</span>
|
|
|
</div>
|
|
|
|
|
@@ -389,6 +389,8 @@ export default {
|
|
|
tableTemplateTypeList: [],
|
|
|
projectList:[],
|
|
|
infoVisible: false,
|
|
|
+ infoLoading: false,
|
|
|
+
|
|
|
templateInfo: {
|
|
|
|
|
|
},
|
|
@@ -622,13 +624,16 @@ export default {
|
|
|
// 可重新请求数据
|
|
|
},
|
|
|
getExcelInfoData(id){
|
|
|
+ this.infoLoading = true;
|
|
|
getExcelInfo({id:id}).then((res) => {
|
|
|
if(res.data.code==200){
|
|
|
this.templateInfo = res.data.data;
|
|
|
}else{
|
|
|
this.templateInfo = {}
|
|
|
}
|
|
|
- })
|
|
|
+ }).finally(() => {
|
|
|
+ this.infoLoading = false;
|
|
|
+ });
|
|
|
},
|
|
|
searchClick(){
|
|
|
this.onLoad(this.page,this.query);
|
|
@@ -669,9 +674,9 @@ handleSort(){
|
|
|
},
|
|
|
saveSort(ids){
|
|
|
|
|
|
-
|
|
|
+ let allIds=ids.join(',');
|
|
|
|
|
|
- exctabSort(ids).then((res) => {
|
|
|
+ exctabSort({ids:allIds}).then((res) => {
|
|
|
this.sortProLoad= false;
|
|
|
if(res.data.code==200){
|
|
|
this.$message.success(res.data.msg)
|