|
@ -67,8 +67,8 @@ |
|
|
@searchTableSuccessDetail="searchTableSuccessDetail" |
|
|
@searchTableSuccessDetail="searchTableSuccessDetail" |
|
|
:key="count" |
|
|
:key="count" |
|
|
/> |
|
|
/> |
|
|
<Report ref="reportRef"></Report> |
|
|
<Report ref="reportRef" @close="handleClose"></Report> |
|
|
<Finish ref="reportFinishRef"></Finish> |
|
|
<Finish ref="reportFinishRef" @close="handleClose"></Finish> |
|
|
<!-- 导入 --> |
|
|
<!-- 导入 --> |
|
|
<ImportForm ref="importFormRef" url="/mes/work-scheduling/import" :importTemplateData="importTemplateData" @success="importSuccess" /> |
|
|
<ImportForm ref="importFormRef" url="/mes/work-scheduling/import" :importTemplateData="importTemplateData" @success="importSuccess" /> |
|
|
</template> |
|
|
</template> |
|
@ -169,7 +169,7 @@ const buttonBaseClick = (val, item) => { |
|
|
// FINISHED("9", "已完成"); |
|
|
// FINISHED("9", "已完成"); |
|
|
// 列表-操作按钮 |
|
|
// 列表-操作按钮 |
|
|
const butttondata=(row) =>{ return [ |
|
|
const butttondata=(row) =>{ return [ |
|
|
defaultButtons.mainListEditBtn({label:"调序",hasPermi:'mes:workScheduling:update'}), // 编辑 |
|
|
defaultButtons.mainListEditBtn({label:"调序",hide: isShowMainButton(row,['-1','0','3']),hasPermi:'mes:workScheduling:update'}), // 编辑 |
|
|
//defaultButtons.mainListDeleteBtn({hasPermi:'mes:workScheduling:delete'}), // 删除 |
|
|
//defaultButtons.mainListDeleteBtn({hasPermi:'mes:workScheduling:delete'}), // 删除 |
|
|
defaultButtons.mainListHandleBtn({label:"终止",name:'terminate',hide: isShowMainButton(row,['-1','0']),hasPermi:'mes:workScheduling:update'}), // |
|
|
defaultButtons.mainListHandleBtn({label:"终止",name:'terminate',hide: isShowMainButton(row,['-1','0']),hasPermi:'mes:workScheduling:update'}), // |
|
|
defaultButtons.mainListHandleBtn({label:"暂停",name:'pause',hide: isShowMainButton(row,['1']),hasPermi:'mes:workScheduling:update'}), |
|
|
defaultButtons.mainListHandleBtn({label:"暂停",name:'pause',hide: isShowMainButton(row,['1']),hasPermi:'mes:workScheduling:update'}), |
|
@ -292,7 +292,9 @@ const importTemplateData = reactive({ |
|
|
const importSuccess = () => { |
|
|
const importSuccess = () => { |
|
|
getList() |
|
|
getList() |
|
|
} |
|
|
} |
|
|
|
|
|
const handleClose=()=>{ |
|
|
|
|
|
getList() |
|
|
|
|
|
} |
|
|
// 筛选提交 |
|
|
// 筛选提交 |
|
|
const searchFormClick = (searchData) => { |
|
|
const searchFormClick = (searchData) => { |
|
|
tableObject.params = { |
|
|
tableObject.params = { |
|
|