|
@@ -78,6 +78,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+ import {checkPermi,checkRole} from "@/utils/permission"; // 权限判断函数
|
|
import dataTimePicke from "@/components/timepick/dataTimePicke.vue"
|
|
import dataTimePicke from "@/components/timepick/dataTimePicke.vue"
|
|
import selectMorePicker from "@/components/selectMorePicker.vue"
|
|
import selectMorePicker from "@/components/selectMorePicker.vue"
|
|
import {getMapconfig,getBaoconfig,getXiuconfig,getdeptTreeNow} from "@/api/work/check.js"
|
|
import {getMapconfig,getBaoconfig,getXiuconfig,getdeptTreeNow} from "@/api/work/check.js"
|
|
@@ -110,7 +111,7 @@
|
|
titflag: true,
|
|
titflag: true,
|
|
data: []
|
|
data: []
|
|
},
|
|
},
|
|
- indexs:1,
|
|
|
|
|
|
+ indexs:0,
|
|
isPicture:'是',
|
|
isPicture:'是',
|
|
surelist:[{
|
|
surelist:[{
|
|
"label": '是',
|
|
"label": '是',
|
|
@@ -160,6 +161,7 @@
|
|
// this.getdeptTreeNow();
|
|
// this.getdeptTreeNow();
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
|
|
+ checkPermi,checkRole,
|
|
//是否拍照
|
|
//是否拍照
|
|
showNucleic(){
|
|
showNucleic(){
|
|
this.$refs.nucleinselet.show();
|
|
this.$refs.nucleinselet.show();
|
|
@@ -291,9 +293,11 @@ this.$tab.navigateTo("/work/pages/clock/setwoek?address="+this.formData.location
|
|
this.formData=res.data
|
|
this.formData=res.data
|
|
var isPicture=res.data.isPicture
|
|
var isPicture=res.data.isPicture
|
|
if(isPicture=='Y'){
|
|
if(isPicture=='Y'){
|
|
- this.isPicture='是'
|
|
|
|
|
|
+ this.isPicture='是';
|
|
|
|
+ this.indexs=0;
|
|
}else{
|
|
}else{
|
|
- this.isPicture='否'
|
|
|
|
|
|
+ this.isPicture='否';
|
|
|
|
+ this.indexs=1;
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
this.$toast(res.msg)
|
|
this.$toast(res.msg)
|