feat: There is no way the,   延期企标信息,打回之后再次发起页面,企标类别带不出来

This commit is contained in:
396572590@qq.com
2022-08-02 15:44:24 +08:00
parent d1e7fcfc27
commit 82499fcccc
6 changed files with 38 additions and 0 deletions
@@ -324,6 +324,7 @@
<el-button :disabled="disabledXX" type="primary" size="mini" @click="OkDrawer">带入</el-button>
</div>
</el-drawer>
<loading :loading="formLoading">数据加载中...</loading>
</div>
</template>
@@ -338,6 +339,7 @@ export default {
props: ['message'],
data(){
return{
formLoading: false,
disabledXX:!!this.$route.query.disabledXX,
formRules: {
bussSort: [
@@ -390,9 +392,11 @@ export default {
// this.qbfsForm = {}
// }
//查询下拉框数据
this.formLoading = true
this.$http.get('sys/dictype/getDicTypeListCode', '',{
_this: this
}, res => {
this.formLoading = false
this.cbcdOptions = res.data.DEGREESTANDARD //采标程度
this.BZList = res.data.ENERGYTYPES //标准范围
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
@@ -340,6 +340,7 @@
<el-button type="primary" size="mini" @click="OkDrawer">带入</el-button>
</div>
</el-drawer>
<loading :loading="formLoading">数据加载中...</loading>
</div>
</template>
@@ -354,6 +355,7 @@ export default {
props: ['message'],
data(){
return{
formLoading:false,
disabledXX:!!this.$route.query.disabledXX,
BZList: [],
cbcdOptions: [],
@@ -412,9 +414,11 @@ export default {
// this.qbfsForm = {}
// }
//查询下拉框数据
this.formLoading = true
this.$http.get('sys/dictype/getDicTypeListCode', '',{
_this: this
}, res => {
this.formLoading = false
this.BZList = res.data.ENERGYTYPES //标准范围
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
this.cbcdOptions = res.data.DEGREESTANDARD //采标程度
@@ -410,6 +410,7 @@
:nodeList="nodeListZRBM"
@checkedRole="drawerCheckZRBM"
/>
<loading :loading="formLoading">数据加载中...</loading>
</div>
</template>
@@ -443,6 +444,7 @@ export default {
};
return {
disabledXX:!!this.$route.query.disabledXX,
formLoading:false,
workModel: false,
workSearch: {
workGroupName: "",
@@ -572,9 +574,11 @@ export default {
// this.qbfsForm = {}
// }
//查询下拉框数据
this.formLoading = true
this.$http.get('sys/dictype/getDicTypeListCode', '',{
_this: this
}, res => {
this.formLoading = false
this.cbcdOptions = res.data.DEGREESTANDARD //采标程度
this.BZList = res.data.ENERGYTYPES //适用车型
// this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
@@ -561,6 +561,7 @@
@checkedRole="checkedRole"
:nodeList="nodeList"
></Role-tree>
<loading :loading="formLoading">数据加载中...</loading>
</div>
</template>
@@ -582,6 +583,7 @@ export default {
data(){
return {
disabledXX:!!this.$route.query.disabledXX,
formLoading:false,
workModel: false,
workSearch: {
workGroupName: "",
@@ -721,9 +723,11 @@ export default {
// this.qbfsForm = {}
// }
//查询下拉框数据
this.formLoading = true
this.$http.get('sys/dictype/getDicTypeListCode', '',{
_this: this
}, res => {
this.formLoading = false
this.cbcdOptions = res.data.DEGREESTANDARD //采标程度
this.BZList = res.data.ENERGYTYPES //适用车型
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
@@ -331,6 +331,7 @@
<el-button :disabled="disabledXX" type="primary" size="mini" @click="OkDrawer">带入</el-button>
</div>
</el-drawer>
<loading :loading="formLoading">数据加载中...</loading>
</div>
</template>
@@ -346,6 +347,7 @@ export default {
data(){
return{
disabledXX:!!this.$route.query.disabledXX,
formLoading:false,
formRules: {
bussSort: [
{ required: true, message: "请选择企标类别", trigger: "blur" }
@@ -399,9 +401,11 @@ export default {
// if(this.qbfsForm.passFlag){
// this.qbfsForm = {}
// }
this.formLoading = true
this.$http.get('sys/dictype/getDicTypeListCode', '',{
_this: this
}, res => {
this.formLoading = false
this.cbcdOptions = res.data.DEGREESTANDARD //采标程度
this.BZList = res.data.ENERGYTYPES //标准范围
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
@@ -409,6 +409,24 @@ export default {
break
}
this.qbfsForm = item.qbfsForm || item;
if (this.qbfsForm.bussSort) {
if(this.qbfsForm.bussSort instanceof Array){
this.qbfsForm.bussSort = this.qbfsForm.bussSort[0]
}else {
let val = this.qbfsForm.bussSort.replace('//',"").replace('["',"").replace('"]',"").toString()
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
if (val instanceof Array) {
this.qbfsForm.bussSort = this.form.bussSort.join(",")[0];
} else {
this.qbfsForm.bussSort = val
}
} else if (val === '') {
this.qbfsForm.bussSort = ""
}
}
} else {
this.qbfsForm.bussSort = ""
}
this.formLoading = false;
this.commentText = item.commentText
this.roleForm.dockUser = item.dockUser || item.roleForm.dockUser;