{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\meta\\IdentityManager.vue?vue&type=template&id=733b1a5c&scoped=true&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\meta\\IdentityManager.vue","mtime":1675071993022},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["\n<div class=\"fullheight\">\n  <ht-table\n    ref=\"identityTable\"\n    @load=\"loadData\"\n    :data=\"data\"\n    :pageResult=\"pageResult\"\n    :selection=\"true\"\n    quick-search-props=\"name,alias\"\n    :show-export=\"false\"\n    :defaultSorter=\"[{property: 'CREATE_TIME_', direction: 'DESC'}]\"\n    @row-click=\"rowClick\"\n  >\n    <template v-slot:toolbar>    \n        <el-button icon=\"el-icon-plus\" @click=\"handleCommand({command: 'add'})\" type='primary'>添加</el-button>\n        <ht-delete-button :url=\"identityDeleteUrl\" :htTable=\"$refs.identityTable\" style=\"margin:0;\">删除</ht-delete-button>\n        <el-button icon=\"el-icon-back\" @click=\"handleCommand({command: 'import'})\" type=\"priamry\" plain>导入</el-button>\n        <el-button icon=\"el-icon-right\" @click=\"handleCommand({command: 'export'})\" type='primary' plain>导出</el-button>\n    </template>\n    <template>\n      <ht-table-column type=\"index\" width=\"50\" align=\"center\" label=\"序号\" />\n      <ht-table-column prop=\"name\" label=\"名称\" width=\"300\" :sortable=\"true\" :show-overflow-tooltip=\"true\">\n        <template v-slot=\"{row}\">\n          <el-link @click=\"handleCommand({row: row, command: 'edit'})\" type=\"primary\">{{ row.name }}</el-link>\n        </template>\n      </ht-table-column>\n      <ht-table-column prop=\"alias\" label=\"别名\" :sortable=\"true\" />\n      <ht-table-column\n        prop=\"genType\"\n        label=\"生成类型\"\n        :filters=\"[{text: '递增', value: 0}, {text: '每天生成', value: 1}, {text: '每月生成', value: 2}, {text: '每年生成', value: 3}]\"\n      >\n        <template v-slot=\"{row}\">\n          <el-tag type=\"success\" v-if=\"row.genType === 0\">递增</el-tag>\n          <el-tag type=\"primary\" v-if=\"row.genType === 1\">每天生成</el-tag>\n          <el-tag type=\"warning\" v-if=\"row.genType === 2\">每月生成</el-tag>\n          <el-tag type=\"danger\" v-if=\"row.genType === 3\">每年生成</el-tag>\n        </template>\n      </ht-table-column>\n      <ht-table-column prop=\"regulation\" label=\"规则\" sortable />\n      <ht-table-column prop=\"noLength\" label=\"长度\" sortable />\n      <!-- <ht-table-column width=\"150\" label=\"操作\">\n            <template v-slot=\"{row}\">\n              <el-button size=\"mini\" class=\"el-icon-edit\"  @click=\"handleCommand({row:row,command:'edit'})\">编辑</el-button>\n              <el-dropdown\n                size=\"mini\"\n                split-button\n                @command=\"handleCommand\"\n                @click=\"handleCommand({row:row,command:'edit'})\"\n              >\n                <span>\n                  <i class=\"el-icon-edit\"></i>编辑\n                </span>\n                <el-dropdown-menu slot=\"dropdown\">\n                  <el-dropdown-item icon=\"el-icon-menu\" :command=\"{row:row,command:'get'}\">查看</el-dropdown-item>\n                </el-dropdown-menu>\n              </el-dropdown>\n            </template>\n      </ht-table-column>-->\n    </template>\n  </ht-table>\n\n  <el-dialog width=\"50%\" :title=\"identiyTitle\" :visible=\"dialogVisible\" :before-close=\"handleClose\" :close-on-click-modal=\"false\" top=\"6vh\">\n    <el-form :disabled=\"identityDisabled\" v-model=\"identity\" data-vv-scope=\"editIdentityForm\">\n      <ht-form-item label=\"流水号名称\" prop=\"name\" label-width=\"120px\" class=\"identity-input-width\">\n        <ht-input\n          v-model=\"identity.name\"\n          autocomplete=\"off\"\n          :validate=\"{required: true}\"\n          placeholder=\"请输入名称\"\n          :maxlength=\"50\"\n          :showWordLimit=\"true\"\n        ></ht-input>\n      </ht-form-item>\n      <ht-form-item label=\"流水号别名\" prop=\"alias\" label-width=\"120px\" class=\"identity-input-width\">\n        <ht-input\n          v-model=\"identity.alias\"\n          v-pinyin=\"identity.name\"\n          autocomplete=\"off\"\n          :validate=\"{\n            required: true,\n            regex: {exp: '^[a-zA-Z][a-zA-Z0-9_]*$', message: '只能输入字母、数字、下划线，且以字母开头'}\n          }\"\n          placeholder=\"请输入别名\"\n          :disabled=\"identity.id ? true : false\"\n          :maxlength=\"20\"\n          :showWordLimit=\"true\"\n        ></ht-input>\n      </ht-form-item>\n      <ht-form-item label=\"流水号规则\" label-width=\"120px\" class=\"identity-item-bottom identity-input-width\">\n        <ht-input\n          width=\"100%\"\n          v-model=\"identity.regulation\"\n          :validate=\"{required: true}\"\n          placeholder=\"请输入流水号规则\"\n          :maxlength=\"100\"\n          :showWordLimit=\"true\"\n        />\n      </ht-form-item>\n      <ht-form-item label label-width=\"120px\" class=\"identity-item-bottom\">\n        <ul>\n          <li>{yyyy}{MM}{dd}{NO}</li>\n          <li>{yyyy}:表示年份</li>\n          <li>\n            {MM} :表示月份，如果月份小于10，则加零补齐，如1月份表示为01。\n          </li>\n          <li>{mm} :表示月份，月份不补齐，如1月份表示为1。</li>\n          <li>{DD} :表示日，如果小于10号，则加零补齐，如1号表示为01。</li>\n          <li>{dd} :表示日，日期不补齐，如1号表示为1。</li>\n          <li>{NO} :表示流水号，前面补零。</li>\n          <li>{no} :表示流水号，后面补零。</li>\n          <li>\n            {xx.xxx} :表示表单中的字符，xx为业务对象别名，xxx为字段名称。例如：{student.name}\n          </li>\n        </ul>\n      </ht-form-item>\n      <ht-form-item label=\"生成类型\" label-width=\"120px\" class=\"identity-item-bottom identity-input-width\">\n        <ht-radio :validate=\"{required: true}\" v-model=\"identity.genType\" :options=\"genTypes\" />\n      </ht-form-item>\n      <ht-form-item label label-width=\"120px\" class=\"identity-item-bottom\">\n        <ul>\n          <li>1.每天生成。每天从初始值开始计数。</li>\n          <li>2.递增，流水号一直增加。</li>\n        </ul>\n      </ht-form-item>\n      <ht-form-item label=\"流水号长度\" label-width=\"120px\" class=\"identity-item-bottom identity-input-width\">\n        <ht-input :validate=\"'required: true|regex:^[0-9]*$,只能输入数字'\" v-model=\"identity.noLength\" placeholder=\"请输入流水号长度\" :maxlength=\"9\"/>\n      </ht-form-item>\n      <ht-form-item label label-width=\"120px\" class=\"identity-item-bottom\">\n        <ul>\n          <li>\n            这个长度表示当前流水号的长度数，只包括流水号部分{NO},如果长度为5，当前流水号为5，则在流水号前补4个0，表示为00005。\n          </li>\n          <li>\n            {no}如果长度为5，当前流水号为501，则在流水号后面补5个0，表示为50100000。\n          </li>\n        </ul>\n      </ht-form-item>\n      <ht-form-item label=\"初始值\" label-width=\"120px\" class=\"identity-item-bottom identity-input-width\">\n        <ht-input :validate=\"'required: true|regex:^[0-9]*$,只能输入数字'\" v-model=\"identity.initValue\" placeholder=\"请输入初始值\" />\n      </ht-form-item>\n      <ht-form-item label label-width=\"120px\" class=\"identity-item-bottom\">\n        <ul>\n          <li>\n            这个初始值表示流水号部分{NO}的初始值。如 2015102700001,初始值为1，则流水号部分的初始值为00001\n          </li>\n        </ul>\n      </ht-form-item>\n      <ht-form-item label=\"步长\" label-width=\"120px\" class=\"identity-item-bottom identity-input-width\">\n        <ht-input :validate=\"'required: true|regex:^[0-9]*$,只能输入数字'\" v-model=\"identity.step\" placeholder=\"请输入步长\"  :maxlength=\"4\"/>\n      </ht-form-item>\n      <ht-form-item label label-width=\"120px\" class=\"identity-item-bottom\">\n        <ul>\n          <li>\n            流水号每次递加的数字，默认步长为1。比如步长为2，则每次获取流水号则在原来的基础上加2。\n          </li>\n        </ul>\n      </ht-form-item>\n    </el-form>\n    <div slot=\"footer\" class=\"dialog-footer\">\n      <ht-submit-button\n        v-show=\"!identityDisabled\"\n        :url=\"saveIdentityUrl()\"\n        :model=\"identity\"\n        :is-submit=\"isSubmit\"\n        :request-method=\"requestMethod\"\n        scope-name=\"editIdentityForm\"\n        @before-save-data=\"beforeSaveData\"\n        @after-save-data=\"afterSaveData\"\n        >{{ $t('eip.common.save') }}</ht-submit-button\n      >\n      <el-button @click=\"dialogCancle('dialogVisible')\">{{ $t('eip.common.cancel') }}</el-button>\n    </div>\n  </el-dialog>\n  <!-- 加载数据 用作编辑流水号和查看流水号-->\n  <ht-load-data :url=\"loadDataUrl\" context=\"portal\" @after-load-data=\"afterLoadData\"></ht-load-data>\n  <el-dialog title=\"上传文件\" :visible=\"uploadDialogVisible\" :before-close=\"beforeClose\" name=\"uploadDialog\" top=\"30vh\" width=\"40%\" custom-class=\"upload-dialog\">\n    <el-upload :action=\"uploadUrl\" :http-request=\"handleImport\"\n      accept=\".zip\" :file-list=\"fileList\" :limit=\"1\" :auto-upload=\"false\" ref=\"elUpload\" class=\"upload-dialog__content\">\n      <el-button size=\"small\" icon=\"el-icon-upload\">点击上传</el-button>\n      <div slot=\"tip\" class=\"el-upload__tip\">只能上传zip文件</div>\n    </el-upload>\n    <span slot=\"footer\" class=\"dialog-footer\">\n      <el-button type=\"primary\" @click=\"uploadSubmit\" >上传</el-button>\n      <el-button type=\"default\" @click=\"beforeClose\">取消</el-button>\n    </span>\n  </el-dialog>\n</div>\n",null]}