Browse Source

无限改bug

shibei_master
dai 3 years ago
parent
commit
73cb22a4ba
  1. 7
      src/views/modules/cpts/base/cpts/edit.vue
  2. 3
      src/views/modules/cpts/base/index.vue
  3. 1
      src/views/modules/shequzhili/tuceng/anquan/weihua/index.vue
  4. 2
      src/views/modules/shequzhili/tuceng/anquan/xuncha/index.vue
  5. 1
      src/views/modules/shequzhili/tuceng/yingji/ziyuan/index.vue

7
src/views/modules/cpts/base/cpts/edit.vue

@ -435,8 +435,11 @@ export default {
// init // init
initMap(item) { initMap(item) {
const { latitude = 39.79069, longitude = 116.506907 } = let { latitude, longitude } = this.$store.state.user;
this.$store.state.user; if (!latitude || latitude == "" || latitude == "0") {
latitude = 39.9088810666821;
longitude = 116.39743841556731;
}
// //
var center = new window.TMap.LatLng(latitude, longitude); var center = new window.TMap.LatLng(latitude, longitude);
// map TMap.Map() // map TMap.Map()

3
src/views/modules/cpts/base/index.vue

@ -535,11 +535,12 @@ export default {
handleClose() { handleClose() {
this.formShow = false; this.formShow = false;
this.getTableData();
}, },
handleEditSuccess() { handleEditSuccess() {
this.handleClose(); this.handleClose();
this.getTableData(); // this.getTableData();
}, },
async handleDelete(rowData, rowIndex) { async handleDelete(rowData, rowIndex) {

1
src/views/modules/shequzhili/tuceng/anquan/weihua/index.vue

@ -12,6 +12,7 @@
:importUrl="importUrl" :importUrl="importUrl"
:mubanUrl="mubanUrl" :mubanUrl="mubanUrl"
:editParams="editParams" :editParams="editParams"
:editBtnName="(item) => (item.latitude == '' ? '待完善' : '修改')"
idName="icDangerousChemicalsId" idName="icDangerousChemicalsId"
></base-page> ></base-page>
</div> </div>

2
src/views/modules/shequzhili/tuceng/anquan/xuncha/index.vue

@ -93,7 +93,7 @@ export default {
{ field: "场所名称", keyName: "placeOrgName", type: "text" }, { field: "场所名称", keyName: "placeOrgName", type: "text" },
{ field: "场所地址", keyName: "address", type: "text" }, { field: "场所地址", keyName: "address", type: "text" },
{ field: "场所类型", keyName: "placeTypeName", type: "text" }, { field: "场所类型", keyName: "placeTypeName", type: "text" },
{ field: "规模", keyName: "scale", type: "text" }, { field: "规模", keyName: "scaleName", type: "text" },
{ field: "负责人", keyName: "personInCharge", type: "text" }, { field: "负责人", keyName: "personInCharge", type: "text" },
{ field: "联系电话", keyName: "mobile", type: "text" }, { field: "联系电话", keyName: "mobile", type: "text" },
{ field: "最新检查时间", keyName: "latestPatrolTime", type: "text" }, { field: "最新检查时间", keyName: "latestPatrolTime", type: "text" },

1
src/views/modules/shequzhili/tuceng/yingji/ziyuan/index.vue

@ -12,6 +12,7 @@
:importUrl="importUrl" :importUrl="importUrl"
:mubanUrl="mubanUrl" :mubanUrl="mubanUrl"
:editParams="editParams" :editParams="editParams"
:editBtnName="(item) => (item.latitude == '' ? '待完善' : '修改')"
idName="icSuperiorResourceId" idName="icSuperiorResourceId"
></base-page> ></base-page>
</div> </div>

Loading…
Cancel
Save