Advertisement
Aleksandr37rus

Untitled

Jul 14th, 2022
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. Vue.component('EditingRegistry', {
  3.     data: () => {
  4.         const date = new Date();
  5.         const month = date.getMonth();
  6.         const year = date.getFullYear();
  7.         return ({
  8.             date,
  9.             dates: [
  10.                 new Date(year, month, 3),
  11.                 new Date(year, month, 15),
  12.                 new Date(year, month, 25),
  13.             ],
  14.             range: {
  15.                 start: new Date(year, month, 6),
  16.                 end: new Date(year, month, 23),
  17.             },
  18.         access: false,
  19.         plots: [],
  20.         inspections: [],
  21.         plot: [],
  22.         inspection: [],
  23.         canal: [],
  24.         selectedCanal: null,
  25.         typeTax: [],
  26.         subsidiary_filial: null,
  27.         checkType: [],
  28.         typename: null,
  29.         reqType: [],
  30.         numberReq: '',
  31.         workers: [],
  32.         KPP: null,
  33.         INN: null,
  34.         idKPP: null,
  35.         idINN: null,
  36.         content: null,
  37.         start1: false,
  38.         start2: false,
  39.         start3: false,
  40.         start4: false,
  41.         start5: false,
  42.         execution_date: null,
  43.         extension_date: null,
  44.         req_date: null,
  45.         idTicketP: null,
  46.         idTicketF: null,
  47.         nameExecutor: null,
  48.         reqStatus: [],
  49.         reqStatusNum: null,
  50.         subsidiaries: [],
  51.         subsidiary: [],
  52.         subsidiary2: [],
  53.         subFiliall: null,
  54.  
  55.         selectedSubsidiarys: null,
  56.         softwares: [],
  57.         sets: [],
  58.         comment: null,
  59.         periodVer: null,
  60.         selectedSoftware: null,
  61.         roles: [],
  62.         selectedRole: '',
  63.         dialog: false,
  64.         groupWorkers: [],
  65.         groupWorker: null,
  66.         names: [],
  67.         emails: [],
  68.         email: [],
  69.         selectedSubsidiary2: null,
  70.         selectedSoftware2: null,
  71.         selectedRole2: '',
  72.         sets2: [],
  73.         softwares2: [],
  74.         roles2: [],
  75.         dialog2: false,
  76.         dialog4: false,
  77.         dialog5: false,
  78.  
  79.         //Update Registry
  80.         name_subsidiary: null,
  81.         reqNumber: null,
  82.         idStart_model1: null,
  83.         idStart_model2: null,
  84.         idStart_model3: null,
  85.         idStart_model4: null,
  86.         idStart_model5: null,
  87.         idPlot: [],
  88.         tax: [],
  89.         check_type: [],
  90.         check_period: null,
  91.         req_type: [],
  92.         responsible: [],
  93.         executor: [],
  94.         idContent: null,
  95.         performerStatus: null,
  96.         idResponseStatus: null,
  97.         responseStatus: null,
  98.         idNameCount: null,
  99.         nameCount: null,
  100.         idTicketP: null,
  101.         ticketP: null,
  102.         idTicketF: null,
  103.         ticketF: null,
  104.         idCanal: [],
  105.         idComment: null,
  106.         newCommentCP: '',
  107.         snackText: "",
  108.         snackText2: "",
  109.         snackColor: "",
  110.         snackType: "",
  111.         alertSnack: false,
  112.         worker: false,
  113.         saveDateRegistry: "",
  114.         statuses: "",
  115.         numberINN: 0,
  116.         numberKPP: 0,
  117.     }),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement