字段信息管理修改
This commit is contained in:
parent
d192d104f2
commit
a4f121d618
@ -590,7 +590,7 @@
|
||||
:before-close="typeecancel"
|
||||
>
|
||||
<el-form
|
||||
:model="queryParamstask"
|
||||
:model="queryType"
|
||||
ref="queryForm"
|
||||
size="small"
|
||||
:inline="true"
|
||||
@ -599,7 +599,7 @@
|
||||
>
|
||||
<el-form-item label="任务类型名称" prop="taskTypeName">
|
||||
<el-input
|
||||
v-model="queryParams.taskTypeName"
|
||||
v-model="queryType.taskTypeName"
|
||||
placeholder="请输入任务类型名称"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
@ -610,10 +610,10 @@
|
||||
type="primary"
|
||||
icon="el-icon-search"
|
||||
size="mini"
|
||||
@click="handleQuerytask"
|
||||
@click="handleQuerytype"
|
||||
>搜索</el-button
|
||||
>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuerytask"
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuerytype"
|
||||
>重置</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
@ -668,7 +668,7 @@
|
||||
:total="totaltype"
|
||||
:pageSize="queryType.pageSize"
|
||||
:indexFromWrap="queryType.pageNum"
|
||||
@updateCPage="updateCPagetwo"
|
||||
@updateCPage="updateCPagetype"
|
||||
></myPagination>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@ -853,6 +853,12 @@ export default {
|
||||
this.queryParamstask.pageSize = size
|
||||
this.getListpartit();
|
||||
},
|
||||
updateCPagetype(index, size) {
|
||||
this.queryType.pageNum = index
|
||||
this.queryType.pageSize = size
|
||||
this.getListType();
|
||||
},
|
||||
|
||||
infolistword() {
|
||||
var dictType = "field_type";
|
||||
getAgencytype(dictType).then((res) => {
|
||||
@ -949,6 +955,7 @@ export default {
|
||||
nurseclicktype(row) {
|
||||
console.log(row, 'row')
|
||||
this.queryParamstask.taskTypeId = row.id
|
||||
this.taskTypeId=this.queryParamstask.taskTypeId
|
||||
this.getListpartit()
|
||||
if (this.title == '添加标签字段信息') {
|
||||
this.form.labelFieldInfoList[this.nnerVisibleindex].taskTypeName =
|
||||
@ -1041,6 +1048,7 @@ export default {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
// 细分
|
||||
handleQuerytask() {
|
||||
this.queryParamstask.pageNum = 1;
|
||||
this.getListpartit();
|
||||
@ -1050,6 +1058,16 @@ export default {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuerytask();
|
||||
},
|
||||
// 类型
|
||||
handleQuerytype(){
|
||||
this.queryType.pageNum = 1;
|
||||
this.getListType();
|
||||
|
||||
},
|
||||
resetQuerytype() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuerytype();
|
||||
},
|
||||
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
@ -1060,6 +1078,8 @@ export default {
|
||||
/** 新增按钮操作 */
|
||||
handleAdd() {
|
||||
this.reset();
|
||||
this.taskTypeId='',
|
||||
this.taskPartitionDictId='',
|
||||
this.form = {
|
||||
labelFieldInfoList: [
|
||||
{
|
||||
@ -1081,7 +1101,6 @@ export default {
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
|
||||
this.reset();
|
||||
this.infolistword();
|
||||
const id = row.id || this.ids
|
||||
|
||||
Loading…
Reference in New Issue
Block a user