|
@@ -142,13 +142,13 @@ export default {
|
|
|
pageSize: 1,
|
|
|
tableData: [],
|
|
|
searchList: [
|
|
|
- {
|
|
|
- type: "input",
|
|
|
- tit: "预算名称",
|
|
|
- value: "",
|
|
|
- width: "100%",
|
|
|
- options: [],
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // type: "input",
|
|
|
+ // tit: "预算名称",
|
|
|
+ // value: "",
|
|
|
+ // width: "100%",
|
|
|
+ // options: [],
|
|
|
+ // },
|
|
|
{
|
|
|
type: "sel",
|
|
|
tit: "回复状态",
|
|
@@ -161,7 +161,7 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
params: {
|
|
|
- tabName: "",
|
|
|
+ woNo: "",
|
|
|
sts: "",
|
|
|
},
|
|
|
loading: false,
|
|
@@ -170,33 +170,35 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
- // chenck(id, sts, stsDesc) {
|
|
|
- // this.$http({
|
|
|
- // url: "/market/kpidept/update",
|
|
|
- // method: "post",
|
|
|
- // headers: {
|
|
|
- // "Content-Type": "application/json",
|
|
|
- // },
|
|
|
- // data: { id: id, sts: sts, stsDesc: sts == 0 ? "未回复" : "已回复" },
|
|
|
- // }).then((res) => {
|
|
|
- // if (res.data.result == 0) {
|
|
|
- // this.$message({
|
|
|
- // message: "操作成功",
|
|
|
- // type: "success",
|
|
|
- // });
|
|
|
- // this.getList(this.params, this.pageSize);
|
|
|
- // }
|
|
|
- // });
|
|
|
- // },
|
|
|
+ chenck(id, sts, stsDesc) {
|
|
|
+ this.$http({
|
|
|
+ url: "/market/kpidept/update",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
+ data: { id: id, sts: sts, stsDesc: sts == 0 ? "未回复" : "已回复" },
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.data.result == 0) {
|
|
|
+ this.$message({
|
|
|
+ message: "操作成功",
|
|
|
+ type: "success",
|
|
|
+ });
|
|
|
+ this.getList(this.params, this.pageSize);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
//搜索数据
|
|
|
searchInfo(v) {
|
|
|
- this.params = {};
|
|
|
- v[0] ? (this.params.tabName = v[0]) : "";
|
|
|
- v[1] ? (this.params.sts = v[1]) : "";
|
|
|
+ // this.params = {};
|
|
|
+ // v[0] ? (this.params.tabName = v[0]) : "";
|
|
|
+ // v[1] ? (this.params.sts = v[1]) : "";
|
|
|
+ v[0] ? (this.params.sts = v[0]) : "";
|
|
|
this.getList(this.params, this.pageSize);
|
|
|
},
|
|
|
//获取列表
|
|
|
getList(v, n) {
|
|
|
+
|
|
|
this.loading = true;
|
|
|
this.pageSize = n;
|
|
|
this.$http({
|