|
|
@@ -139,6 +139,9 @@
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
|
>重置</el-button
|
|
|
>
|
|
|
+ <el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd"
|
|
|
+ >临时登记</el-button
|
|
|
+ >
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
@@ -335,6 +338,7 @@
|
|
|
<!-- 详情 -->
|
|
|
<dialog-detail ref="detaildialog"></dialog-detail>
|
|
|
<dialog-scan-record ref="scanrecorddialog"></dialog-scan-record>
|
|
|
+ <dialog-temporary-task ref="dialogtemporarytask" @success="getList"></dialog-temporary-task>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -350,7 +354,7 @@ import { getLabel } from "@/views/commonOption.js";
|
|
|
import OrgTreeSelect from "@/components/orgTreeSelect";
|
|
|
import { checkPermi } from "@/utils/permission.js";
|
|
|
import dayjs from "dayjs";
|
|
|
-
|
|
|
+import DialogTemporaryTask from "@/views/safetycheck/taskManager/components/dialog.temporarytask.vue"
|
|
|
export default {
|
|
|
name: "checkTaskList",
|
|
|
dicts: ["resumption_plan_cycle", "resumption_status", "safety_check_status"],
|
|
|
@@ -360,6 +364,7 @@ export default {
|
|
|
DataRangePicker,
|
|
|
OrgTreeSelect,
|
|
|
OrgTree,
|
|
|
+ DialogTemporaryTask
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -497,6 +502,9 @@ export default {
|
|
|
this.resetForm("queryParams");
|
|
|
this.getList();
|
|
|
},
|
|
|
+ handleAdd(){
|
|
|
+this.$refs["dialogtemporarytask"].show();
|
|
|
+ },
|
|
|
async getList() {
|
|
|
console.log(this.queryParams, "this.queryParams");
|
|
|
this.loading = true;
|