65fd8d09 by xiaomiao

样式调整

1 parent 787da56b
......@@ -5,7 +5,6 @@
/deep/.el-select {
width: 100%;
}
/deep/.el-form-item__error {
right: 25px;
top: 15px;
......@@ -50,13 +49,31 @@
border-radius: 2px;
border: 1px solid #6BC1FC;
}
/deep/.el-input-number{
width: 100%;
}
/deep/.el-input-number__increase{
background: #05275B;
color: #FFFFFF;
border:none;
right: 12px;
top: 6px;
}
/deep/.el-input-number__decrease{
background: #05275B;
color: #FFFFFF;
border:none;
right: 12px;
bottom:6px;
}
/deep/.el-input__inner {
margin: 5px;
width: 96%;
background: #05275B;
border-radius: 2px;
border: 1px solid #6BC1FC;
text-align: left;
}
/deep/.el-form-item {
......@@ -83,4 +100,4 @@
right: 5px;
}
}
}
\ No newline at end of file
}
......
......@@ -62,8 +62,8 @@
发证数量: <br />
<p class="label-detail">(FZSL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 9999, min: 0, precision: 0 }" type="number"
v-model.number="ruleForm.FZSL" placeholder="发证数量"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 9999, min: 0, precision: 0 }" type="number"
v-model.number="ruleForm.FZSL" placeholder="发证数量"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......
......@@ -43,8 +43,8 @@
登记小类: <br />
<p class="label-detail">(DJXL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.DJXL" type="number"
v-only-number="{ max: 999999, min: 0, precision: 0 }" placeholder="登记小类"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.DJXL" type="number"
v-only-number="{ max: 999999, min: 0, precision: 0 }" placeholder="登记小类"></el-input-number>
</el-form-item>
</el-col>
......@@ -76,8 +76,8 @@
文件件数: <br />
<p class="label-detail">(WJJS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.WJJS" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="文件件数"></el-input>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-model.number="ruleForm.WJJS" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="文件件数"></el-input-number>
</el-form-item>
</el-col>
......@@ -87,8 +87,10 @@
总页数: <br />
<p class="label-detail">(ZYS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZYS" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总页数"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZYS" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总页数"></el-input-number>
<!-- <el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZYS" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总页数"></el-input> -->
</el-form-item>
</el-col>
......
......@@ -76,8 +76,8 @@
收费基数: <br />
<p class="label-detail">(SFJS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.SFJS" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="收费基数"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.SFJS" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="收费基数"></el-input-number>
</el-form-item>
</el-col>
......@@ -100,8 +100,8 @@
应收金额: <br />
<p class="label-detail">(YSJE)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.YSJE" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="应收金额"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.YSJE" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="应收金额"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -113,8 +113,8 @@
折扣后应收金额: <br />
<p class="label-detail">(ZKHYSJE)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZKHYSJE" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="折扣后应收金额"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZKHYSJE" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="折扣后应收金额"></el-input-number>
</el-form-item>
</el-col>
......@@ -170,8 +170,8 @@
实收金额: <br />
<p class="label-detail">(SSJE)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.SSJE" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="实收金额"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.SSJE" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="实收金额"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......
......@@ -98,8 +98,8 @@
顺序号: <br />
<p class="label-detail">(SXH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="form.auditInfo[index].SXH"
type="number" v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="顺序号"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="form.auditInfo[index].SXH"
type="number" v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="顺序号"></el-input-number>
</el-form-item>
</el-col>
......
......@@ -74,8 +74,8 @@
收件数量: <br />
<p class="label-detail">(SJSL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 9999, min: 0, precision: 0 }"
type="number" v-model.number="form.receivingInfo[index].SJSL" placeholder="收件数量"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 9999, min: 0, precision: 0 }"
type="number" v-model.number="form.receivingInfo[index].SJSL" placeholder="收件数量"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -131,8 +131,8 @@
页数: <br />
<p class="label-detail">(YS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 99999, min: 1, precision: 0 }"
type="number" v-model.number="form.receivingInfo[index].YS" placeholder="页数"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 99999, min: 1, precision: 0 }"
type="number" v-model.number="form.receivingInfo[index].YS" placeholder="页数"></el-input-number>
</el-form-item>
</el-col>
......
......@@ -88,8 +88,8 @@
面积: <br />
<p class="label-detail">(MJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.MJ"
v-only-number="{ max: 99999, min: 0, precision: 2 }" placeholder="面积"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model="ruleForm.MJ"
v-only-number="{ max: 99999, min: 0, precision: 2 }" placeholder="面积"></el-input-number>
</el-form-item>
</el-col>
......
......@@ -88,8 +88,8 @@
面积: <br />
<p class="label-detail">(MJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.MJ"
v-only-number="{ max: 99999, min: 0, precision: 2 }" placeholder="面积"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model="ruleForm.MJ"
v-only-number="{ max: 99999, min: 0, precision: 2 }" placeholder="面积"></el-input-number>
</el-form-item>
</el-col>
......
......@@ -88,8 +88,8 @@
面积: <br />
<p class="label-detail">(MJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.MJ"
v-only-number="{ max: 99999, min: 1, precision: 2 }" placeholder="面积"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model="ruleForm.MJ"
v-only-number="{ max: 99999, min: 1, precision: 2 }" placeholder="面积"></el-input-number>
</el-form-item>
</el-col>
......
......@@ -19,8 +19,8 @@
序号: <br />
<p class="label-detail">(XH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.XH" type="number"
v-only-number="{ max: 999999, min: 0, precision: 0 }" placeholder="序号"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.XH" type="number"
v-only-number="{ max: 999999, min: 0, precision: 0 }" placeholder="序号"></el-input-number>
</el-form-item>
</el-col>
......@@ -30,8 +30,8 @@
北纬: <br />
<p class="label-detail">(BW)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.BW" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 8 }" placeholder="北纬"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.BW" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 8 }" placeholder="北纬"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -43,8 +43,8 @@
东经: <br />
<p class="label-detail">(DJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.DJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 8 }" placeholder="东经"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.DJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 8 }" placeholder="东经"></el-input-number>
</el-form-item>
</el-col>
......
......@@ -31,8 +31,8 @@
用海面积: <br />
<p class="label-detail">(YHMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.YHMJ" type="number"
v-only-number="{ max: 999999, min: 1, precision: 2 }" placeholder="用海面积"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.YHMJ" type="number"
v-only-number="{ max: 999999, min: 1, precision: 2 }" placeholder="用海面积"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -54,8 +54,8 @@
使用金额数: <br />
<p class="label-detail">(SYJES)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.SYJES" type="number"
v-only-number="{ max: 999999, min: 0, precision: 2 }" placeholder="使用金额数"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.SYJES" type="number"
v-only-number="{ max: 999999, min: 0, precision: 2 }" placeholder="使用金额数"></el-input-number>
</el-form-item>
</el-col>
......
......@@ -60,8 +60,8 @@
层建筑面积: <br />
<p class="label-detail">(CJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层建筑面积" type="number" v-model.number="ruleForm.cjzmj"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层建筑面积" type="number" v-model.number="ruleForm.cjzmj"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -73,8 +73,8 @@
层套内建筑面积: <br />
<p class="label-detail">(CTNJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层套内建筑面积" type="number" v-model.number="ruleForm.ctnjzmj"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层套内建筑面积" type="number" v-model.number="ruleForm.ctnjzmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -84,8 +84,8 @@
层阳台面积: <br />
<p class="label-detail">(CYTMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层阳台面积" type="number" v-model.number="ruleForm.cytmj"></el-input>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层阳台面积" type="number" v-model.number="ruleForm.cytmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -95,8 +95,8 @@
层共有建筑面积: <br />
<p class="label-detail">(CGYJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层共有建筑面积" type="number" v-model.number="ruleForm.cgyjzmj"></el-input>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层共有建筑面积" type="number" v-model.number="ruleForm.cgyjzmj"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -108,8 +108,8 @@
层分摊建筑面积: <br />
<p class="label-detail">(CFTJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层分摊建筑面积" type="number" v-model.number="ruleForm.cftjzmj"></el-input>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层分摊建筑面积" type="number" v-model.number="ruleForm.cftjzmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -119,8 +119,8 @@
层半墙面积: <br />
<p class="label-detail">(CBQMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
type="number" placeholder="层半墙面积" v-model.number="ruleForm.cbqmj"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
type="number" placeholder="层半墙面积" v-model.number="ruleForm.cbqmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -130,8 +130,8 @@
层高: <br />
<p class="label-detail">(CG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层高" type="number" v-model.number="ruleForm.cg"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层高" type="number" v-model.number="ruleForm.cg"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -143,8 +143,8 @@
水平投影面积: <br />
<p class="label-detail">(SPTYMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="水平投影面积" type="number" v-model.number="ruleForm.sptymj"></el-input>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="水平投影面积" type="number" v-model.number="ruleForm.sptymj"></el-input-number>
</el-form-item>
</el-col>
......
......@@ -95,8 +95,8 @@
实际层数: <br />
<p class="label-detail">(SJCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 99999, min: 1, precision: 0 }"
placeholder="实际层数" v-model="ruleForm.sjcs"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 99999, min: 1, precision: 0 }"
placeholder="实际层数" v-model="ruleForm.sjcs"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -108,8 +108,8 @@
户号: <br />
<p class="label-detail">(HH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.hh" placeholder="户号"
v-only-number="{ max: 99999, min: 1, precision: 0 }"></el-input>
<el-input-number controls-position="right":disabled="$store.state.business.Edit" v-model="ruleForm.hh" placeholder="户号"
v-only-number="{ max: 99999, min: 1, precision: 0 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -198,9 +198,9 @@
预测建筑面积: <br />
<p class="label-detail">(YCJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
<el-input-number controls-position="right":disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="预测建筑面积" type="number"
v-model.number="ruleForm.ycjzmj"></el-input>
v-model.number="ruleForm.ycjzmj"></el-input-number>
</el-form-item>
</el-col>
......
......@@ -58,6 +58,8 @@
顺序号: <br />
<p class="label-detail">(SXH)</p>
</span>
<el-input-number :disabled="$store.state.business.Edit" v-model.number="form.auditInfo[index].SXH"
type="number" v-only-number="{ max: 999999999, min: 0, precision: 0 }" placeholder="顺序号"></el-input-number>
<el-input :disabled="$store.state.business.Edit" v-model.number="boundaryPoint.ruleForm[index].SXH"
type="number" v-only-number="{ max: 99999999999, min: 0, precision: 0 }" placeholder="顺序号"></el-input>
</el-form-item>
......
......@@ -175,8 +175,8 @@
株数: <br />
<p class="label-detail">(ZS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZS" type="number"
v-only-number="{ max: 9999999999, min: 0, precision: 0 }" placeholder="株数"></el-input>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZS" type="number"
v-only-number="{ max: 9999999999, min: 0, precision: 0 }" placeholder="株数"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......
......@@ -88,4 +88,8 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
\ No newline at end of file
// 展开收起按钮位置
.el-input__suffix{
right: 10px;
}
}
......
......@@ -263,9 +263,20 @@ table td {
.el-popper[x-placement^="bottom"] .popper__arrow {
display: none;
}
.el-popper[x-placement^="bottom"] {
margin-top: 0px;
}
// 时间选择框样式
.el-date-picker {
.el-input__inner{
background-color: #031a46;
}
.el-picker-panel{
border: none;
}
.el-picker-panel__footer{
background-color: #031a46;
}
.el-date-table td.disabled div {
background-color: #074487;
}
......@@ -307,7 +318,7 @@ table td {
}
// 时间选择框2
// 时间选择框分两个框
.el-date-range-picker {
.el-date-range-picker__time-header>.el-icon-arrow-right {
color: #E3F1FF;
......@@ -385,7 +396,11 @@ table td {
}
}
// 时间组件input框部分
.el-date-editor {
[class^="el-icon-"], [class*=" el-icon-"] {
display: none;
}
.el-range-separator {
color: #E3F1FF;
}
......@@ -413,4 +428,4 @@ table td {
border: 1px solid #02D9FD;
color: #FFFFFF !important;
font-weight: 700;
}
\ No newline at end of file
}
......
......@@ -60,10 +60,7 @@
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
<!-- XML报文 -->
<xml-message ref="dialog" :xml="xml" />
<!-- 数据详情 -->
<edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
<dataDetails ref="editLog" :title="title" />
</div>
</template>
......@@ -74,13 +71,11 @@ import business from '@/api/business'
import dataReporting from '@/api/dataReporting'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
import editDialog from '@/components/dataDetails/edit-dialog.vue'
export default {
name: "gzwsyq",
mixins: [tableMixin],
components: {
treeSelect,
editDialog
treeSelect
},
data () {
return {
......@@ -151,22 +146,7 @@ export default {
this.$refs.msg.messageShow()
}
},
async handlDatadetails (index, row) {
let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB)
if (res != null) {
this.diaData = res
this.bsmSjsb = row.BSM_SJSB
this.$store.dispatch('business/setEdit')
this.$refs.editLog.isShow()
} else {
this.$message(message)
}
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
</script>
......
......@@ -60,10 +60,7 @@
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
<!-- XML报文 -->
<xml-message ref="dialog" :xml="xml" />
<!-- 数据详情 -->
<edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
<dataDetails ref="editLog" :title="title" />
</div>
</template>
......@@ -74,13 +71,11 @@ import business from '@/api/business'
import dataReporting from '@/api/dataReporting'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
import editDialog from '@/components/dataDetails/edit-dialog.vue'
export default {
name: "hysyq",
mixins: [tableMixin],
components: {
treeSelect,
editDialog
treeSelect
},
data () {
return {
......@@ -151,21 +146,6 @@ export default {
this.$refs.msg.messageShow()
}
},
async handlDatadetails (index, row) {
let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB)
if (res != null) {
this.diaData = res
this.bsmSjsb = row.BSM_SJSB
this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
} else {
this.$message(message)
}
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
......
......@@ -56,10 +56,7 @@
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
<!-- XML报文 -->
<xml-message ref="dialog" :xml="xml" />
<!-- 数据详情 -->
<edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
<dataDetails ref="editLog" :title="title" />
</div>
</template>
......@@ -70,13 +67,11 @@ import business from '@/api/business'
import dataReporting from '@/api/dataReporting'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
import editDialog from '@/components/dataDetails/edit-dialog.vue'
export default {
name: "lq",
mixins: [tableMixin],
components: {
treeSelect,
editDialog
treeSelect
},
data () {
return {
......@@ -139,22 +134,8 @@ export default {
this.message = error
this.$refs.msg.messageShow()
}
},
async handlDatadetails (index, row) {
let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB)
if (res != null) {
this.diaData = res
this.bsmSjsb = row.BSM_SJSB
this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
} else {
this.$message(message)
}
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
</script>
......
......@@ -60,10 +60,7 @@
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
<!-- XML报文 -->
<xml-message ref="dialog" :xml="xml" />
<!-- 数据详情 -->
<edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
<dataDetails ref="editLog" :title="title" />
</div>
</template>
......@@ -74,13 +71,11 @@ import business from '@/api/business'
import dataReporting from '@/api/dataReporting'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
import editDialog from '@/components/dataDetails/edit-dialog.vue'
export default {
name: "nydsyq",
mixins: [tableMixin],
components: {
treeSelect,
editDialog
treeSelect
},
data () {
return {
......@@ -150,22 +145,6 @@ export default {
this.message = error
this.$refs.msg.messageShow()
}
},
async handlDatadetails (index, row) {
let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB)
if (res != null) {
this.diaData = res
this.bsmSjsb = row.BSM_SJSB
this.$store.dispatch('business/setEdit')
this.$refs.editLog.isShow()
} else {
this.$message(message)
}
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
......