|
@@ -11,7 +11,7 @@
|
|
<el-radio-button label="eigth">权限分类</el-radio-button>
|
|
<el-radio-button label="eigth">权限分类</el-radio-button>
|
|
<el-radio-button v-if="$checkBtnRole('receipt', $route.meta.roles)" label="receipt">发票</el-radio-button>
|
|
<el-radio-button v-if="$checkBtnRole('receipt', $route.meta.roles)" label="receipt">发票</el-radio-button>
|
|
<el-radio-button label="warehouse">仓租费配置</el-radio-button>
|
|
<el-radio-button label="warehouse">仓租费配置</el-radio-button>
|
|
-
|
|
|
|
|
|
+ <el-radio-button label="radius">商用登录地图半径</el-radio-button>
|
|
</el-radio-group>
|
|
</el-radio-group>
|
|
|
|
|
|
<div v-show="formType === 'first'">
|
|
<div v-show="formType === 'first'">
|
|
@@ -328,6 +328,19 @@
|
|
</div>
|
|
</div>
|
|
<el-button type="primary" size="small" @click="submitStockForm">确 定</el-button>
|
|
<el-button type="primary" size="small" @click="submitStockForm">确 定</el-button>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-show="formType === 'radius'">
|
|
|
|
+ <div style="margin: 40px 0 30px;">
|
|
|
|
+ <span>商用工程登录信息的工程半径配置</span>
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="radiusForm.input1.dictValue"
|
|
|
|
+ style="width: 150px; margin: 0 10px"
|
|
|
|
+ placeholder=""
|
|
|
|
+ size="mini"
|
|
|
|
+ />
|
|
|
|
+ <span>公里</span>
|
|
|
|
+ </div>
|
|
|
|
+ <el-button type="primary" size="small" @click="submitForm('radius')">确 定</el-button>
|
|
|
|
+ </div>
|
|
<!-- //弹窗 -->
|
|
<!-- //弹窗 -->
|
|
<el-dialog :title="title" :visible.sync="dialogForm" width="30%" :show-close="false" :close-on-click-modal="false">
|
|
<el-dialog :title="title" :visible.sync="dialogForm" width="30%" :show-close="false" :close-on-click-modal="false">
|
|
<el-form ref="addForm" size="mini" :rules="rules" :model="addForm" label-width="120px">
|
|
<el-form ref="addForm" size="mini" :rules="rules" :model="addForm" label-width="120px">
|
|
@@ -384,6 +397,9 @@ export default {
|
|
fifthForm: {
|
|
fifthForm: {
|
|
input1: {}
|
|
input1: {}
|
|
},
|
|
},
|
|
|
|
+ radiusForm: {
|
|
|
|
+ input1: {}
|
|
|
|
+ },
|
|
stockCostDict: {},
|
|
stockCostDict: {},
|
|
sixthForm: [],
|
|
sixthForm: [],
|
|
seventhForm: [],
|
|
seventhForm: [],
|
|
@@ -524,8 +540,8 @@ export default {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
this[type + 'Form'].input1 = data[0]
|
|
this[type + 'Form'].input1 = data[0]
|
|
|
|
+ console.log( this[type + 'Form'].input1, 999)
|
|
// this[type + "Form"].input2 = data[1];
|
|
// this[type + "Form"].input2 = data[1];
|
|
- console.log(777, this[type + 'Form'].input1)
|
|
|
|
} else {
|
|
} else {
|
|
this[type + 'Form'].input1 = data[0]
|
|
this[type + 'Form'].input1 = data[0]
|
|
this[type + 'Form'].input2 = data[1]
|
|
this[type + 'Form'].input2 = data[1]
|
|
@@ -549,6 +565,7 @@ export default {
|
|
if (type == 'eigth') {
|
|
if (type == 'eigth') {
|
|
this.eigthForm = res.data
|
|
this.eigthForm = res.data
|
|
}
|
|
}
|
|
|
|
+
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getDetail(type) {
|
|
getDetail(type) {
|
|
@@ -560,7 +577,8 @@ export default {
|
|
fifth: 'PRINT_PASSWORD',
|
|
fifth: 'PRINT_PASSWORD',
|
|
sixth: 'MACHINE_TYPE',
|
|
sixth: 'MACHINE_TYPE',
|
|
seventh: 'SIGN_TYPE',
|
|
seventh: 'SIGN_TYPE',
|
|
- eigth: 'POWER_CATEGORY'
|
|
|
|
|
|
+ eigth: 'POWER_CATEGORY',
|
|
|
|
+ radius: 'MAP_ENGIN_RATE'
|
|
}
|
|
}
|
|
if (type === 'third') {
|
|
if (type === 'third') {
|
|
MAP[type].forEach(e => {
|
|
MAP[type].forEach(e => {
|
|
@@ -580,7 +598,6 @@ export default {
|
|
}
|
|
}
|
|
list.push(this[type + 'Form'][key])
|
|
list.push(this[type + 'Form'][key])
|
|
}
|
|
}
|
|
- console.log(list, '890')
|
|
|
|
|
|
|
|
editDictList(list).then(_res => {
|
|
editDictList(list).then(_res => {
|
|
this.$successMsg('保存成功')
|
|
this.$successMsg('保存成功')
|