|
@@ -77,7 +77,7 @@
|
|
|
<el-button type="primary" @click="_modifyPoints">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <el-dialog width="470px" title="添加相机" :visible.sync="cameraVisible">
|
|
|
+ <el-dialog width="470px" :title="`${camerTile}相机`" :visible.sync="cameraVisible">
|
|
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="80px">
|
|
|
<el-form-item label="出库类型" prop="own">
|
|
|
<el-select v-model="ruleForm.own" placeholder="请选择出库类型">
|
|
@@ -130,6 +130,7 @@
|
|
|
export default {
|
|
|
data () {
|
|
|
return {
|
|
|
+ camerTile:'添加',
|
|
|
tabs: [
|
|
|
{ name: '设备ID', idx: 0 },
|
|
|
{ name: '手机号', idx: 1 },
|
|
@@ -450,6 +451,7 @@ export default {
|
|
|
this.cameraVisible = true
|
|
|
if (row) {
|
|
|
console.log(row)
|
|
|
+ this.camerTile = '编辑'
|
|
|
this.editStatus = 2
|
|
|
this.currentId = row.id
|
|
|
this.ruleForm.address = row.childName
|
|
@@ -488,6 +490,7 @@ export default {
|
|
|
this.ruleForm.type = ''
|
|
|
this.ruleForm.initPoint = ''
|
|
|
this.ruleForm.companyId = ''
|
|
|
+ this.camerTile = '添加'
|
|
|
}
|
|
|
}
|
|
|
},
|