diff --git a/src/App.vue b/src/App.vue
index 6f9e8d55e..0f854550a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -92,7 +92,32 @@ export default {
isBoolean: false
}
},
+ created() {
+ let _this = this;
+ //窗口改变时
+ window.onresize = function () {
+ _this.handleRefreshTable();
+ };
+ },
+ updated() {
+ this.handleRefreshTable()
+ },
methods: {
+ handleRefreshTable() {
+ this.$nextTick(() => {
+ // 获取页面中已注册过ref的所有的子组件。
+ let refList = this.$refs.appView.$refs;
+ if (refList) {
+ for (let i of Object.keys(refList)) {
+ // 根据doLayout方法判断子组件是不是el-table
+ if (refList[i] && refList[i].doLayout) {
+ // 执行doLayout方法
+ refList[i].doLayout();
+ }
+ }
+ }
+ })
+ },
// 点击下拉选项事件
handleCommand(command) {
// 退出登录
@@ -227,6 +252,8 @@ export default {
} else {
this.isBoolean = false
}
+ //切换标签时
+ this.handleRefreshTable();
}
},
mounted() {
diff --git a/src/components/workTree/index.vue b/src/components/workTree/index.vue
index d93320d38..2b905e5a4 100644
--- a/src/components/workTree/index.vue
+++ b/src/components/workTree/index.vue
@@ -12,14 +12,23 @@
:inline="true"
@submit.native.prevent
>
-
+
-
-
+
+
+
+ 查询
+
+
+
+
+ 清空
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
index 2500eaffc..7644a514c 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
@@ -235,6 +235,7 @@
@submit="handleSubmit"
>
+ 数据获取中
{
- // this.decomposeOptions.push(
- // {
- // value: "BDR",
- // label: '不带入'
- // }
- // )
+ this.decomposeOptions.push(
+ {
+ value: "BDR",
+ label: '不带入'
+ }
+ )
res.data.forEach(item => {
this.decomposeOptions.push(item)
})
@@ -951,15 +948,14 @@ export default {
this.dataList = mes.form.dataList;
this.roleForm = mes.roleForm;
this.commentText = mes.commentText;
+ this.loading=false
});
},
},
mounted() {
+ this.loading=true
this.optionsChange()
this.bpnId = this.$route.query.bpnId
- if (this.bpnId !== undefined) {
- this.getData()
- }
this.getProjectData();
// 查询各下拉框数据
this.$http.get("sys/dictype/getDicTypeListCode", "", {
@@ -970,21 +966,28 @@ export default {
}, e => {
});
//查找分解单来源数据
- // this.$http.get('lawss/sarStandAttrDetails/getListData',{},{
- // _this: this
- // }, res => {
- // this.decomposeOptions.push(
- // {
- // attrField: 'BDR',
- // attrName: '不带入'
- // }
- // )
- // res.data.forEach(item => {
- // if(item.sarType === 'STAND' || item.sarType === 'INLAND_STAND' || item.sarType === 'FOREIGN_STAND'){
- // this.decomposeOptions.push(item)
- // }
- // })
- // })
+ this.$http.get('lawss/sarStandAttrDetails/getListData',{},{
+ _this: this
+ }, res => {
+ this.decomposeOptions.push(
+ {
+ value: 'BDR',
+ label: '不带入'
+ }
+ )
+ res.data.forEach(item => {
+ if(item.sarType === 'STAND' || item.sarType === 'INLAND_STAND' || item.sarType === 'FOREIGN_STAND'){
+ let itemTemp={
+ value:item.attrField,
+ label:item.attrName
+ }
+ this.decomposeOptions.push(itemTemp)
+ }
+ })
+ if (this.bpnId !== undefined) {
+ this.getData()
+ }
+ })
}
};
diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
index b40c6297f..7213c5115 100644
--- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
+++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
@@ -3945,7 +3945,7 @@ export default {
if (nowstandinfo.firstPutTime != null && nowstandinfo.firstPutTime !== '') {
nowstandinfo.firstPutTime = this.$dateFormat(this.sarBussionessStandEO.firstPutTime, 'yyyy-MM-dd hh:mm:ss')
}
- nowstandinfo.standCode = nowstandinfo.standSort + nowstandinfo.standNumber + (nowstandinfo.standYear === '' ? '' : '-' + nowstandinfo.standYear)
+ nowstandinfo.standCode = nowstandinfo.standSort+" "+ nowstandinfo.standNumber + (nowstandinfo.standYear === '' ? '' : '-' + nowstandinfo.standYear)
this.$http.postData('lawss/sarBussionessStand/updateSarBussionessStand', nowstandinfo, {
_this: this,
loading: 'isSubmit'