前端问题修改2
This commit is contained in:
parent
c3ce3db52b
commit
18b0804b2c
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="head-container">
|
<div class="head-container">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="bindingName"
|
v-model="bindingName"
|
||||||
placeholder="请输入部门名称"
|
placeholder="请输入资产属性"
|
||||||
clearable maxlength="50"
|
clearable maxlength="50"
|
||||||
size="small"
|
size="small"
|
||||||
@input="getTree"
|
@input="getTree"
|
||||||
|
|
|
||||||
|
|
@ -343,7 +343,7 @@ export default {
|
||||||
|
|
||||||
this.GetDeviceTypeTree()
|
this.GetDeviceTypeTree()
|
||||||
// this.getList();
|
// this.getList();
|
||||||
if(this.$route.query.taskId){
|
if(this.$route.query.taskId&&!this.$route.query.isBack){
|
||||||
this.GetTaskDetail(this.$route.query.taskId)
|
this.GetTaskDetail(this.$route.query.taskId)
|
||||||
}
|
}
|
||||||
if(this.$route.query.taskId&&this.$route.query.isBack){
|
if(this.$route.query.taskId&&this.$route.query.isBack){
|
||||||
|
|
|
||||||
|
|
@ -149,8 +149,8 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
init() {
|
init() {
|
||||||
let params = {
|
let params = {
|
||||||
taskId: this.rowObj.taskId,
|
id: this.rowObj.id,
|
||||||
agreementId: this.rowObj.agreementId
|
agreementId: this.rowObj.agreementIdid
|
||||||
}
|
}
|
||||||
materialReturnNoteByApply(params).then(res => {
|
materialReturnNoteByApply(params).then(res => {
|
||||||
this.tableData = res.data
|
this.tableData = res.data
|
||||||
|
|
|
||||||
|
|
@ -588,7 +588,9 @@ export default {
|
||||||
/** 查询字典类型列表 */
|
/** 查询字典类型列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
getRepairTaskListApi(this.addDateRange(this.queryParams, this.dateRange)).then(
|
this.queryParams.startTime = this.dateRange[0]
|
||||||
|
this.queryParams.endTime = this.dateRange[1]
|
||||||
|
getRepairTaskListApi(this.queryParams).then(
|
||||||
(response) => {
|
(response) => {
|
||||||
this.typeList = response.rows;
|
this.typeList = response.rows;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
|
|
@ -711,7 +713,7 @@ export default {
|
||||||
type: this.dialogQueryParams.type,
|
type: this.dialogQueryParams.type,
|
||||||
}
|
}
|
||||||
// this.loading = true;
|
// this.loading = true;
|
||||||
getRepairMaTypeListApi(this.addDateRange(params)).then(res => {
|
getRepairMaTypeListApi(params).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.repairList = res.rows;
|
this.repairList = res.rows;
|
||||||
this.dialogTotal = res.total;
|
this.dialogTotal = res.total;
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@
|
||||||
<span v-if="scope.row.taskStatus=='26'">已验收合格</span>
|
<span v-if="scope.row.taskStatus=='26'">已验收合格</span>
|
||||||
<span v-if="scope.row.taskStatus=='28'">已入库</span>
|
<span v-if="scope.row.taskStatus=='28'">已入库</span>
|
||||||
<span v-if="scope.row.taskStatus=='105'">待审核</span>
|
<span v-if="scope.row.taskStatus=='105'">待审核</span>
|
||||||
|
<span v-if="scope.row.taskStatus=='106'">已驳回</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue