|
|
@ -26,11 +26,6 @@
|
|
|
|
<input name="instCd" type="hidden" />
|
|
|
|
<input name="instCd" type="hidden" />
|
|
|
|
<input name="instNm" type="text" class="form-control" readonly />
|
|
|
|
<input name="instNm" type="text" class="form-control" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
<input name="instZipCode" type="text" class="form-control w-px-80" hidden />
|
|
|
|
|
|
|
|
<input name="instAddress" type="text" class="form-control w-px-300" hidden />
|
|
|
|
|
|
|
|
<input name="instDetailAddress" type="text" class="form-control w-px-300" hidden />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-4 d-flex align-items-center">
|
|
|
|
<div class="col-md-4 d-flex align-items-center">
|
|
|
|
<label class="w-px-140 col-form-label text-sm-end pe-2">
|
|
|
|
<label class="w-px-140 col-form-label text-sm-end pe-2">
|
|
|
|
직인
|
|
|
|
직인
|
|
|
@ -263,7 +258,7 @@ $(document).ready(function(){
|
|
|
|
$P.getSggInfo = async function(){
|
|
|
|
$P.getSggInfo = async function(){
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
ajax.get({
|
|
|
|
ajax.get({
|
|
|
|
url: wctx.url("user/ogdp/getSggStngInfo.do"),
|
|
|
|
url: wctx.url("/ogdp/getSggStngInfo.do"),
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
sggCd : $P.curSggCd
|
|
|
|
sggCd : $P.curSggCd
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -275,10 +270,6 @@ $(document).ready(function(){
|
|
|
|
$("#mainForm--${pageName}").find("[name='instCd']").val($P.sggInfo.INST_CD);
|
|
|
|
$("#mainForm--${pageName}").find("[name='instCd']").val($P.sggInfo.INST_CD);
|
|
|
|
$("#mainForm--${pageName}").find("[name='instNm']").val($P.sggInfo.INST_NM);
|
|
|
|
$("#mainForm--${pageName}").find("[name='instNm']").val($P.sggInfo.INST_NM);
|
|
|
|
|
|
|
|
|
|
|
|
$("#mainForm--${pageName}").find("[name='instZipCode']").val($P.sggInfo.INST_ZIP);
|
|
|
|
|
|
|
|
$("#mainForm--${pageName}").find("[name='instAddress']").val($P.sggInfo.INST_ADDR);
|
|
|
|
|
|
|
|
$("#mainForm--${pageName}").find("[name='instDetailAddress']").val($P.sggInfo.INST_DADDR);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#offcsImage--${pageName}")
|
|
|
|
$("#offcsImage--${pageName}")
|
|
|
|
.attr("data-orgn-name", $P.sggInfo.OFFCS_FILE_NM)
|
|
|
|
.attr("data-orgn-name", $P.sggInfo.OFFCS_FILE_NM)
|
|
|
|
.attr("data-orgn-path", $P.sggInfo.OFFCS_FILE_PATH);
|
|
|
|
.attr("data-orgn-path", $P.sggInfo.OFFCS_FILE_PATH);
|
|
|
@ -309,7 +300,7 @@ $(document).ready(function(){
|
|
|
|
$P.getSggTaskInfo = async function(){
|
|
|
|
$P.getSggTaskInfo = async function(){
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
ajax.get({
|
|
|
|
ajax.get({
|
|
|
|
url: wctx.url("user/ogdp/getTasks.do"),
|
|
|
|
url: wctx.url("/ogdp/getTasks.do"),
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
useYn : "Y",
|
|
|
|
useYn : "Y",
|
|
|
|
sggCd : $P.curSggCd
|
|
|
|
sggCd : $P.curSggCd
|
|
|
@ -381,7 +372,7 @@ $(document).ready(function(){
|
|
|
|
$P.getVltnInfo = async function(){
|
|
|
|
$P.getVltnInfo = async function(){
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
ajax.get({
|
|
|
|
ajax.get({
|
|
|
|
url: wctx.url("user/ogdp/getVltns.do"),
|
|
|
|
url: wctx.url("/ogdp/getVltns.do"),
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
useYN : "Y",
|
|
|
|
useYN : "Y",
|
|
|
|
sggCd : $P.curSggCd
|
|
|
|
sggCd : $P.curSggCd
|
|
|
@ -421,7 +412,7 @@ $(document).ready(function(){
|
|
|
|
var formData = new FormData($("#mainForm--${pageName}")[0]);
|
|
|
|
var formData = new FormData($("#mainForm--${pageName}")[0]);
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
ajax.post({
|
|
|
|
url: wctx.url("user/ogdp/updateSggStng.do"),
|
|
|
|
url: wctx.url("/ogdp/updateSggStng.do"),
|
|
|
|
data: formData,
|
|
|
|
data: formData,
|
|
|
|
contentType : false, processData : false,
|
|
|
|
contentType : false, processData : false,
|
|
|
|
success: (resp) => {
|
|
|
|
success: (resp) => {
|
|
|
@ -478,7 +469,7 @@ $(document).ready(function(){
|
|
|
|
$("#selectTaskModal").modal("hide");
|
|
|
|
$("#selectTaskModal").modal("hide");
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
ajax.post({
|
|
|
|
url: wctx.url("user/ogdp/createTaskStng.do"),
|
|
|
|
url: wctx.url("/ogdp/createTaskStng.do"),
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
sggCd : $("#mainForm--${pageName}").find("[name='sggID']").val(),
|
|
|
|
sggCd : $("#mainForm--${pageName}").find("[name='sggID']").val(),
|
|
|
|
taskSeCd : taskSeCd
|
|
|
|
taskSeCd : taskSeCd
|
|
|
@ -515,7 +506,7 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
ajax.post({
|
|
|
|
url: wctx.url("user/ogdp/updateTaskStng.do"),
|
|
|
|
url: wctx.url("/ogdp/updateTaskStng.do"),
|
|
|
|
data: formData,
|
|
|
|
data: formData,
|
|
|
|
contentType : false, processData : false,
|
|
|
|
contentType : false, processData : false,
|
|
|
|
success: (resp) => {
|
|
|
|
success: (resp) => {
|
|
|
|