9421f0aa by 任超

style:区县接入样式修改

1 parent f79f1525
......@@ -95,16 +95,20 @@
<component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }"
:bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bsmReport || dataReport.bsmSjsb" />
</div>
<div class="d-center" v-if="!$store.state.business.Edit">
<btn nativeType="cz" @click="dialogVisible = false">取 消</btn>
<btn nativeType="cx" @click="submitForm">确 定</btn>
</div>
</div>
<div v-if="titleName == 'xyjg'">
<Xyjg :form-data='dataReport'></Xyjg>
</div>
<JsonEditor :resultInfo="resultInfo" class="JsonEditor" v-if="titleName == 'xml'" />
</div>
<div class="d-center" v-if="!$store.state.business.Edit && titleName == 'sjmx'">
<btn nativeType="cz" @click="dialogVisible = false">取 消</btn>
<btn nativeType="cx" @click="submitForm">确 定</btn>
</div>
<div class="d-center" v-if="!$store.state.business.Edit && titleName == 'xml'">
<btn nativeType="cx" @click="handleResubmit">重新上报</btn>
</div>
</el-dialog>
</template>
......@@ -255,7 +259,9 @@ export default {
type: "error"
})
})
}
},
// 重新上报
handleResubmit () { }
}
}
</script>
......@@ -266,6 +272,7 @@ export default {
/deep/.el-dialog__body {
display: flex;
flex-direction: column;
padding-bottom: 25px;
}
/deep/ .el-tabs {
......@@ -273,8 +280,6 @@ export default {
}
.sjmx {
padding-bottom: 25px;
/deep/.el-tabs__item {
height: 50px;
padding-top: 6px;
......@@ -350,7 +355,7 @@ export default {
}
.edit-content {
height: 420px;
height: 45vh;
overflow-y: auto;
overflow-x: hidden;
padding-right: 1px;
......@@ -362,9 +367,6 @@ export default {
border-radius: 8px;
overflow: hidden;
min-width: 1228px;
height: 825px !important;
.el-dialog__header {
display: flex;
......
<template>
<div>
<el-input type="textarea" :rows="6" :disabled="$store.state.business.Edit" placeholder="配置参数" v-model="resultInfo">
<el-input type="textarea" :rows="6" disabled placeholder="配置参数" v-model="resultInfo">
</el-input>
<div class="d-center" v-if="!$store.state.business.Edit">
<btn nativeType="cx" @click="submitForm">重新上报</btn>
</div>
</div>
</template>
<script>
// 引入json编译器
......@@ -15,17 +10,6 @@ export default {
type: String,
default: ''
}
},
data () {
return {
myValue: this.value,
}
},
methods: {
onJsonChange (value) {
},
onJsonSave (value) {
}
}
}
......
......@@ -18,6 +18,9 @@ const actions = {
getUserInfo ({ commit }) {
return new Promise(async (resolve) => {
let { result: res } = await getUserInfo();
// require.ensure([], function (require) {
// require("@/assets/sass/smart-lift/index.scss");
// });
commit("SET_USERINFO", res);
resolve(true);
});
......
......@@ -56,7 +56,7 @@
box-shadow: inset 0px 0px 12px 0px #02D9FD;
border-radius: 2px;
border: 1px solid #6BC1FC;
margin: 0 18px 15px 18px;
margin: 0 18px 10px 18px;
}
}
......