|  | @@ -125,15 +125,13 @@ const gridOptions = reactive<VxeGridProps<RowVO>>({
 | 
	
		
			
				|  |  |      {field: 'currencyCode', title: '回款币种', editRender: {}, slots: {edit: 'currency_edit'}},
 | 
	
		
			
				|  |  |      {field: 'currencyCodePlatform', title: '回款/余额币种', editRender: {}, slots: {edit: 'currencyCodePlatform_edit'}},
 | 
	
		
			
				|  |  |      //{field: 'child_user_number', title: '录入人员数', slots: {edit: 'quantity_edit'}},
 | 
	
		
			
				|  |  | -    {title: '操作', width: 300, slots: {default: 'operate'}},
 | 
	
		
			
				|  |  | +    {title: '操作', width: 120, slots: {default: 'operate'}},
 | 
	
		
			
				|  |  |    ],
 | 
	
		
			
				|  |  |    data: [],
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const operationList = ref([]);
 | 
	
		
			
				|  |  | -// const quantityList = ref([]);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -// 分页
 | 
	
		
			
				|  |  |  const gridEvents: VxeGridListeners<RowVO> = {
 | 
	
		
			
				|  |  |    pageChange({currentPage, pageSize}) {
 | 
	
		
			
				|  |  |      // console.log(currentPage, pageSize)
 | 
	
	
		
			
				|  | @@ -172,11 +170,6 @@ function filteredDataChange(newList) {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -/**
 | 
	
		
			
				|  |  | - * 判断当前编辑行
 | 
	
		
			
				|  |  | - * @param {RowVO} row 当前行
 | 
	
		
			
				|  |  | - * @return {boolean}
 | 
	
		
			
				|  |  | - */
 | 
	
		
			
				|  |  |  const hasActiveEditRow = (row: RowVO) => {
 | 
	
		
			
				|  |  |    const $grid = xGrid.value;
 | 
	
		
			
				|  |  |    if ($grid) {
 | 
	
	
		
			
				|  | @@ -185,7 +178,6 @@ const hasActiveEditRow = (row: RowVO) => {
 | 
	
		
			
				|  |  |    return false;
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -// 进入编辑状态
 | 
	
		
			
				|  |  |  const editRowEvent = (row: RowVO) => {
 | 
	
		
			
				|  |  |    const $grid = xGrid.value;
 | 
	
		
			
				|  |  |    if ($grid) {
 | 
	
	
		
			
				|  | @@ -201,7 +193,6 @@ const editRowEvent = (row: RowVO) => {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -//清除编辑状态
 | 
	
		
			
				|  |  |  const clearRowEvent = (row: RowVO) => {
 | 
	
		
			
				|  |  |    const $grid = xGrid.value;
 | 
	
		
			
				|  |  |    if ($grid) {
 | 
	
	
		
			
				|  | @@ -240,7 +231,6 @@ async function deleteTask() {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -// 删除选中行
 | 
	
		
			
				|  |  |  const removeEvent = async () => {
 | 
	
		
			
				|  |  |    const $grid = xGrid.value;
 | 
	
		
			
				|  |  |    if ($grid) {
 | 
	
	
		
			
				|  | @@ -257,7 +247,6 @@ const removeEvent = async () => {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -// 更新数据校验
 | 
	
		
			
				|  |  |  const requiredFields = [
 | 
	
		
			
				|  |  |    { field: 'platformNumber', title: '平台编号' },
 | 
	
		
			
				|  |  |    { field: 'platformName', title: '平台名称' },
 | 
	
	
		
			
				|  | @@ -308,7 +297,6 @@ async function updateRow(row) {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -// 保存表格行数据
 | 
	
		
			
				|  |  |  const saveRowEvent = async (row: RowVO) => {
 | 
	
		
			
				|  |  |    const $grid = xGrid.value;
 | 
	
		
			
				|  |  |    if ($grid) {
 | 
	
	
		
			
				|  | @@ -343,7 +331,6 @@ async function createTask() {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -// 新建任务
 | 
	
		
			
				|  |  |  const submitEvent = async () => {
 | 
	
		
			
				|  |  |    // 创建一个新的行对象,用于保存表单数据
 | 
	
		
			
				|  |  |    const newRow: RowVO = {
 | 
	
	
		
			
				|  | @@ -372,7 +359,6 @@ const submitEvent = async () => {
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -// 提交表单
 | 
	
		
			
				|  |  |  const submitForm = async (formEl: FormInstance | undefined) => {
 | 
	
		
			
				|  |  |    if (!formEl) return;
 | 
	
		
			
				|  |  |    await formEl.validate(async (valid, fields) => {
 | 
	
	
		
			
				|  | @@ -412,17 +398,18 @@ onMounted(() => {
 | 
	
		
			
				|  |  |      <div style="position: relative">
 | 
	
		
			
				|  |  |        <vxe-grid ref="xGrid" v-bind="gridOptions" v-on="gridEvents">
 | 
	
		
			
				|  |  |          <template #toolbar_buttons>
 | 
	
		
			
				|  |  | -          <vxe-button icon="vxe-icon-add" plain @click="dialogFormVisible = true"> 添加任务</vxe-button>
 | 
	
		
			
				|  |  | +          <vxe-button status="primary" icon="vxe-icon-add" plain @click="dialogFormVisible = true"> 添加任务</vxe-button>
 | 
	
		
			
				|  |  |            <vxe-button icon="vxe-icon-delete" @click="removeEvent">删除</vxe-button>
 | 
	
		
			
				|  |  |            <!--<vxe-button icon="vxe-icon-save" @click="saveEvent">保存</vxe-button>-->
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |          <template #operate="{ row }">
 | 
	
		
			
				|  |  |            <template v-if="hasActiveEditRow(row)">
 | 
	
		
			
				|  |  | -            <vxe-button content="取消" @click="clearRowEvent(row)"></vxe-button>
 | 
	
		
			
				|  |  | -            <vxe-button status="primary" content="保存" @click="saveRowEvent(row)"></vxe-button>
 | 
	
		
			
				|  |  | +            <vxe-button type="text" content="取消" @click="clearRowEvent(row)"></vxe-button>
 | 
	
		
			
				|  |  | +            <vxe-button type="text" status="success" content="保存" @click="saveRowEvent(row)"></vxe-button>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |            <template v-else>
 | 
	
		
			
				|  |  | -            <vxe-button content="编辑" @click="editRowEvent(row)"></vxe-button>
 | 
	
		
			
				|  |  | +            <!--<el-button type="text" icon="Edit" />-->
 | 
	
		
			
				|  |  | +            <el-button type="text" icon="Edit"  @click="editRowEvent(row)"></el-button>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |          <template #number_edit="{ row }">
 |