forked from mt-fe-group/mt-yd-ui
		
	update 生成的文件名
This commit is contained in:
		@@ -106,6 +106,7 @@ router.beforeEach((to, from, next) => {
 | 
			
		||||
      Vue.prototype.$message.error(res.msg)
 | 
			
		||||
      return next({ name: 'login' })
 | 
			
		||||
    }
 | 
			
		||||
    console.log('menulist: ', res.data)
 | 
			
		||||
    window.SITE_CONFIG['menuList'] = res.data
 | 
			
		||||
    fnAddDynamicMenuRoutes(window.SITE_CONFIG['menuList'])
 | 
			
		||||
    next({ ...to, replace: true })
 | 
			
		||||
 
 | 
			
		||||
@@ -102,7 +102,6 @@ export default {
 | 
			
		||||
					key: this.dataForm.key
 | 
			
		||||
				})
 | 
			
		||||
			}).then(({ data }) => {
 | 
			
		||||
				console.log('===', data)
 | 
			
		||||
				if (data && data.code === 0) {
 | 
			
		||||
					this.dataList = data.data.list
 | 
			
		||||
					this.totalPage = data.data.total
 | 
			
		||||
 
 | 
			
		||||
@@ -49,7 +49,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmenalarmlog-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentAlarmLog-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmenfile-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentFile-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
@@ -49,7 +49,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmengroup-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentGroup-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
@@ -55,7 +55,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmengroupalarm-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentGroupAlarm-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -57,7 +57,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmenplc-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentPlc-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -50,7 +50,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmenplcconnect-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentPlcConnect-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -62,7 +62,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmenplcparam-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentPlcParam-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -53,7 +53,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmenquantity-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentQuantity-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
@@ -80,7 +80,7 @@ export default {
 | 
			
		||||
		getDataList() {
 | 
			
		||||
			this.dataListLoading = true
 | 
			
		||||
			this.$http({
 | 
			
		||||
				url: this.$http.adornUrl('/monitoring/equipmentQuanity/page'),
 | 
			
		||||
				url: this.$http.adornUrl('/monitoring/equipmentQuantity/page'),
 | 
			
		||||
				method: 'get',
 | 
			
		||||
				params: this.$http.adornParams({
 | 
			
		||||
					page: this.pageIndex,
 | 
			
		||||
@@ -133,7 +133,7 @@ export default {
 | 
			
		||||
				type: 'warning'
 | 
			
		||||
			}).then(() => {
 | 
			
		||||
				this.$http({
 | 
			
		||||
					url: this.$http.adornUrl('/monitoring/equipmentQuanity'),
 | 
			
		||||
					url: this.$http.adornUrl('/monitoring/equipmentQuantity'),
 | 
			
		||||
					method: 'delete',
 | 
			
		||||
					data: this.$http.adornData(ids, false)
 | 
			
		||||
				}).then(({ data }) => {
 | 
			
		||||
 
 | 
			
		||||
@@ -54,7 +54,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmenstatuslog-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentStatusLog-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
@@ -81,7 +81,7 @@ export default {
 | 
			
		||||
		getDataList() {
 | 
			
		||||
			this.dataListLoading = true
 | 
			
		||||
			this.$http({
 | 
			
		||||
				url: this.$http.adornUrl('/monitoring/equipmenStatusLog/page'),
 | 
			
		||||
				url: this.$http.adornUrl('/monitoring/equipmentStatusLog/page'),
 | 
			
		||||
				method: 'get',
 | 
			
		||||
				params: this.$http.adornParams({
 | 
			
		||||
					page: this.pageIndex,
 | 
			
		||||
@@ -134,7 +134,7 @@ export default {
 | 
			
		||||
				type: 'warning'
 | 
			
		||||
			}).then(() => {
 | 
			
		||||
				this.$http({
 | 
			
		||||
					url: this.$http.adornUrl('/monitoring/equipmenStatusLog'),
 | 
			
		||||
					url: this.$http.adornUrl('/monitoring/equipmentStatusLog'),
 | 
			
		||||
					method: 'delete',
 | 
			
		||||
					data: this.$http.adornData(ids, false)
 | 
			
		||||
				}).then(({ data }) => {
 | 
			
		||||
 
 | 
			
		||||
@@ -51,7 +51,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmentype-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentType-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmentypefile-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentTypeFile-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -48,7 +48,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './equipmenattr-add-or-update'
 | 
			
		||||
import AddOrUpdate from './equipmentAttr-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './producarrt-add-or-update'
 | 
			
		||||
import AddOrUpdate from './productArrt-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
@@ -53,7 +53,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './productionline-add-or-update'
 | 
			
		||||
import AddOrUpdate from './productionLine-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -45,7 +45,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './productionlinerecsch-add-or-update'
 | 
			
		||||
import AddOrUpdate from './productionLineRecSch-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -50,7 +50,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './qualityinspectiondet-add-or-update'
 | 
			
		||||
import AddOrUpdate from './qualityInspectionDet-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -55,7 +55,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './qualityinspectionrecord-add-or-update'
 | 
			
		||||
import AddOrUpdate from './qualityInspectionRecord-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -49,7 +49,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './qualityinspectiontype-add-or-update'
 | 
			
		||||
import AddOrUpdate from './qualityInspectionType-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -53,7 +53,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './reporsheet-add-or-update'
 | 
			
		||||
import AddOrUpdate from './reportSheet-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './reporsheecategory-add-or-update'
 | 
			
		||||
import AddOrUpdate from './reportSheetCategory-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -49,7 +49,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './sysfile-add-or-update'
 | 
			
		||||
import AddOrUpdate from './sysFile-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './sysfiletype-add-or-update'
 | 
			
		||||
import AddOrUpdate from './sysFileType-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './workshopsection-add-or-update'
 | 
			
		||||
import AddOrUpdate from './workshopSection-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
@@ -79,7 +79,7 @@ export default {
 | 
			
		||||
		getDataList() {
 | 
			
		||||
			this.dataListLoading = true
 | 
			
		||||
			this.$http({
 | 
			
		||||
				url: this.$http.adornUrl('/monitoring/workShopSection/page'),
 | 
			
		||||
				url: this.$http.adornUrl('/monitoring/workshopSection/page'),
 | 
			
		||||
				method: 'get',
 | 
			
		||||
				params: this.$http.adornParams({
 | 
			
		||||
					page: this.pageIndex,
 | 
			
		||||
@@ -132,7 +132,7 @@ export default {
 | 
			
		||||
				type: 'warning'
 | 
			
		||||
			}).then(() => {
 | 
			
		||||
				this.$http({
 | 
			
		||||
					url: this.$http.adornUrl('/monitoring/workShopSection'),
 | 
			
		||||
					url: this.$http.adornUrl('/monitoring/workshopSection'),
 | 
			
		||||
					method: 'delete',
 | 
			
		||||
					data: this.$http.adornData(ids, false)
 | 
			
		||||
				}).then(({ data }) => {
 | 
			
		||||
 
 | 
			
		||||
@@ -50,7 +50,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import AddOrUpdate from './workshopsectionequipment-add-or-update'
 | 
			
		||||
import AddOrUpdate from './workshopSectionEquipment-add-or-update'
 | 
			
		||||
export default {
 | 
			
		||||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
@@ -77,7 +77,7 @@ export default {
 | 
			
		||||
		getDataList() {
 | 
			
		||||
			this.dataListLoading = true
 | 
			
		||||
			this.$http({
 | 
			
		||||
				url: this.$http.adornUrl('/monitoring/workShopSectionEquipment/page'),
 | 
			
		||||
				url: this.$http.adornUrl('/monitoring/workshopSectionEquipment/page'),
 | 
			
		||||
				method: 'get',
 | 
			
		||||
				params: this.$http.adornParams({
 | 
			
		||||
					page: this.pageIndex,
 | 
			
		||||
@@ -130,7 +130,7 @@ export default {
 | 
			
		||||
				type: 'warning'
 | 
			
		||||
			}).then(() => {
 | 
			
		||||
				this.$http({
 | 
			
		||||
					url: this.$http.adornUrl('/monitoring/workShopSectionEquipment'),
 | 
			
		||||
					url: this.$http.adornUrl('/monitoring/workshopSectionEquipment'),
 | 
			
		||||
					method: 'delete',
 | 
			
		||||
					data: this.$http.adornData(ids, false)
 | 
			
		||||
				}).then(({ data }) => {
 | 
			
		||||
 
 | 
			
		||||
@@ -109,7 +109,7 @@ export default {
 | 
			
		||||
				this.$refs['dataForm'].resetFields()
 | 
			
		||||
				if (this.dataForm.id) {
 | 
			
		||||
					this.$http({
 | 
			
		||||
						url: this.$http.adornUrl(`/monitoring/workShopSection/${this.dataForm.id}`),
 | 
			
		||||
						url: this.$http.adornUrl(`/monitoring/workshopSection/${this.dataForm.id}`),
 | 
			
		||||
						method: 'get',
 | 
			
		||||
						params: this.$http.adornParams()
 | 
			
		||||
					}).then(({ data }) => {
 | 
			
		||||
@@ -140,7 +140,7 @@ export default {
 | 
			
		||||
			this.$refs['dataForm'].validate(valid => {
 | 
			
		||||
				if (valid) {
 | 
			
		||||
					this.$http({
 | 
			
		||||
						url: this.$http.adornUrl(`/monitoring/workShopSection/${!this.dataForm.id ? '' : this.dataForm.id}`),
 | 
			
		||||
						url: this.$http.adornUrl(`/monitoring/workshopSection/${!this.dataForm.id ? '' : this.dataForm.id}`),
 | 
			
		||||
						method: this.dataForm.id ? 'put' : 'post',
 | 
			
		||||
						data: this.$http.adornData({
 | 
			
		||||
							id: this.dataForm.id || undefined,
 | 
			
		||||
 
 | 
			
		||||
@@ -89,7 +89,7 @@ export default {
 | 
			
		||||
				this.$refs['dataForm'].resetFields()
 | 
			
		||||
				if (this.dataForm.id) {
 | 
			
		||||
					this.$http({
 | 
			
		||||
						url: this.$http.adornUrl(`/monitoring/workShopSectionEquipment/${this.dataForm.id}`),
 | 
			
		||||
						url: this.$http.adornUrl(`/monitoring/workshopSectionEquipment/${this.dataForm.id}`),
 | 
			
		||||
						method: 'get',
 | 
			
		||||
						params: this.$http.adornParams()
 | 
			
		||||
					}).then(({ data }) => {
 | 
			
		||||
@@ -116,7 +116,7 @@ export default {
 | 
			
		||||
			this.$refs['dataForm'].validate(valid => {
 | 
			
		||||
				if (valid) {
 | 
			
		||||
					this.$http({
 | 
			
		||||
						url: this.$http.adornUrl(`/monitoring/workShopSectionEquipment/${!this.dataForm.id ? '' : this.dataForm.id}`),
 | 
			
		||||
						url: this.$http.adornUrl(`/monitoring/workshopSectionEquipment/${!this.dataForm.id ? '' : this.dataForm.id}`),
 | 
			
		||||
						method: this.dataForm.id ? 'put' : 'post',
 | 
			
		||||
						data: this.$http.adornData({
 | 
			
		||||
							id: this.dataForm.id || undefined,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user