Quellcode durchsuchen

提交日报周报页面

newStyle
douzhuo vor 2 Jahren
Ursprung
Commit
9f0dade17c
5 geänderte Dateien mit 17 neuen und 13 gelöschten Zeilen
  1. +1
    -1
      src/api/modules/api.js
  2. +1
    -0
      src/views/Statistics/index.vue
  3. +11
    -9
      src/views/building/sugDetail.vue
  4. +2
    -1
      src/views/building/sugList.vue
  5. +2
    -2
      vue.config.js

+ 1
- 1
src/api/modules/api.js Datei anzeigen

@@ -1202,7 +1202,7 @@ export function findWeekMonth(data) {
//
export function deleteById(data) {
return request({
url: '/autoSR/api/zkMessage/deleteById',
url: '/autoSR/zkhouse/deleteWeek',
method: 'get',
params: data
})


+ 1
- 0
src/views/Statistics/index.vue Datei anzeigen

@@ -413,6 +413,7 @@ export default {
this.namelist = [];
this.numlist = [];
this.objlist = [];
this.alllist = [];
var dateType = "";
if (this.TimetoAhoose == 7) {
dateType = "";


+ 11
- 9
src/views/building/sugDetail.vue Datei anzeigen

@@ -91,25 +91,27 @@ export default {
},
async mounted() {
if (this.$route.query.id) {
this.getParamsObj.id = this.$route.query.id
this.getParamsObj.id = this.$route.query.id;
}
if (this.$route.query.week) {
this.getParamsObj.week = this.$route.query.week
this.getParamsObj.week = this.$route.query.week;
}
if (this.$route.query.pid) {
this.getParamsObj.pid = this.$route.query.pid
this.getParamsObj.pid = this.$route.query.pid;
}
if (this.$route.query.type) {
this.getParamsObj.type = this.$route.query.type
this.getParamsObj.type = this.$route.query.type;
}

if (this.getParamsObj.id != "" && this.getParamsObj.id != undefined) {
let res = await this.$api.api.weekFindById({ id: this.getParamsObj.id });
console.log(res, 'sadjkasljdklas')
console.log(res, "sadjkasljdklas");
this.ruleForm.suggest = res.data.suggest;
this.id = res.data.id;
this.defaultMSG = this.ruleForm.suggest;
this.week = res.data.weekDate;
if (res.data.weekDate) {
this.week = res.data.weekDate;
}
this.pid = this.getParamsObj.pid;
this.type = this.getParamsObj.type;
} else {
@@ -117,8 +119,8 @@ export default {
weekDate: this.week,
projectId: this.getParamsObj.pid,
});
console.log(res, 'sadjkasljdklas')
console.log(res, "sadjkasljdklas");
if (res.data != null) {
this.ruleForm.suggest = res.data.suggest;
this.defaultMSG = this.ruleForm.suggest;
@@ -153,7 +155,7 @@ export default {
this.$api.api.insertSelective(this.ruleForm).then((res) => {
if (res.code == 10000) {
this.$message.success("操作成功");
this.$router.go(-1)
this.$router.go(-1);
}
});
} else {


+ 2
- 1
src/views/building/sugList.vue Datei anzeigen

@@ -153,13 +153,14 @@ export default {
remove(id) {
this.$api.api.deleteById({ id: id }).then((res) => {
console.log(res);
if (res.data.code == 10000) {
if (res.code == 10000) {
let data = {
num: 1,
size: this.size,
messageType: this.selValue,
projectId: this.id,
};
this.tableData = []
this.filefindByPage(data);
this.$message.success("删除成功");
}


+ 2
- 2
vue.config.js Datei anzeigen

@@ -6,10 +6,10 @@
// const url = 'http://192.168.31.152:9999' // 泽明
// const url = 'http://62.234.122.43:9999' //正式
// const url = 'http://81.70.55.170:9999' // 新测试服务器IP
// const url = 'http://192.168.31.86:9999' // 胜浩
const url = 'http://192.168.31.101:9999' // 胜浩
// const url = 'https://zanyong.hfju.com' // 正式域名
// const url = 'http://127.0.0.1:9999' // 本地
const url = 'http://81.70.55.170:9999' // 新测试
// const url = 'http://81.70.55.170:9999' // 新测试
// const url = 'http://82.156.35.22:9999' // 新正式ip
const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']


Laden…
Abbrechen
Speichern